Page 1 of 1

Require mail Alert into rich format

Posted: Tue May 19, 2015 8:03 am
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

Re: Require mail Alert into rich format

Posted: Tue May 19, 2015 9:21 am
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.

Re: Require mail Alert into rich format

Posted: Tue May 19, 2015 9:24 am
by jdalrymple
You might find some of the contributions on the Exchange to be to your liking.

Re: Require mail Alert into rich format

Posted: Thu May 21, 2015 12:05 pm
by amprantino
Check here: http://nagios.fm4dd.com/plugins/ --> Notification Add-On
These scripts are really amazing

Re: Require mail Alert into rich format

Posted: Thu May 21, 2015 4:14 pm
by jdalrymple
khushalpar - did you find what you need? If so we'll lock this topic.