Adding a new service to the monitoring system
Adding a new service to the monitoring system To add a new host, create its configuration file. Configure it monitoring servers For this create file /usr/local/nagios/etc/servers cnmcyber.cfg and write to it:
In addition, you need to describe which services should be monitored on the server. The description of which services are monitored on servers is located in the file: /usr/local/nagios/etc/servers cnmcyber.cfg
After these changes, give the Nagios service a command to reread the configuration:
- service nagios3 reload
Now, after updating the Nagios Web page, we will see information about our server, which we just added to the monitoring system.