NSClient++ & Passive Host Checks


Hello there

I installed the NSClient program on my windows machine, and changed it’s configuration so it sent passive service checks to my server. The checks work and my server shows them on the web interface.

However, I haven’t been able to make passive host checks work.

I have a line in the NSClient++ configuration file ( host_check=check_ok), wich I believe has something to do with the problem.

On Ubuntu, where Nagios is installed, I receive the following log:

Apr 15 10:52:01 ubuntu nsca[8337]: HOST CHECK -> Host Name: 'winblows', Return Code: '3', Output: 'Command was not found: check_ok'

Thanks for any help you can provide. Let me know if you need more info.