check_nagios command on remote host

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
vhoover
Posts: 123
Joined: Mon Sep 09, 2013 12:17 pm

check_nagios command on remote host

Post by vhoover »

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?
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: check_nagios command on remote host

Post by tmcdonald »

check_nagios only works on the localhost. You will need to implement passive or remote checks via NRPE.
Former Nagios employee
vhoover
Posts: 123
Joined: Mon Sep 09, 2013 12:17 pm

Re: check_nagios command on remote host

Post by vhoover »

That is what I figured, I just wanted to make sure.
Locked