Ola Filipe,
vc criou, ou verificou, um ""define commnad" para o check_udp?
Ex:
define command{
command_name check_udp
command_line $USER1$/check_udp -H $HOSTADDRESS$ -p $ARG1$
}
A utilizacao do check_udp no "services.cfg" depende do que vc colocou no
"command_line" do check_udp. No caso do exemplo acima a linha do
"check_commnad" no services.cfg ficaria assim:
Ex:
check_command check_udp!porta
Se quiser colocar 'sting' tambem, coloque ao final da linha do "command_line"
<-s $ARG2$> e ao final da linha do "check_command" <!"string">.
Espero ter ajudado!
Íkami
----- Mensagem original ----
De: flipe augusto <[EMAIL PROTECTED]>
Para: Unofficial Brazilian (Portuguese) Nagios Users List
<[email protected]>
Enviadas: Quinta-feira, 1 de Novembro de 2007 12:29:58
Assunto: Re: [Nagios-users-br] With UDP checks, a send/expect string must be
specified.
tentei fazer isso, de várias formas, mas ele não aceita
check_udp!porta!"string"
check_udp!porta!string
check_udp!porta!-s "string"
check_udp!porta -s "string"
check_udp!porta string
check_udp!porta "string"
esses são alguns exemplos, mas nenhuma passa.
valeu.
Em 01/11/07, Vinícius de Figueiredo <[EMAIL PROTECTED]> escreveu:
>
> Não tenho acesso ao Nagios aqui mas creio que o check_udp só
precise
> do endereço da porta e uma string pra nomear ela.
>
> check_udp --help
>
> Acho que você vai conseguir resolver a dúvida.
>
> On 10/31/07, flipe augusto <[EMAIL PROTECTED]> wrote:
> > como faço para usar o check_udp corretamente, passei várias
configs
> > diferentes e nenhuma passa
> > ele fica enviando essa mensagem.
> >
> > With UDP checks, a send/expect string must be specified.
> >
> > já tentei usar as opções de várias formas mas não vai.
> >
> > valeu.
> >
> > --
> > ++||==||==||==||==||==||==||==||++
> > http://flipe.multiply.com
> > http://www.myspace.com/flipeicl
> > http://flipe.palcomp3.com.br
> > http://www.bandasdegaragem.com.br/flipe
> >
http://www.estudiolivre.org/tiki-index.php?page=Eletronico+neural&bl
> > http://fiberonline.uol.com.br/flipe
> >
>
-------------------------------------------------------------------------
> > This SF.net email is sponsored by: Splunk Inc.
> > Still grepping through log files to find problems? Stop.
> > Now Search log events and configuration files using AJAX and a
browser.
> > Download your FREE copy of Splunk now >> http://get.splunk.com/
> > --
> > [email protected] mailing list
> > https://lists.sourceforge.net/lists/listinfo/nagios-users-br
> > Wiki: http://nagios-br.sf.net/wiki
> >
>
>
> --
> Vinícius.
> personal site - http://vinicius.oitobits.net
> gaming blog - http://www.oitobits.net
>
>
-------------------------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems? Stop.
> Now Search log events and configuration files using AJAX and a
browser.
> Download your FREE copy of Splunk now >> http://get.splunk.com/
> --
> [email protected] mailing list
> https://lists.sourceforge.net/lists/listinfo/nagios-users-br
> Wiki: http://nagios-br.sf.net/wiki
>
--
++||==||==||==||==||==||==||==||++
http://flipe.multiply.com
http://www.myspace.com/flipeicl
http://flipe.palcomp3.com.br
http://www.bandasdegaragem.com.br/flipe
http://www.estudiolivre.org/tiki-index.php?page=Eletronico+neural&bl
http://fiberonline.uol.com.br/flipe
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
--
[email protected] mailing list
https://lists.sourceforge.net/lists/listinfo/nagios-users-br
Wiki: http://nagios-br.sf.net/wiki
Abra sua conta no Yahoo! Mail, o único sem limite de espaço para
armazenamento!
http://br.mail.yahoo.com/
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
--
[email protected] mailing list
https://lists.sourceforge.net/lists/listinfo/nagios-users-br
Wiki: http://nagios-br.sf.net/wiki