Question: How do I reduce the size of the alerts that nagios sends?

Frederik Vanhee frederik.vanhee at perso.be
Thu Aug 4 08:16:09 CEST 2005


Dan Knoblauch wrote:

>Hello all. I use my cellular phone to receive alerts from my nagios host. The problem is that the cell phone has a limited amount of buffer space for received messages so whenever I get a page from nagios it gets split into 2 or more messages. Is it possible to reduce the content of the message to read something like:
>
>Subject: Problem
>Host: mx.mydomain.com
>IP: 111.111.111.111
>Service: SMTP
>
>Thanks in advance. 
>Dan.
>
>
>-------------------------------------------------------
>SF.Net email is Sponsored by the Better Software Conference & EXPO
>September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
>Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
>Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
>_______________________________________________
>Nagios-users mailing list
>Nagios-users at lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/nagios-users
>::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
>::: Messages without supporting info will risk being sent to /dev/null
>
>  
>
Of course you can do this. Change you notification command in your 
config file !
If you're using the predefined 'notify-by-pager' or whatever, remove all 
the text you don't want to be sent to your cell-phone.


Frederik


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list