Home > Centreon, HowTo, Linux, plugins > Nagios Notify html Script

Nagios Notify html Script

September 29th, 2016 Leave a comment Go to comments

The default notification script for nagios is very simple, why not get more information on the email. Like: hostgroup, how long has the problem happened, link to the possible documentation. And format it in a nice html table.

To work, create two new commands at:

The host notifiy command must have this definition:

The service notifiy command must have this definition:

The code for Host:

The code for Service:

The one thing I still could not do was to link it to a Acknowledge Page, unfortunally with centreon there is no such page as there is with nagios.

  1. No comments yet.
  1. No trackbacks yet.