Server port must be an integer
Posted: Fri Dec 20, 2013 5:35 am
Hello, I'm having a bit of trouble connecting to nsclient++.
I'm using the NagiosXI VM appliance / 2.6.32-358.2.1.el6.i686
Things are pretty much working except for check_nt and check_nrpe which is frustrating as I can't see what is wrong.
I have the agent installed on a number of windows servers.
Nagios reports that the hosts are down but really it is the check_nt that is not working.
From the xi web interface >configure > hosts > test check command
If i run this command manually in a shell it works
So the $USER7$ variable seems to be not working. I foolishly through that I could edit commands.cfg to just replace the variable with the port number, needless to say this did not work and I have reverted back to the original commands.cfg file.
I may have missed a setting somwhere in the web interface asking for the port number?
I'm using the NagiosXI VM appliance / 2.6.32-358.2.1.el6.i686
Things are pretty much working except for check_nt and check_nrpe which is frustrating as I can't see what is wrong.
I have the agent installed on a number of windows servers.
Nagios reports that the hosts are down but really it is the check_nt that is not working.
From the xi web interface >configure > hosts > test check command
Code: Select all
COMMAND: /usr/local/nagios/libexec/check_nt -H 10.99.40.3 -p $USER7$ -s $USER8$ -v
OUTPUT: Server port must be an integerCode: Select all
root@localhost libexec# ./check_nt -H 10.99.40.3 -p 12489 -v CLIENTVERSION
NSClient++ 0,4,1,90 2013-02-04I may have missed a setting somwhere in the web interface asking for the port number?
