Unknown command(s) from Nagios XI web
Posted: Tue Jun 09, 2020 3:51 am
Hi all,
I am a bit desperate here and I need help with one check command on Nagios XI. I will try my best to explain what is it that I can't get working.
I have a Nagios XI which monitors Windows servers with NSClient++ installed. I have a working service on one server that I would like to use on some other servers. It is a command defined in nsclient.ini that uses a powershell script.
When adding a new command to another server exactly as defined on first server on which that command works OK and copying the script I get some odd behaviour that I can't solve.
Command works OK from nagiosxi CLI, it returns expected results to command line, tried to run the check as root and as nagios user.
Command works OK from nagiosxi web ui from core config manager from defined service where there is a Run command button to check the service against a host you wish.
Command DOES NOT WORK OK from nagiosxi web ui after the service is created and configuration is applied. Service status is in UNKNOWN state with the output Unknown command(s): check_command_name
I am using check_nrpe from nagios server and NSClient++ on Windows server. Could someone point me in the right direction where to look, and how to troubleshoot this and make this to work. Thans in advance.
I am a bit desperate here and I need help with one check command on Nagios XI. I will try my best to explain what is it that I can't get working.
I have a Nagios XI which monitors Windows servers with NSClient++ installed. I have a working service on one server that I would like to use on some other servers. It is a command defined in nsclient.ini that uses a powershell script.
When adding a new command to another server exactly as defined on first server on which that command works OK and copying the script I get some odd behaviour that I can't solve.
Command works OK from nagiosxi CLI, it returns expected results to command line, tried to run the check as root and as nagios user.
Command works OK from nagiosxi web ui from core config manager from defined service where there is a Run command button to check the service against a host you wish.
Command DOES NOT WORK OK from nagiosxi web ui after the service is created and configuration is applied. Service status is in UNKNOWN state with the output Unknown command(s): check_command_name
I am using check_nrpe from nagios server and NSClient++ on Windows server. Could someone point me in the right direction where to look, and how to troubleshoot this and make this to work. Thans in advance.