Re: Notificação via Jabber

Israel Junior <[email protected]>
Newsgroups gmane.network.nagios.user.brazil
Message-ID <[email protected]>
2009/6/29 Luiz Gustavo <[email protected]>:
> Estou utilizando o Nagios vers. 2.6 e preciso utilizar o serviço de mensagem Jabber como uma das formas de alerta.

Utilize o script Python em anexo com o comando a seguir:

echo "$NOTIFICATIONTYPE$ $HOSTNAME$ $SERVICEDESC$ $SERVICESTATE$
$SERVICEOUTPUT$ $LONGDATETIME$" |
/opt/nagios-custom/notify_by_jabber.py $CONTACTPAGER$

Em outras palavras: echo mensagem | /opt/notify_by_jabber.py jabberid

------------------------------------------------------------------------------

-- 
[email protected] mailing list
https://lists.sourceforge.net/lists/listinfo/nagios-users-br
Wiki: http://nagios-br.sf.net/wiki
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.