This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
storage:brocade_monitoring [2022/02/03 09:58] manu |
storage:brocade_monitoring [2025/04/24 17:05] (current) manu |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== Brocade monitoring ====== | ====== Brocade monitoring ====== | ||
+ | |||
+ | ===== SAN switch health ===== | ||
+ | |||
+ | <cli prompt='>'> | ||
+ | switch:admin> mapsdb --show | ||
+ | |||
+ | 1 Dashboard Information: | ||
+ | ======================= | ||
+ | |||
+ | DB start time: Mon Sep 23 16:54:43 2024 | ||
+ | Active policy: dflt_aggressive_policy | ||
+ | Configured Notifications: RASLOG,SW_CRITICAL,SW_MARGINAL,SFP_MARGINAL,FPIN,HA_RECOVER | ||
+ | Fenced Ports : None | ||
+ | Decommissioned Ports : None | ||
+ | Fenced circuits : N/A | ||
+ | Quarantined Ports : None | ||
+ | Top Zoned PIDs <pid(it-flows)>: | ||
+ | |||
+ | 2 Switch Health Report: | ||
+ | ======================= | ||
+ | |||
+ | Current Switch Policy Status: HEALTHY | ||
+ | |||
+ | |||
+ | 3.1 Summary Report: | ||
+ | =================== | ||
+ | |||
+ | Category |Today |Last 7 days | | ||
+ | -------------------------------------------------------------------------------- | ||
+ | Port Health |No Errors |No Errors | | ||
+ | Fru Health |In operating range |In operating range | | ||
+ | Security Violations |No Errors |No Errors | | ||
+ | Fabric State Changes |No Errors |No Errors | | ||
+ | Switch Resource |Out of operating range |In operating range | | ||
+ | Fabric Performance Impact|In operating range |In operating range | | ||
+ | IO Health |In operating range |In operating range | | ||
+ | IO Latency |In operating range |In operating range | | ||
+ | |||
+ | |||
+ | 3.2 Rules Affecting Health: | ||
+ | =========================== | ||
+ | |||
+ | Category(Violation Count)|RepeatCount|Rule Name |Execution Time |Object |Triggered Value(Units)| | ||
+ | ----------------------------------------------------------------------------------------------------------- | ||
+ | Switch Resource(1) |1 |defALL_TSTEMP_ |09/23/24 16:57:00|Temperature|OUT_OF_RANGE | | | OUT_OF_RANGE| | Sensor 2| | ||
+ | </cli> | ||
+ | |||
+ | ===== Nagios plugins ===== | ||
+ | |||
+ | RestAPI tools \\ | ||
+ | https://github.com/jconsoli | ||
+ | |||
+ | https://github.com/ovido/nagios-plugins/blob/master/check_snmp_brocade | ||
+ | |||
+ | https://github.com/mguyard/nagios-plugins/blob/master/Network/Switch%20Brocade/check_brocade_fcswitch_isl.pl | ||
+ | |||
+ | https://github.com/mguyard/nagios-plugins/blob/master/Network/Switch%20Brocade/check_brocade_fcswitch_fc.pl | ||
+ | |||
+ | https://github.com/mguyard/nagios-plugins/blob/master/Network/Switch%20Brocade/check_brocade_fcswitch.pl | ||
+ | |||
+ | https://github.com/ovido/nagios-plugins/blob/master/check_snmp_brocade | ||
+ | |||
+ | ===== Scripts ===== | ||
<cli prompt='#'> | <cli prompt='#'> | ||
Line 35: | Line 98: | ||
</cli> | </cli> | ||
+ | <cli prompt='#'> | ||
+ | [root@nagios01 storage]# cat brocade_hosts.cfg | ||
+ | define host{ | ||
+ | use linux-server,host-pnp ; Inherit default values from the generic-host template | ||
+ | host_name SAN01 | ||
+ | hostgroups brocade-fc | ||
+ | address 10.0.0.120 | ||
+ | } | ||
+ | </cli> |