Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
define host {
use linux-server
host_name ubuntu_host
alias Ubuntu Host
address 192.168.1.10
register 1
}
/usr/local/nagios/etc/objects/newhost.cfg
# Define a host for the local machine
define host{
use linux-server
host_name google.com
alias google.com
address http://www.google.com
}
# Define a service to "ping" the local machine
define service{
use generic-service
host_name google.com
service_description PING
check_command check_ping!100.0,20%!500.0,60%
}
From the output of the find command, it does look like there are 2 copies of Nagios is installed on your server.
You could be editing the files for one install but the other install is running the other config files and the changes are not there.
The nagios binary looks to be installed in these locations.