Difference between revisions of "Adding a new service to the monitoring system"
Line 1: | Line 1: | ||
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 | To add a new host, create its configuration file. Configure it monitoring servers | ||
− | For this create file | + | For this create file /usr/local/nagios/etc/servers cnmcyber.cfg and write to it: |
− | /usr/local/nagios/etc/servers cnmcyber.cfg and write to it: | + | </br> |
+ | [[File:cnmcyber.png]] | ||
In addition, you need to describe which services should be monitored on the server. | 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: | The description of which services are monitored on servers is located in the file: | ||
/usr/local/nagios/etc/servers cnmcyber.cfg | /usr/local/nagios/etc/servers cnmcyber.cfg | ||
+ | </br> | ||
+ | [[File:ssl.png]] | ||
+ | </br> | ||
+ | </br> | ||
+ | [[File:uchebka.png]] | ||
+ | </br> | ||
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: |
Latest revision as of 17:29, 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.