Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
Directory
kantlivelong
bykantlivelong, December 7, 2011
Would it be hard to add read queue warn/crit thresholds?
We are using a 3Com Switch 5500-EI 52-Port (Software Version 3Com OS V3.03.01s56e) and with check_3com_health.pl we get the following error when checking different switches in our XRN. We have 4 units (1, 2, 5, 6)
[root@NAGIOS libexec]# ./check_3com_health.pl -H 10.11.1.10 -u 2
Use of uninitialized value in hash element at ./check_3com_health.pl line 333.
Argument "" isn't numeric in multiplication (*) at ./check_3com_health.pl line 453.
Use of uninitialized value in sprintf at ./check_3com_health.pl line 467.
Argument "" isn't numeric in multiplication (*) at ./check_3com_health.pl line 453.
Use of uninitialized value in sprintf at ./check_3com_health.pl line 467.
Argument "" isn't numeric in multiplication (*) at ./check_3com_health.pl line 369.
Use of uninitialized value in subtraction (-) at ./check_3com_health.pl line 371.
Use of uninitialized value in subtraction (-) at ./check_3com_health.pl line 371.
Use of uninitialized value in numeric gt (>) at ./check_3com_health.pl line 372.
Use of uninitialized value in sprintf at ./check_3com_health.pl line 375.
Argument "" isn't numeric in multiplication (*) at ./check_3com_health.pl line 407.
Use of uninitialized value in numeric gt (>) at ./check_3com_health.pl line 409.
Use of uninitialized value in addition (+) at ./check_3com_health.pl line 415.
3COM_HEALTH CRITICAL - FAN: U0=0% PWR: U0=0% MEM: U0=100% CPU:OK | fan=0%;100;76;0;100 pwr=0%;100;76;0;100 mem=100%;85;90;0;100 cpu=0%;85;90;0;100
Checking unit 1 works.
[root@NAGIOS libexec]# ./check_3com_health.pl -H 10.11.1.10 -u 1
3COM_HEALTH OK - FAN:OK PWR:OK MEM:OK CPU:OK | fan=100%;100;76;0;100 pwr=100%;100;76;0;100 mem=66%;85;90;0;100 cpu=24%;85;90;0;100
Checking all works(apparently).
[root@NAGIOS libexec]# ./check_3com_health.pl -H 10.11.1.10
3COM_HEALTH OK - FAN:OK PWR:OK MEM:OK CPU:OK | fan=100%;100;76;0;100 pwr=100%;100;76;0;100 mem=66%;85;90;0;100 cpu=21%;85;90;0;100
Any thoughts?
[root@NAGIOS libexec]# ./check_3com_health.pl -H 10.11.1.10 -u 2
Use of uninitialized value in hash element at ./check_3com_health.pl line 333.
Argument "" isn't numeric in multiplication (*) at ./check_3com_health.pl line 453.
Use of uninitialized value in sprintf at ./check_3com_health.pl line 467.
Argument "" isn't numeric in multiplication (*) at ./check_3com_health.pl line 453.
Use of uninitialized value in sprintf at ./check_3com_health.pl line 467.
Argument "" isn't numeric in multiplication (*) at ./check_3com_health.pl line 369.
Use of uninitialized value in subtraction (-) at ./check_3com_health.pl line 371.
Use of uninitialized value in subtraction (-) at ./check_3com_health.pl line 371.
Use of uninitialized value in numeric gt (>) at ./check_3com_health.pl line 372.
Use of uninitialized value in sprintf at ./check_3com_health.pl line 375.
Argument "" isn't numeric in multiplication (*) at ./check_3com_health.pl line 407.
Use of uninitialized value in numeric gt (>) at ./check_3com_health.pl line 409.
Use of uninitialized value in addition (+) at ./check_3com_health.pl line 415.
3COM_HEALTH CRITICAL - FAN: U0=0% PWR: U0=0% MEM: U0=100% CPU:OK | fan=0%;100;76;0;100 pwr=0%;100;76;0;100 mem=100%;85;90;0;100 cpu=0%;85;90;0;100
Checking unit 1 works.
[root@NAGIOS libexec]# ./check_3com_health.pl -H 10.11.1.10 -u 1
3COM_HEALTH OK - FAN:OK PWR:OK MEM:OK CPU:OK | fan=100%;100;76;0;100 pwr=100%;100;76;0;100 mem=66%;85;90;0;100 cpu=24%;85;90;0;100
Checking all works(apparently).
[root@NAGIOS libexec]# ./check_3com_health.pl -H 10.11.1.10
3COM_HEALTH OK - FAN:OK PWR:OK MEM:OK CPU:OK | fan=100%;100;76;0;100 pwr=100%;100;76;0;100 mem=66%;85;90;0;100 cpu=21%;85;90;0;100
Any thoughts?