Page 1 of 1

howto get Nagios Core checks in Check Command drop-down

Posted: Tue Apr 22, 2014 9:01 pm
by soniah
Linux Distribution and version? CentOS release 6.5 (Final)
32 or 64bit? 64
VMware Image or Manual Install of XI? manual, via fullinstall script
Are there specials configurations on your system, ie; is Gnome installed? Are you using a proxy? Are you using SSL? No.


Under Nagios CCM -> Services -> Modify Action -> Check Command.

How do get the Nagios Core checks listed in the Check Command drop-down box? For example check_xi_by_ssh is listed, but check_by_ssh isn't listed. Or is there another way of using the Nagios Core checks through this interface?

Re: howto get Nagios Core checks in Check Command drop-down

Posted: Wed Apr 23, 2014 9:08 am
by tmcdonald
check_xi_by_ssh is defined as follows:

Code: Select all

define command {
       command_name                     check_xi_by_ssh
       command_line                     $USER1$/check_by_ssh -H $HOSTADDRESS$ $ARG1$ $ARG2$
}
Remember that you are looking at a command, not a plugin. That said, check_xi_by_ssh the command will work just fine.