nsclient error"UNKNOWN: No handler for that command"
Posted: Wed Jul 18, 2018 5:45 am
Hi Team,
We are trying to execute a batch script in Windows machine from Nagios to get the results from the script executed.
We are getting UNKNOWN: No handler for that command error form Nagios. Port 5666 is enabled between two machines
/check_nrpe -H 10.10.98.24 -t 120 -p 5666 -c check_mon
UNKNOWN: No handler for that command
Attached nsc.ini file for your reference.
Nsclient log error:
2018-07-18 14:21:00: debug:CACHENSClient++.cpp:557: Attempting to start NSCLient++ - 0.3.9.328 2011-08-16
2018-07-18 14:21:00: message:CACHEmodules\FileLogger\FileLogger.cpp:87: Log path is: C:\Program Files\NSClient++\\nsclient.log
2018-07-18 14:21:00: error:include\Socket.h:691: bind failed: 10048: Only one usage of each socket address (protocol/network address/port) is normally permitted.
2018-07-18 14:21:00: error:include\Socket.h:691: bind failed: 10048: Only one usage of each socket address (protocol/network address/port) is normally permitted.
2018-07-18 14:21:00: error:include\Socket.h:722: Socket did not start properly, we will now do nothing...
2018-07-18 14:21:00: error:include\Socket.h:722: Socket did not start properly, we will now do nothing...
We are trying to execute a batch script in Windows machine from Nagios to get the results from the script executed.
We are getting UNKNOWN: No handler for that command error form Nagios. Port 5666 is enabled between two machines
/check_nrpe -H 10.10.98.24 -t 120 -p 5666 -c check_mon
UNKNOWN: No handler for that command
Attached nsc.ini file for your reference.
Nsclient log error:
2018-07-18 14:21:00: debug:CACHENSClient++.cpp:557: Attempting to start NSCLient++ - 0.3.9.328 2011-08-16
2018-07-18 14:21:00: message:CACHEmodules\FileLogger\FileLogger.cpp:87: Log path is: C:\Program Files\NSClient++\\nsclient.log
2018-07-18 14:21:00: error:include\Socket.h:691: bind failed: 10048: Only one usage of each socket address (protocol/network address/port) is normally permitted.
2018-07-18 14:21:00: error:include\Socket.h:691: bind failed: 10048: Only one usage of each socket address (protocol/network address/port) is normally permitted.
2018-07-18 14:21:00: error:include\Socket.h:722: Socket did not start properly, we will now do nothing...
2018-07-18 14:21:00: error:include\Socket.h:722: Socket did not start properly, we will now do nothing...