Custom template monitoring
Posted: Tue Aug 27, 2019 5:23 am
Hello,
Im new to monitoring with nagios , so far i was able to install and monitor the host of the nagios , another server and a windows server with nrpe.
Problem is , the method i know is to create a custom cfg for each server , is it possible to have 1 cfg file to custom monitor all the servers?
I do not mean host group or service group , i what i mean is for example - servers.cfg
which will contain
define host{
host_name test-server
alias test-server
display_name test-server
address 10.0.0.1
check_commands check_ping,check_mem,check_load,check_ssh,check_disk,check_http
contacts [email protected]
contact_groups [email protected]
notification_interval 4
}
is this configuration possible? could you provide me with a method on how to make monitoring with nagios easier?
Thanks
Im new to monitoring with nagios , so far i was able to install and monitor the host of the nagios , another server and a windows server with nrpe.
Problem is , the method i know is to create a custom cfg for each server , is it possible to have 1 cfg file to custom monitor all the servers?
I do not mean host group or service group , i what i mean is for example - servers.cfg
which will contain
define host{
host_name test-server
alias test-server
display_name test-server
address 10.0.0.1
check_commands check_ping,check_mem,check_load,check_ssh,check_disk,check_http
contacts [email protected]
contact_groups [email protected]
notification_interval 4
}
is this configuration possible? could you provide me with a method on how to make monitoring with nagios easier?
Thanks