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.
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Windows monitoring nagios check_nt problem

Post by rkennedy »

What version of NSClient++ are you running? It could be related to a SSL key, but I would think that the error would be different. As we did not write NSClient++, it's hard to say. Also, what version of Windows are you running?

From a powershell window on the Windows machine, can you run get-process | findstr 'nscp' and post the result for us to look at? Also, from an elevated command prompt please run netstat -anb and post the full output as well.
Former Nagios Employee
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 »

Box293 wrote:Is there an NSC.ini file as well?
donKanon wrote:I attach it again. can you check it
I want to go back to this. You uploaded an nsclient.ini file however my questions is to check if there is a NSC.ini file in the same directory? It's very important that you look for this specific file.
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 »

Box293 wrote:
Box293 wrote:Is there an NSC.ini file as well?
donKanon wrote:I attach it again. can you check it
I want to go back to this. You uploaded an nsclient.ini file however my questions is to check if there is a NSC.ini file in the same directory? It's very important that you look for this specific file.
yes is in the same directory.
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 »

If NSC.ini also exists, then it sounds like the new version is still referencing the old file.

I would:

Uninstall any versions of NSClient++ through Add/Remove Programs
Delete these directories if they exist:
"C:\Program Files\NSClient++"
"C:\Program Files (x86)\NSClient++"
Then install NSClient++ from scratch.
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 »

Box293 wrote:If NSC.ini also exists, then it sounds like the new version is still referencing the old file.

I would:

Uninstall any versions of NSClient++ through Add/Remove Programs
Delete these directories if they exist:
"C:\Program Files\NSClient++"
"C:\Program Files (x86)\NSClient++"
Then install NSClient++ from scratch.
I did and the same, invalid password when I tests it on my nagios server.
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Windows monitoring nagios check_nt problem

Post by rkennedy »

Please completely uninstall NSClient++, and then attempt to communicate with the system using check_nt or check_nrpe. Does it still say invalid password? There may be a ghost process hiding somewhere, or an installation in a different directory.
Former Nagios Employee
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:I did and the same, invalid password when I tests it on my nagios server.
Can you post the exact command you are using to perform this test.
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 »

this is... and any other command that I tried to use is the same... INVALID PASSWORD.
Attachments
error1.PNG
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Windows monitoring nagios check_nt problem

Post by rkennedy »

rkennedy wrote:Please completely uninstall NSClient++, and then attempt to communicate with the system using check_nt or check_nrpe. Does it still say invalid password? There may be a ghost process hiding somewhere, or an installation in a different directory.
Was this after doing what I mentioned above? There is nothing that explains what's going on, which is why we need to have you completely uninstall, and then try.
Former Nagios Employee
donKanon
Posts: 18
Joined: Wed Jun 08, 2016 4:38 pm

Re: Windows monitoring nagios check_nt problem

Post by donKanon »

rkenndy I did! I really did! and nothing happends what about install all over again? bith maybe the last version of nagios? actually I have the nagios3 if I don't get wrong.
Locked