nagios -d /etc/nagios/nagios.cfg
./check_udp -H 10.0.0.7 -p 138 -s BTW -e BTW
CRITICAL - Socket timeout after 10 seconds
valeu!
Em 01/11/07, Jose Oliveira <[EMAIL PROTECTED]> escreveu:
>
> Oi
>
> Voltando então ao erro inicial, onde voce copiou e colou:
>
> With UDP checks, a send/expect string must be specified.
>
> Posso imaginar que a versão de plugins que voce tem, obriga a passar duas
> strings: a inicial , a ser enviada ao server e a de resposta do mesmo.
>
> Não lembro quais eram as opções mas acho que eram -s e -d ...
>
> Tenta com as duas strings... BTW, na linha de comando funciona ?
>
>
> Em 01/11/07, flipe augusto <[EMAIL PROTECTED]> escreveu:
> >
> > já o fiz, mas não funciona assim também.
> >
> > # 'check_udp' command definition
> > define command{
> > command_name check_udp
> > command_line $USER1$/check_udp -H $HOSTADDRESS$ -p $ARG1$
> > }
> >
> >
> > define service{
> > use nagiosTemplate
> > name checkUDP_VELOX
> > host_name velox
> > service_description UDP
> > check_command check_udp!4245
> > }
> >
> >
> > define service{
> > use nagiosTemplate
> > name CheckUDP_DOISICL
> > host_name doisicl
> > service_description UDP
> > check_command check_udp!4243!-d 5
> > }
> >
> >
> >
> > Em 01/11/07, Jose Oliveira <[EMAIL PROTECTED]> escreveu:
> > >
> > > Olá
> > >
> > > Voce deve fazer algo assim
> > >
> > > check_udp -p PORTA -H HOST
> > >
> > > Exemplo: check_udp -p 1999 -H 192.168.1.100
> > >
> > >
> > > Para voce passar os parametros usando ! é necessário configurar no
> > > checkcommand.cfg o comando de execução do plugin.
> > >
> > >
> > >
> > > Em 01/11/07, flipe augusto <[EMAIL PROTECTED]> escreveu:
> > > >
> > > > 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ços
> > > JGeraldo
> > >
> >
> -------------------------------------------------------------------------
> > > 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ços
> JGeraldo
> -------------------------------------------------------------------------
> 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