Skip to content

OK status on failure getting HA mode #20

@hakong

Description

@hakong

The check times out and then exits with OK and status 0.

[root@hlv]~# time ./check-paloalto-A500.pl -H 123.123.123.123 -C communitystring -t ha -w asd -c asd
OK: High Availablity Mode: , Local: , Peer: 


real    0m30.086s
user    0m0.047s
sys 0m0.007s
[root@hlv]~# echo $?
0
[root@hlv]~# 

Should probably exit with UNKNOWN or CRITICAL.

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