check_nt bug?


Hi there

nagios version 3.0.3
OS = mandriva 2009


SERVICE NOTIFICATION: nagiosadmin;;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 -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 ?




Have you reloaded Nagios after changes in .cfg files?
Be sure you don’t have any duplicate definitions for check_nt command and that you’re using the right check_command in the service definition (which you could also post here) with proper arguments.

And just to inform you that I have learned Nagios all through it’s documentation which is very well written and more detailed then most of the software documentation. If your specific error doesn’t appear on dox pages that doesn’t mean it is bad. It probably points to some misconfiguration. If dox guys would write documentation on every possible mistake in configuration it would be endless documentation. Don’t you agree?