Notifications @ Cingular...
Lori Adams
ladams at cloudmark.com
Mon Jun 20 20:10:27 CEST 2005
yes, in the misccommands.cfg file.
### what do the alerts to phones look like ###
# 'notify-by-epager' command definition
define command{
command_name notify-by-epager
command_line /usr/bin/printf "From:
<nagios at yourserver>\nSubject:$SERVICESTATE$:$HOSTALIAS$/$SERVICEDESC$\n\
nInfo:$OUTPUT$\nDate:$DATETIME$" | /usr/sbin/sendmail $CONTACTPAGER$
}
do make sure that the $OUTPUT$ is short though. Most of my alerts will
fit in one SMS page, but an occasional one slips by in 2 parts.
Folks that I work with that can, have had lots of success with SNMP.
-----Original Message-----
From: nagios-users-admin at lists.sourceforge.net
[mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Jonathan
Nichols
Sent: Sunday, June 19, 2005 11:18 AM
To: nagios-users at lists.sourceforge.net
Subject: [Nagios-users] Notifications @ Cingular...
Having recently switched service to Cingular, I'm now getting bitten by
the "Uh oh, Nagios notifications come in 2 parts" issue.
Has anyone successfully pared down the messages to fit into 1 SMS
message? If so, how'd you do it? I saw some talk about this before on
the list but didn't recall seeing a resolution.
-Jonathan
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
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
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click
_______________________________________________
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