I have installed nagios and check_oracle
and can sucessfully run the following two commands I want to use from the command line.
What directory and file do i need to add them to have have nagios run them for me.
'check_ping' command definition
command_line /usr/local/nagios/libexec/check_ping -H 10.186.155.9 -w 750.0,80% -c 1500.0,90%
'check_oracle' command definition
command_line /usr/local/nagios/libexec/check_oracle --login TRWE
I did make a hosts.cfg file and added the following and restarted nagios but I do not see it when i show my hosts in nagios.
'iputmyhostnamehere' host definition
alias my name i made here