Oi André,

Um participante da lista em inglês me sugeriu usar o comando wget:

Ainda não testei, pensei que o wget fosse só para pegar dados de uma página 
e não para colocar.

" Hi Thales

In other words you like to send notifications to a website and use this
for your helpdesk.
This is easy done if you use linux wget  command instead of mail


define command{
        command_name    service-notify
        command_line    /bin/wget 
http://www.yourdomein.com/yourpage.php?hostadres=$Hostaddress&hoststatus=$Hoststatus&servicestatus=$SERVICESTATE
        }


Good luck


Sjaak



Thales Azevedo wrote:

> Hi everybody,
>
> I am lookink for a plugin (or notification command ) that permit
> send variables ( $Hostaddress, $Hoststatus,  $SERVICESTATE and etc )
> to a homepage ( ASP application ). The objective is to open a ticket
> to helpdesk application automatically.
>
> It is possible use the check_http plugin ?
>
> Thanks in Advance,
>
> Thales Azevedo
> Rio de Janeiro - Brazil
>
>------------------------------------------------------------------------


----- Original Message ----- 
From: "André Luiz" <[EMAIL PROTECTED]>
To: "nagios-users-br" <[EMAIL PROTECTED]>
Sent: Monday, April 02, 2007 3:22 AM
Subject: Re: [Nagios-users-br]Envio de info para uma página Web


Em Qua, 2007-03-21 às 23:07 -0300, Thales Azevedo escreveu:

> Pessoal,
>
> Preciso fazer um script para , como comando de notoficação , enviar 
> algumas variáveis para uma home page onde roda um programa ASP. Ou seja 
> com os parâmetros de notificação ( $HOSTNAME, $HOSTSTAUS e etc...) 
> preencher um tipo de forma em uma url. O comando contrário do wget é o 
> wput , mas ele funciona para servidores FTP. Alguém conhece alguma solução 
> ? Um script perl, um programa em C ou qualquer coisa semelhante. Com isso 
> pretendo abrir um ticket automático na nossa ferramenta de help-desk.
>
> Obrigado,
>
> Thales Azevedo,
> Rio de Janeiro - Brasil
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share 
> your
> opinions on IT & business topics through brief surveys-and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV


Explendido!... estou a procura da mesma solução!... utilizo Request
Tracker (RT) para abertura de Tikets. Tenho algumas idéias aqui mas não
sei se funcionam ex: da um insert no banco com as infomações dos
alertas
do Nagios a partir de um E-mail local /var/spool/mail.

Que ideia  louca essa minha!... deve dar problemas no Banco depois!...
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
-- 
[EMAIL PROTECTED] mailing list
https://lists.sourceforge.net/lists/listinfo/nagios-users-br
Wiki: http://nagios-br.sf.net/wiki


-- 
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.446 / Virus Database: 268.18.26/746 - Release Date: 4/4/2007 
13:09



-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
-- 
[EMAIL PROTECTED] mailing list
https://lists.sourceforge.net/lists/listinfo/nagios-users-br
Wiki: http://nagios-br.sf.net/wiki

Responder a