check_nagios command on remote host
Posted: Fri Oct 25, 2013 4:21 pm
I am trying to setup a check in NagiosXI using the following command:
./check_nagios -e 5 -F /usr/local/nagios/var/nagios.log -C /usr/local/nagios/bin/nagios
I can get it to run locally with no issue, but if I apply it to a remote host and stop the nagios service on that host the command still pulls information from the local host. I am setting this up as a verification for a failover implementation of NagiosXI. Is there a way to apply this to a remote host, or is there an equivalent?
./check_nagios -e 5 -F /usr/local/nagios/var/nagios.log -C /usr/local/nagios/bin/nagios
I can get it to run locally with no issue, but if I apply it to a remote host and stop the nagios service on that host the command still pulls information from the local host. I am setting this up as a verification for a failover implementation of NagiosXI. Is there a way to apply this to a remote host, or is there an equivalent?