popup

Toto Capuccino shoktai at gmail.com
Wed Feb 1 20:24:04 CET 2006


i wanted to avoid the winpopup too, not very user-friendly. Is Jabber
solution easy to implement ?

2006/2/1, Frederik Vanhee <frederik.vanhee at perso.be>:
>
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20060201/cc71af5e/attachment.html>


More information about the Users mailing list