first use

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
medamine20
Posts: 2
Joined: Sun Jul 04, 2021 4:53 am

first use

Post by medamine20 »

hello
after installing nagios , nsclient on windows machine, i don't see the in nagios web interface , just the localhost is showon and its is always down with this information status " return code of 127 is out of bounds plugin may be missing"
User avatar
mcapra
Posts: 3739
Joined: Thu May 05, 2016 3:54 pm

Re: first use

Post by mcapra »

Did you create a set of host and service definitions for this Windows host that has NSClient++ installed?

You might consider using NCPA instead; There is official documentation for monitoring windows machines using NCPA, including the creation of various Nagios object definitions:
https://assets.nagios.com/downloads/nag ... ndows.html
Former Nagios employee
https://www.mcapra.com/
medamine20
Posts: 2
Joined: Sun Jul 04, 2021 4:53 am

Re: first use

Post by medamine20 »

Yes i have installed nsclient++
But i have the problem after i update the nagios.cfg file
When i try to restart nagios i got this message
Job for nagios.service failed. See 'systemctl status nagios.service' and 'journalctl -n' for details.

And nothing in the web interface
gormank
Posts: 1114
Joined: Tue Dec 02, 2014 12:00 pm

Re: first use

Post by gormank »

You might have a typo in nagios.cfg. Try running the following and check the output.

systemctl status nagios.service -l
journalctl -n
Locked