I am running version 4.0.4 of Nagios core and 0.3.9 of the NSCIient++ on a windows 2012 R2 server. I can issue the following command manually from the nagios server, but the web interface shows the check_nt: Could not parse arguments error.
root@nagioshost:/usr/local/nagios/etc/objects# /usr/local/nagios/libexec/check_nt -H 10.10.20.10 -p 12489 -v MEMUSE
Memory usage: total:4799.59 Mb - used: 1394.62 Mb (29%) - free: 3404.97 Mb (71%) | 'Memory usage'=1394.62Mb;0.00;0.00;0.00;4799.59
here is the check_nt section from command.cfg
Code: Select all
define command{
command_name check_nt
command_line $USER1$/check_nt -H $HOSTADDRESS$ -p 12489 -v $ARG1$ $ARG2$
}
This is actually my second domain controller on a subnet, the first one is identically setup and reports just fine. I have tried 0.4.3 client as well, but the same results. Below is the windows.cfg section for both working and non-working servers:
Code: Select all
define host{
use util-server ; Inherit default values from a template
host_name DFPDC01 ; The name we're giving to this host
alias Deltrol's fluid domain ctrl 01 ; A longer name associated with the host
address 10.10.20.9 ; IP address of the host
}
define host{
use util-server ; Inherit default values from a template
host_name DFPDC02 ; The name we're giving to this host
alias Deltrol's fluid domain ctrl 02 ; A longer name associated with the host
address 10.10.20.10 IP address of the host
}
Thanks,
Mike