Skip to content

return on 2 lines #1

Description

@guigeek208

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 !

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions