Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
Monitor FC Brocade Switch
Reviews (5)
bysam1975, December 15, 2017
I use a brocade with firmware 6.2.2
The script seems to be good but i don't have informations from FAN.
Is it a MIB problem?
Best regards
The script seems to be good but i don't have informations from FAN.
Is it a MIB problem?
Best regards
bynishith, June 3, 2016
Simple Execution of this plugins provides below output:
./check_FCBrocade_hardware.sh -H 10.0.77.4 -c Secret-C0de
HARDWARE OK : SLOT#0TEMP#1=22C, SLOT#0TEMP#2=22C, SLOT#0TEMP#3=24C, FAN#1=5769RPM, FAN#2=5769RPM, FAN#3=5769RPM, PowerSupply#1=1,|22;22;24;5769;5769;5769;1;
Still in process to make it functional properly in nagios config file.
./check_FCBrocade_hardware.sh -H 10.0.77.4 -c Secret-C0de
HARDWARE OK : SLOT#0TEMP#1=22C, SLOT#0TEMP#2=22C, SLOT#0TEMP#3=24C, FAN#1=5769RPM, FAN#2=5769RPM, FAN#3=5769RPM, PowerSupply#1=1,|22;22;24;5769;5769;5769;1;
Still in process to make it functional properly in nagios config file.
bystator, September 4, 2012
It looks like it does not support services ? I can only get info on host.
helpful script. Modified the perfdata lines in the case statement to work with current versions of Nagios like so:
- perfdata=( ${perfdata[@]}${SENSOR_VALUE}";" )
+ perfdata=( ${perfdata[@]}${SENSOR_INFO}"="${SENSOR_VALUE}" " )
Also added sed "s/#//g" on to the end of the SENSOR_INFO variable set just to make things prettier. Thanks for the plugin!
- perfdata=( ${perfdata[@]}${SENSOR_VALUE}";" )
+ perfdata=( ${perfdata[@]}${SENSOR_INFO}"="${SENSOR_VALUE}" " )
Also added sed "s/#//g" on to the end of the SENSOR_INFO variable set just to make things prettier. Thanks for the plugin!
I managed to get this working by changing the TYPE query to:
TYPE=$(snmpwalk -v 1 -c $COMMUNITY $HOSTNAME SNMPv2-SMI::mib-2.1.1 | sed "s/.*STRING:(.*)$/1/")
and also removing the option 6) in the case statement. My system does not have all the blades populated so option 6 (absent) was throwing an error.
It also works with the Brocade switch in a HP C7000 blade chassis.
TYPE=$(snmpwalk -v 1 -c $COMMUNITY $HOSTNAME SNMPv2-SMI::mib-2.1.1 | sed "s/.*STRING:(.*)$/1/")
and also removing the option 6) in the case statement. My system does not have all the blades populated so option 6 (absent) was throwing an error.
It also works with the Brocade switch in a HP C7000 blade chassis.