Hi,
thanks for your script it worked perfecly but the return of command is on 2 lines like following :./check_cisco_ucs -H x.x.x.x. -t class -q storageLocalDisk -a "id pdStatus driveSerialNumber" -e Online -u login -p password
OK - Cisco UCS storageLocalDisk (id,pdStatus,driveSerialNumber)
1,Online,S0MXXXXX
2,Online,S0MYYYYY (2 of 2 ok)
So i can't see the second and third lines on nagios.
Thanks !
Hi,
thanks for your script it worked perfecly but the return of command is on 2 lines like following :./check_cisco_ucs -H x.x.x.x. -t class -q storageLocalDisk -a "id pdStatus driveSerialNumber" -e Online -u login -p password
OK - Cisco UCS storageLocalDisk (id,pdStatus,driveSerialNumber)
1,Online,S0MXXXXX
2,Online,S0MYYYYY (2 of 2 ok)
So i can't see the second and third lines on nagios.
Thanks !