Require mail Alert into rich format

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
khushalpar
Posts: 12
Joined: Tue Apr 29, 2014 1:11 am

Require mail Alert into rich format

Post by khushalpar »

HI Team,

Here i configured the nagios and it`s working fine now i want whatever mail alert i got from nagios core can be look into good and rich format.
please find below are the my sample of my mail alert what i got currently kindly suggest on below.

***** Nagios *****

Notification Type: PROBLEM

Service: DISK
Host: 10.42.0.130
Address: 10.42.0.130
State: CRITICAL

Date/Time: Tue May 19 17:07:38 IST 2015

Additional Info:

99% /outputs 93% /ftparea/ahgb 97% /ftparea/sagb 92% /ftparea/khgb 98% /ftparea/segb 96% /ftparea/tj 93% /ftparea/npgb 96% /ftparea/rsgb 97% /fns/tc 97% /ftparea/kc 96% /ftparea/mpgb 95% /ftparea/sjgb 96% /ftparea/ku 93% /ftparea/rp 96% /ftparea/tr 95% /ftparea/csgb 97% /ftparea/jsgb 97% /ftparea/dagb 94% /EOY2015
Attachments
screen2.JPG
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Require mail Alert into rich format

Post by tmcdonald »

Our notification handler commands can be modified however you like. If you have a format in mind for how you would like it displayed, you can write that (probably in HTML) in a shell script and create a new nagios command for it.

Also, moving this out of Nagios Core Development as it is not related to the development of Nagios Core.
Former Nagios employee
jdalrymple
Skynet Drone
Posts: 2620
Joined: Wed Feb 11, 2015 1:56 pm

Re: Require mail Alert into rich format

Post by jdalrymple »

You might find some of the contributions on the Exchange to be to your liking.
amprantino
Posts: 140
Joined: Thu Apr 18, 2013 8:25 am
Location: libexec

Re: Require mail Alert into rich format

Post by amprantino »

Check here: http://nagios.fm4dd.com/plugins/ --> Notification Add-On
These scripts are really amazing
jdalrymple
Skynet Drone
Posts: 2620
Joined: Wed Feb 11, 2015 1:56 pm

Re: Require mail Alert into rich format

Post by jdalrymple »

khushalpar - did you find what you need? If so we'll lock this topic.
Locked