Hi Team,
We would require a Nagios email notification to be sent in HTML format.
This out put would be a Tabular output from Database table. Also please let us know can we use this for particular plugin without affecting other plugin.
Please suggest whether we can achieve this my modifying the existing or using a new plugin
Thanks,
Email notification in HTML output
-
npolovenko
- Support Tech
- Posts: 3457
- Joined: Mon May 15, 2017 5:00 pm
Re: Email notification in HTML output
Hello, @inas.labib. The notification script works differently from a plugin. A plugin performs some kind of check and returns OK, WARNING or CRITICAL. Depending on what the plugin returns Nagios decides whether to send an email notification. Emai notifications are sent by executing the mailing script. So yes, you could come up with your own emailing script that is going to pull entries from the database and send them in html format. The script will need to be able to accept service state arguments, put them in html format and send via sendmail or SMTP.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.