NSClient++ Help (#1) - NSCLIENT++ syntax problem (#413) - Message List

NSCLIENT++ syntax problem

Hello,

I'm currently stuck and hope someone might provide me with a solution or pointers.. I'm using NSCLIENT++ version 0.3.6 on a windows 2003 server. My Nagios server version 3.0.6 runs on Ubuntu 9.04.

I guess I have a syntax problem, the results of the tests as shown by the web interface :

UNKNOWN

(for 0d 16h 31m 16s)

Status Information: Arguments -l manquants

because the commands line runs just fine

ex : ./check_nt -H 192.168.100.36 -s password -p 12489 -v CPULOAD -l 5,80,90 Charge CPU 0% (5 moyenne minimale) | '5 Charge moyenne minimale'=0%;80;90;0;100

I got a commands.cfg file in my /etc/nagios3/conf.d/ the command is : define command{

command_name check_nt command_line $USER1$/check_nt -H '$HOSTADDRESS$' -p 12489 -s password -v '$ARG1$' -l '$ARG2$'

}

in my namehost.cfg, I have this definition for the service

define service{

use generic-service host_name Hades service_description CPU Load check_command check_nt!CPULOAD!5,80,90

}

I've tried different syntaxes but none worked so far, so if anybody out there can point out my mistakes, thanks in advance. :)

  • Message #1254

    Looks like a Nagios configuration issue to me.

    Michael Medin

Subscriptions