Random Project

Good plugin, sometimes.. :(

Thank you in advance for the plugin,

I have the same problem that I first found using check_eva.py.

I get some good results (With exit code 0 and well formed output) and some bad ones (with little information and exit code of 3)
—————————————–
Command was allways the same:
root@nagios:libexec# ./check_eva_cv.sh -H -E -U “myUser” -P “myPass” -C controllers -S /usr/sbin/sssu
—————————————–
GOOD OUTPUT:
HP Eva: – controllers check.
Failed to get host name
Failed to get host name

Controller 2 – Model: HSV300 – SN: P5512G39SWD06I
P5512G39SWD06I – FW: CR2306lep-11300000
OK: Controller 2 Operational state: good
OK: Cache State: good
Mirror Path 1 NOT Found
Mirror Path 2 NOT Found
Mirror Port 1 NOT Found
Mirror Port 2 NOT Found
OK: 2 of 2 Host Ports are in good status
OK: 2 of 2 Device Ports are in good status
Controller Fans NOT Found
Controller Power System NOT Found
Failed to get host name

Controller 1 – Model: HSV300 – SN: P5512G39SWC02Z
P5512G39SWC02Z – FW: CR2306lep-11300000
OK: Controller 1 Operational state: good
OK: Cache State: good
Mirror Path 1 NOT Found
Mirror Path 2 NOT Found
Mirror Port 1 NOT Found
Mirror Port 2 NOT Found
OK: 2 of 2 Host Ports are in good status
OK: 2 of 2 Device Ports are in good status
Controller Fans NOT Found
Controller Power System NOT Found
—————————————–
BAD OUTPUT:
HP Eva: – controllers check.
Failed to get host name
Failed to get host name
ATTENTION: Controller NOT found
—————————————–

Does this ring any bells to you?

I am looking forward to reading from you,
sebastiaopburnay