Sep 13, 2018

How to add Contact to Nagios server

sudo vi /etc/nagios/objects/contacts.cfg

add the following:

define contact{
        contact_name                    nagiosadmin             ; Short name of user
        use                             generic-contact         ; Inherit default values from generic-contact template (defined above)
        alias                           Nagios Admin            ; Full name of user

        email                           [email protected]        ; <<***** CHANGE THIS TO YOUR EMAIL ADDRESS ******
        }