Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.

  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

12. The Nagios Notification System > 12.4 External Notification Programs

12.4 External Notification Programs

Which external programs deliver the messages is defined by the contact definition.

Here there are again two parameters to define the commands to be used, one for services and one for hosts:

define contact{
   ...
   service_notification_commands   notify-by-email,notify-by-sms
   host_notification_commands      host-notify-by-email,host-notify-by-sms
   email                           nagios-admin@localhost
   pager                           +49-1234-56789
address1                root@example.com
    address2                123-456789
   ...
}

Both *_notification_commands allow comma-separated lists, so it is permitted to specify more than one command at the same time. The message is then sent simultaneously to the recipient in all the ways defined. The names of the command objects describe these ways: via e-mail and via SMS.


  

You are currently reading a PREVIEW of this book.

                                                                                                                    

Get instant access to over $1 million worth of books and videos.

  

Start a Free 10-Day Trial


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint