Difference between revisions of "Adding a new service to the monitoring system"
(Created page with "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/serv...") |
|||
Line 9: | Line 9: | ||
After these changes, give the Nagios service a command to reread the configuration: | After these changes, give the Nagios service a command to reread the configuration: | ||
− | + | service nagios reload | |
Now, after updating the Nagios Web page, we will see information about our server, | Now, after updating the Nagios Web page, we will see information about our server, | ||
which we just added to the monitoring system. | which we just added to the monitoring system. |
Revision as of 17:23, 15 January 2023
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 nagios reload Now, after updating the Nagios Web page, we will see information about our server, which we just added to the monitoring system.