Windows monitoring nagios check_nt problem

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.
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: Windows monitoring nagios check_nt problem

Post by tgriep »

Can you post your nsclient.ini file after the reinstall?
Can you try putting a blank password in the ini file and see that works?

Code: Select all

password =
Be sure to check out our Knowledgebase for helpful articles and solutions!
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: Windows monitoring nagios check_nt problem

Post by Box293 »

What happens when you stop the service on the Windows server? Does it still report invalid password?

Do you have a file in the NSClient++ directory called boot or boot.ini ? If yes, what are the contents.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
donKanon
Posts: 18
Joined: Wed Jun 08, 2016 4:38 pm

Re: Windows monitoring nagios check_nt problem

Post by donKanon »

tgriep wrote:Can you post your nsclient.ini file after the reinstall?
Can you try putting a blank password in the ini file and see that works?

Code: Select all

password =
I leave that just like for default

;password=
donKanon
Posts: 18
Joined: Wed Jun 08, 2016 4:38 pm

Re: Windows monitoring nagios check_nt problem

Post by donKanon »

Box293 wrote:What happens when you stop the service on the Windows server? Does it still report invalid password?

Do you have a file in the NSClient++ directory called boot or boot.ini ? If yes, what are the contents.
the report show a grey status.

the NSCLIENT++ have a boot.ini this is:

[settings]
1=ini://${exe-path}/nsclient.ini
[main]
write=ini://${exe-path}/nsclient.ini

that I metioned that we have a older nagios version full operational with the same configuration and all the server are reporting properly.
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: Windows monitoring nagios check_nt problem

Post by Box293 »

donKanon wrote:
tgriep wrote:Can you post your nsclient.ini file after the reinstall?
Can you try putting a blank password in the ini file and see that works?

Code: Select all

password =
I leave that just like for default

;password=
He's asking you to uncomment it (remove the ; at the start) to see if that helps.

Can you post your nsclient.ini file.
donKanon wrote:
Box293 wrote:What happens when you stop the service on the Windows server? Does it still report invalid password?

Do you have a file in the NSClient++ directory called boot or boot.ini ? If yes, what are the contents.
the report show a grey status.
What output / error message is produced ?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
donKanon
Posts: 18
Joined: Wed Jun 08, 2016 4:38 pm

Re: Windows monitoring nagios check_nt problem

Post by donKanon »

the result I show it below and Attach the nsclient.ini with the password =
Attachments
nsclient.ini
(1.04 KiB) Downloaded 248 times
error1.PNG
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: Windows monitoring nagios check_nt problem

Post by Box293 »

I just tried your config file and it works correctly, no password error.

First thing I would do is restart the server that NSClient++ is running on.

Image

Can you double check that 10.30.1.80 is the IP address of the machine that you provided the nsclient.ini file from.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
donKanon
Posts: 18
Joined: Wed Jun 08, 2016 4:38 pm

Re: Windows monitoring nagios check_nt problem

Post by donKanon »

yes it's the IP... and of course I restart de service many times..
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Windows monitoring nagios check_nt problem

Post by rkennedy »

Did you restart the entire machine, or just the service?

If this is working fine on another machine, can you show us the full input / output and check_command definitions it's using?
Box293 wrote:What happens when you stop the service on the Windows server? Does it still report invalid password?

Do you have a file in the NSClient++ directory called boot or boot.ini ? If yes, what are the contents.
the report show a grey status.
Can you show us what you mean by a 'grey' status? What is the error message?
Former Nagios Employee
Locked