Sean,

O plugin deve escrever a saída da execução do comando em STDOUT e em nenhum
outro (STDERR por exemplo).

Se o plugin estiver escrevendo o output em stderr, considere ustilizar 2>&1
para a saída forçadamente ir pra STDOUT.

Att,

On Mon, Nov 9, 2009 at 4:30 PM, Sean <sean.cramm...@gmail.com> wrote:

> Olá Leonardo, ocorre quando o nagios executa o comando, quando eu faço por
> linha de comando funciona, eu uso o nagios 3.0.6
> a sintaxe que eu posso dar  é essa:
>
> define command{
>        command_name    check_...
>        command_line  $USER2$/check_... -H $ARG1$ -n $ARG2$ -c $ARG3$
>        }
>
> e eu chamo ele depois assim:
>
> define service{
>        use                     ...
>        service_description    ...
>        servicegroups          ...
>        host_name               ...
>        contact_groups          ...
>        check_command           check_...!parametro1l!parametro2!parametro3
> }
>
>
>
>
> --
> Sean Stewart Faulstich Crammond
>
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
> trial. Simplify your report design, integration and deployment - and focus
> on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> --
> Nagios-users-br@lists.sourceforge.net mailing list
> https://lists.sourceforge.net/lists/listinfo/nagios-users-br
> Wiki: http://nagios-br.sf.net/wiki
>
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
-- 
Nagios-users-br@lists.sourceforge.net mailing list
https://lists.sourceforge.net/lists/listinfo/nagios-users-br
Wiki: http://nagios-br.sf.net/wiki

Responder a