Limiting notification message size

Morris, Patrick patrick.morris at hp.com
Tue Dec 5 06:12:50 CET 2006


> I'd like to know if it's possible to send out two types of
> notifications: 1) an abbreviated one that will always be 
> under 160 characters, which I would send only to mobile 
> devices, and 2) the standard notifications that I receive now 
> to my regular (non cell phone) e-mail address.  I suppose it 
> may be possible to configure Postfix to truncate messages to 
> certain addresses.  Before I go in that direction I thought 
> I'd run it by some other users to see if Nagios itself has 
> this ability.

See the example configs.  The only significant difference between the
"notify-by-email" commands and the "notify-by-epgaer" ones are the
formatting.  You should be able to either tweak one of those to get
shorter messages, or get an idea how to make your own.

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
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