Notification by Jabber

Matt Cowger mcowger at plu.edu
Wed Dec 17 00:44:06 CET 2003


On that note..has anyone figured out how to do notifications via AIM?

Ben Lisle wrote:
> Problem solved.  User error.  I obviously have to cut down on my crack
> smoking each morning! :)
> 
> On Wed, 2003-12-17 at 08:46, Ben Lisle wrote:
> 
>>Hi,
>>
>>I've gone through the FAQ and I'm using the Perl script for Jabber
>>notifications.  It works wonderfully through the command line, however I
>>think I have my misccommands.cfg a little screwed up as I'm not getting
>>any host/server notifcations sent to my via Jabber.  Can someone have a
>>quick look at the below information and tell me if it's right, or point
>>me in the right direction?
>>
>>Thanks!
>>
>>Ben
>>
>>------
>>
>>
>># misccommands.cfg
>>
>># 'notify-via-jabber' command definition
>>define command{
>>	command_name	notify-via-jabber
>>	command_line	 /usr/bin/printf "%b" "***** Nagios  *****\n\nNotification
>>Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: $HOSTSTATE$\nAddress:
>>$HOSTADDRESS$\nInfo: $OUTPUT$\n\nDate/Time: $DATETIME$\n" |
>>/opt/notify-via-jabber noc at jabber1.flow.com.au "Host $HOSTSTATE$ alert
>>for $HOSTNAME$!" $CONTACTEMAIL$"
>>	}
>>
>># contacts.cfg
>>
>>define contact{
>>	contact_name			noc-engineers
>>	alias				NOC Engineers
>>	service_notification_period	24x7
>>	host_notification_period	24x7
>>	service_notification_options	w,u,c,r
>>	host_notification_options	d,u,r
>>	service_notification_commands	notify-via-jabber
>>	host_notification_commands	notify-via-jabber
>>	email				nocstaff at flowcom.com.au
>>	}
>>
>>
>>
>>-------------------------------------------------------
>>This SF.net email is sponsored by: IBM Linux Tutorials.
>>Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
>>Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
>>Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&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
> 
> 
> 
> 
> -------------------------------------------------------
> This SF.net email is sponsored by: IBM Linux Tutorials.
> Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
> Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
> Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&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

-- 
+----------------------------+-----------------+
|Matt Cowger                 |w:253.535.7262   |
|Systems Administrator       |c:425.923.5885   |
|Pacific Lutheran University |p:253.280.7601   |
+----------------------------+-----------------|
|The Internet treats censorship as a           |
|malfunction and routes around it.             |
|                     —John Perry Barlow       |
+----------------------------------------------+

-------------- next part --------------
A non-text attachment was scrubbed...
Name: cowgermk.vcf
Type: text/x-vcard
Size: 139 bytes
Desc: not available
URL: <https://www.monitoring-lists.org/archive/users/attachments/20031216/3c9f407c/attachment.vcf>


More information about the Users mailing list