Hi there
nagios version 3.0.3
OS = mandriva 2009
Error:
SERVICE NOTIFICATION: nagiosadmin; xxx.xxx.local;Uptime;UNKNOWN;notify-service-by-email;Server port must be an integer
Service port is defined in commands.cfg
define command{
command_name check_nt
command_line $USER1$/check_nt -H $HOSTADDRESS$ -p 12489 -s xxxxxxxxxxxx -v $ARG1$ $ARG2$
}
It’s well known fact that NAGIOS documentation is carp, still I went there and in many different places to look if I can find any hint on what’s going on, but it looks like nobody knows.
check_nt is working when started from command line:
/usr/lib/nagios/plugins/check_nt -H 10.0.0.1 -p 12489 - xxxxxxxxxx -v CPULOAD -l 5,90,95
So whoever wrote this plugin - did much better job then NAGIOS guys.
My conclusion is that one of NAGIOS scripts is grabbing the port number and is trying to pass it to check_nt as a string , or it fails to grab the port number.
The scripts are CGI - just to make it harder.
Does anyone know if they have some place where I can submit the bug ?
Or are they to busy of producing crap product without proper documentation ?
Reagrds
Peter