Page 1 of 1

Windows host add on nagios server

Posted: Mon Apr 16, 2018 2:06 am
by alidar
Hello
I am trying to add windows host on Nagios server.

When I opened localhost/nagios

I can see here Windows host under Hosts option and the status of this server is UP.

But when I click on Services option, there all serviecs status are pending. Status information is `NSclient- Error: Invalid password`

You can see snapshop.

Please tell me how I can put the NSclient password in Nagios server. thanks

Re: Windows host add on nagios server

Posted: Mon Apr 16, 2018 7:32 am
by scottwilkerson
You would edit the check_command line in the service definitions for these services.

Re: Windows host add on nagios server

Posted: Fri Apr 20, 2018 4:33 am
by alidar
Hello,
I could not success. Can you please share with me content of windows.cfg file. Thanks

Re: Windows host add on nagios server

Posted: Fri Apr 20, 2018 9:13 am
by scottwilkerson
It is different for every user, you need to create your own configuration file using the password you are using in NSClient++

If you are new to Nagios, It may be easier to try Nagios XI which has a UI based configuration and an easy configuration wizard for these
https://www.nagios.com/products/nagios-xi/