Add contact to servers

Da Helpedia.

aggiungere nuovo contatti

in /etc/nagios/conf.d/contatti.cfg

define contact{
        contact_name                    castoldi
        alias                           seripec
        host_notifications_enabled      0
        service_notifications_enabled   0
        service_notification_period     24x7
        host_notification_period        24x7
        service_notification_options    w,u,c,r
        host_notification_options       d,u,r
        service_notification_commands   notify-by-email
        host_notification_commands      host-notify-by-email
        email                           pxxxxxxxx
        pager                           +39
        }



# 'noc-seripec' contact group definition
define contactgroup{
        contactgroup_name       noc-seripec
        alias                   seripec team
        members                 castoldi
        }



poin in main.mk

si associa l'host al contact-group

host_contactgroups = [
 ....
  ('noc-seripec',[ '<server.name>' ]),
]
Strumenti personali
Namespace
Varianti
Azioni
Navigazione
Strumenti