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 command on remote host
Re: check_nagios command on remote host
check_nagios only works on the localhost. You will need to implement passive or remote checks via NRPE.
Former Nagios employee
Re: check_nagios command on remote host
That is what I figured, I just wanted to make sure.