Palo Alto 5220 Checks need assistance
Posted: Wed Jan 23, 2019 10:55 am
i am still trying to set up the Palo Alto check. I t has been awhile do to the time it has taken to get the Palos in place. Anyway, i have some of the checks working, but for some reason uptime is not responding properly in the GUI, but it does at the CLI.
this is from the CLI:
[root@nagios libexec]# ./check_paloalto 192.168.98.238 WHRO-RO uptime
0 days, 1 hours, 33 minutes, 42 seconds
You have mail in /var/spool/mail/root
[root@nagios libexec]#
This is from the gui Check: I have the host the same as above
[[email protected] ~]$ /usr/local/nagios/libexec/check_paloalto $hostaddress$ WHRO-RO uptime
0 days, 0 hours, 0 minutes, 0 seconds
Here is the help command from the CLI:
[root@nagios libexec]# ./check_paloalto --help
Warning: Wrong command line arguments.
Usage: ./check_paloalto <hostname> <community> <part> <warning> <critical>
Parts are: load, sessionuse, state, uptime, fan, temp
Example: ./check_paloalto 127.0.0.1 public uptime
Here is what I have set as the command in XI:
$USER1$/check_paloalto $hostaddress$ $ARG1$ $ARG2$ $ARG3$ $ARG4$
this is from the CLI:
[root@nagios libexec]# ./check_paloalto 192.168.98.238 WHRO-RO uptime
0 days, 1 hours, 33 minutes, 42 seconds
You have mail in /var/spool/mail/root
[root@nagios libexec]#
This is from the gui Check: I have the host the same as above
[[email protected] ~]$ /usr/local/nagios/libexec/check_paloalto $hostaddress$ WHRO-RO uptime
0 days, 0 hours, 0 minutes, 0 seconds
Here is the help command from the CLI:
[root@nagios libexec]# ./check_paloalto --help
Warning: Wrong command line arguments.
Usage: ./check_paloalto <hostname> <community> <part> <warning> <critical>
Parts are: load, sessionuse, state, uptime, fan, temp
Example: ./check_paloalto 127.0.0.1 public uptime
Here is what I have set as the command in XI:
$USER1$/check_paloalto $hostaddress$ $ARG1$ $ARG2$ $ARG3$ $ARG4$