Additional information in notifications

Paulo Pinto pspa at gp.novis.pt
Thu Sep 26 13:58:26 CEST 2002


Hmm.. a suggestion:

Create your own 'filtering' script, and use that script as the notify-by-email and host-notify-by-email command.

On that script, check what type of alarm you have:
- If it is a service that you want a ps sent with or
- if is is NOT a service that you want a ps sent with

and proceed accordingly ( i.e., attach or not the ps with the mail) :-)

It is just an idea ...

Hugz,


On Thu, Sep 26, 2002 at 04:29:30PM +0530, Atul Gosain wrote:
> hi
> 
> When the notifications are sent out by Nagios, it sends them by send
> notify-by-email or for host its host-notify-by-email which we set in
> contacts.cfg.
> I want to send ps snapshot in the mail sent out when cpu load increases ie
> on Load check service, but nagios doesn't let me configure different
> notify commands for each service . As a result, ps snapshot will go with
> each mail for service alerts whereas it should go for cpu load checks
> only.
> 
> I have seen in misccommands.cfg that $output$ is used for sending
> additional information.How can we change the $output$ value to suit our
> needs.
> 
> Any Pointers????
> 
> 
> -- 
> Atul Gosain
> Mindsw Software and Services Pvt. Ltd.
> A-50, Sector-39
> Noida(UP).
> ph no: 4500369,4575991
> 
> 
> 
> 
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> 

-- 
Paulo Pinto
Novis GSP

pspa at gp.novis.pt


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf




More information about the Users mailing list