popup
Frederik Vanhee
frederik.vanhee at perso.be
Wed Feb 1 20:19:48 CET 2006
Toto Capuccino wrote:
> Hi all,
>
> Does anybody got popup notifications working ?
Works like a charm ! use this as your notify-command, or tune to your
needs....
However I switched to jabber-notification (instant messaging) because of
the rather 'aggressive' popups.
# 'notify-by-smbclient' command definition
define command{
command_name notify-by-smbclient
command_line /usr/bin/printf "%b" "***** NAGIOS *****
automatically generated POP-UP \n\n Notification Type:
$NOTIFICATIONTYPE$\n\nHost: $HOSTNAME$ ($HOSTALIAS$) \nAddress:
$HOSTADDRESS$\nService: $SERVICEDESC$\nState:
$SERVICESTATE$\n\nDate/Time: $LONGDATETIME$\n\nAdditional
Info:\n\n$SERVICEOUTPUT$" | /usr/bin/smbclient -M $CONTACTADDRESS1$ -I
$CONTACTADDRESS2$
}
where CONTACTADDRESS1 = the pc name
and CONTACTADDRESS2 = the pc's ip-address
Good luck !
Frederik
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
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