server port must be an integer
Re: server port must be an integer
It's worth noting that telnet isn't installed by default usually. You'll have to yum -y install telnet.
Former Nagios Employee.
me.
me.
-
jatinder2jatin
- Posts: 7
- Joined: Tue Feb 23, 2016 5:26 am
Re: server port must be an integer
something has changed and its new now .. it shows critical timeout now... please see attached error.
no firewall ... port allowed also in firewall for TCP and UDP both .. but my bad .. ;(
my check_nt looks like this
check_nt $USER1$/check_nt -H $HOSTADDRESS$ -p 12489 -s password -v $ARG1$ $ARG2$
i have a question ... when i have multiple servers to monitor and all with different IPs and password how the check_nt will work.. how the variable of IP will get filled and where to put the password
no firewall ... port allowed also in firewall for TCP and UDP both .. but my bad .. ;(
my check_nt looks like this
check_nt $USER1$/check_nt -H $HOSTADDRESS$ -p 12489 -s password -v $ARG1$ $ARG2$
i have a question ... when i have multiple servers to monitor and all with different IPs and password how the check_nt will work.. how the variable of IP will get filled and where to put the password
Re: server port must be an integer
Please do the following on the server you want to monitor an post the output:
The $HOSTADDRESS$ is a macro for the ip address of the host you want to monitor.
I'm not sure what password do you mean? Do you have a different NRPE config on each server?
Code: Select all
netstat -anI'm not sure what password do you mean? Do you have a different NRPE config on each server?
Rob Hassing


Re: server port must be an integer
The IP address is taken from the host your service is attached to. That is what the $HOSTADDRESS$ macro does.how the variable of IP will get filled and where to put the password
Check on the remote server and post your nsclient.cfg please - I'm interested in taking a look at it. You can find this on your remote Windows machine at C:\Program Files\NSClient++. It might also be called nsclient.ini