Limiting notification message size

Saletan, Jesse Jesse.Saletan at amd.com
Tue Dec 5 07:10:05 CET 2006


Thanks, I didn't realize it would be that simple.  I created some new notification commands (e.g., notify-by-sms160) that are very bare bones and they're working well.
 
Jesse

________________________________

From: nagios-users-bounces at lists.sourceforge.net on behalf of Morris, Patrick
Sent: Mon 12/4/2006 11:12 PM
To: Saletan, Jesse; nagios-users at lists.sourceforge.net
Subject: Re: [Nagios-users] Limiting notification message size



> 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.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20061205/49b90895/attachment.html>
-------------- next part --------------
-------------------------------------------------------------------------
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
-------------- next part --------------
_______________________________________________
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