I need to modify the settings in my localhost which is my nagios server.
I have the file localhost.cfg in /usr/local/nagios/etc/objects
When I VI that file and restart nagios the changes are not reflected in nagios
Code: Select all
# Define a service to check the number of currently running procs
# on the local machine. Warning if > 250 processes, critical if
# > 400 users.
#define service{
# use local-service ; Name of service template to use
# host_name localhost
# service_description Total Processes
# check_command check_local_procs!500!800!RSZDT
# }
As you can see I commented this out and I still see this check in nagios
I then renamed the file to localhostold.cfg and it was still in nagios.
Where is this info kept in nagios?
Thank you
Tom
DOES any one know where I can find the cfg file for the nagios server it has to be buried somewhere ??????????
Need help please