Page 2 of 4
Re: Windows monitoring nagios check_nt problem
Posted: Fri Jun 10, 2016 12:56 pm
by donKanon
the versión is NSCP-0.4.4.19-x64.
my service still get the error "NSClient - ERROR: Invalid password. " and like I said Again NSCLIENT doesn't have a password
Re: Windows monitoring nagios check_nt problem
Posted: Fri Jun 10, 2016 1:17 pm
by rkennedy
rkennedy wrote:From the command line of your Windows machine, please run this and post the full output -
As there is no reference in your configuration file for a password, it shouldn't be requiring one. Do you know what version of NSClient++ you're running?
Please run this command as I first mentioned.
To add to this, please post the /usr/local/nagios/var/objects.cache file for us to look at as well.
Re: Windows monitoring nagios check_nt problem
Posted: Fri Jun 10, 2016 1:18 pm
by lmiltchev
Run the following commands on the Windows server from the CMD prompt and show the output:
Code: Select all
ipconfig /all
tasklist | find "nscp"
dir "C:\Program Files\NSClient++"
Re: Windows monitoring nagios check_nt problem
Posted: Fri Jun 10, 2016 1:33 pm
by donKanon
Here are the result of the commands I attach it on the this post.
about the cache object I can't find what ask me for.
Re: Windows monitoring nagios check_nt problem
Posted: Fri Jun 10, 2016 1:44 pm
by lmiltchev
On the
Nagios server run:
Code: Select all
grep objects.cache /usr/local/nagios/etc/nagios.cfg
and show the output (change the path to the config file if necessary).
Try to locate the file by running:
or
On the
Windows machine run:
and display the output.
Re: Windows monitoring nagios check_nt problem
Posted: Fri Jun 10, 2016 2:14 pm
by donKanon
I find the file is in this post the two of them that you ask.
thx for the your support

Re: Windows monitoring nagios check_nt problem
Posted: Mon Jun 13, 2016 10:44 am
by rkennedy
Looking at your DC-02 host, what is the output of this command from the CLI on Nagios? /usr/local/nagios/check_nt -H 10.30.1.80 -p 12489 -v USEDDISKSPACE -l c -w 90 -c 80 (might be /usr/lib/nagios/check_nt -H 10.30.1.80 -p 12489 -v USEDDISKSPACE -l c -w 90 -c 80 in your case.)
Re: Windows monitoring nagios check_nt problem
Posted: Mon Jun 13, 2016 11:02 am
by donKanon
the same error that always invalid password but mi NSCLIENT++ configuration DOESN'T have a password

Re: Windows monitoring nagios check_nt problem
Posted: Mon Jun 13, 2016 12:32 pm
by rkennedy
Can you completely uninstall NSClient++, and re-install? At this point, there is nothing that explains what you're seeing, or where the password is saved. From what I can tell, everything is setup correctly except NSClient++ isn't accepting the password. Is there an old process of it running by any chance?
Re: Windows monitoring nagios check_nt problem
Posted: Mon Jun 13, 2016 1:20 pm
by donKanon
I did it and the result is the same still says "invalid password" . I compare the configuration with and old copy of nagios from my backups ( virtual machine ) and works without problem. could be this error about a SSL key or something like that?