Nsclient Error
Contents |
board serves as an open discussion and support collaboration point for Nagios XI. NOTE: Nagios XI customers should use the Customer Support forum to obtain expedited support. Topic locked 6 posts • status information nsclient error invalid password Page 1 of 1 NSClient - ERROR: Invalid password. by sheld0r » Wed Jan
Windows Nsclient - Error Invalid Password
09, 2013 6:48 pm I've got kind of a simple question, so I'm getting an error stating 'NSClient - ERROR: nagios nsclient++ password change Invalid password.' on a few newly added nodes. I know I entered the right password, but how can I go back and edit the password. I don't see an option. I wanted to see check_nt commands if I'm able to go back and edit, whether it be on the client or server node before I uninstall the NSClient++ agent and reinstall it where it will then ask me for the password again.Cheers, sheld0r Posts: 49Joined: Thu Jan 03, 2013 5:39 pm Top Re: NSClient - ERROR: Invalid password. by gshergill » Thu Jan 10, 2013 5:00 am Hi sheld0r,On a windows server
Check_nt Nagios
you can change the password in the following file (depending on install location):C:\Program Files\NSClient++\nsclient.iniScroll down till you find "password = " and change the password as required.Hope this helps.Kind Regards,Gary Shergill gshergill Posts: 231Joined: Tue Aug 07, 2012 5:08 am Top Re: NSClient - ERROR: Invalid password. by slansing » Thu Jan 10, 2013 11:11 am Gshergill is correct, that is the location to edit the password for all inbound checks from your nagios systems. The you must use the password flag on check_nrpe checks which should be set to:Code: Select all-s "passwordhere" slansing Posts: 7698Joined: Mon Apr 23, 2012 4:28 pmLocation: Travelling through time and space... Top Re: NSClient - ERROR: Invalid password. by sheld0r » Thu Jan 10, 2013 4:11 pm As I thought, the password is indeed correct on the client. I don't quite understand what to do slansing. Is this a command I run, or an edit to the host? Very new to Nagios, especially the inner workings of Nagios.Cheers, sheld0r Posts: 49Joined: Thu Jan 03, 2013 5:39 pm Top Re: NSClient - ERROR: Invalid password. by scottwilkerson » Thu Jan 10, 2013 5:10 pm First let me verify, does the password have specia
on my test Win2008 Server R2. I've got the service up and running - as far as I can tell have the NSC.ini file check_nrpe configured. port=12489 -- Uncommentedpassword=secret-password -- Uncommentedpassword=####### -- Password matched on my commands.cfg on the nagios server But when I run a "check_nt" command, I get an error about password being invalid. /usr/local/nagios/libexec/check_nt -H 'hostname' -p 12489 -v CPULOAD -w 80 -c 90 -l 5,80,90,10,80,90 Here is my commnads.cfg # 'check_nt' command definition define command{ command_name check_nt command_line $USER1$/check_nt -H $HOSTADDRESS$ -p 12489 -s M0n1tor -v https://support.nagios.com/forum/viewtopic.php?t=8859&p=42103 $ARG1$ $ARG2$ } Is there another file that I need to change/configure or something that I'm missing? Thanks Jov 2011-05-05 17:44:51 UTC #2 I've also tried using NRPE to check. /usr/local/nagios/libexec/check_nrpe -H 'host ip' -c CheckCPU -a warn=80 crit=90 time=20m time=10s time=4 CHECK_NRPE: Received 0 bytes from daemon. Check the remote server logs for error messages From nsclient.log 2011-05-05 10:43:51: error:modules\NRPEListener\NRPEListener.cpp:393: Request contained arguments (not currently http://forums.meulie.net/t/nsclient-error-invalid-password/6097 allowed, check the allow_arguments option). 2011-05-05 10:43:51: error:modules\NRPEListener\NRPEListener.cpp:365: NRPEException: Request contained arguments (not currently allowed, check the allow_arguments option). Where would I configure this on the INI file to set to 'allow'? luca 2011-05-06 07:31:34 UTC #3 have you tried running check_nt from command line as user nagios? can you get any info returned in this way? Jov 2011-05-09 15:41:50 UTC #4 luca: have you tried running check_nt from command line as user nagios? can you get any info returned in this way? Yes, I've run the command as my self and as nagios user - and get the same result. [adminusr@nagiossrv objects]$ su nagios Password: [nagios@nagiossrv objects]$ whoami nagios [nagios@nagiossrv objects]$ /usr/local/nagios/libexec/check_nt -H 'hostname' -p 12489 -v CPULOAD -w 80 -c 90 -l 5,80,90,10,80,90 NSClient - ERROR: Invalid password. luca 2011-05-09 18:54:08 UTC #5 I don't have a windows box available to test it... do you have a password set in NSC.ini ? (can't find where to declare the pwd in check_nt... ) nsclient.org/nscp/wiki/doc/configuration Jov 2011-05-09 20:28:39 UTC #6 Yes, I've put the password in the nsc.ini file. Here's the settings. [Settings] ;# OBFUSCATED PASSWORD ; This is the same as the password optio
to you by: mickem Summary Files Reviews Support Wiki Tickets ▾ Bugs Support Requests Patches Feature Requests News Discussion Donate Code Create Topic Stats Graph Forums Help 146 Open Discussion 27 Help Formatting Help Invalid Password nsclient Forum: Open Discussion Creator: Bernd Wisnauskus https://sourceforge.net/p/nscplus/discussion/445644/thread/fc848853/ Created: 2006-12-12 Updated: 2013-01-10 Bernd Wisnauskus - 2006-12-12 Hello when i try to connect to a windows server with nsclient Version NSClientpp (Nagios) 0.2.6 2006-12-05 installed i run into an error: [root@nagios scripts]# /usr/local/nagios/libexec/check_nt -H windows http://www.genuinewebhost.com/tech_forum/index.php?p=/discussion/16/nsclient-error%3A-invalid-password/p1 server name -p 12489 -v CLIENTVERSION NSClient - ERROR: Invalid password. Is it possible to run the nsclient daemon without password authentication? My nsc.ini configuration [Settings] ;obfuscated_password= ; ;# PASSWORD ; This is the password (-s) that nsclient error is required to access NSClient remotely. If you leave this blank everyone will be able to access the daemon remotly. password= ; ;# ALLOWED HOST ADDRESSES ; This is a comma-delimited list of IP address of hosts that are allowed to talk to the all daemons. ; If leave this blank anyone can access the deamon remotly (NSClient still requires a valid password). allowed_hosts= ; ;# USE THIS FILE ; Use the INI file error invalid password as opposed to the registry if this is 0 and the use_reg in the registry is set to 1 ; the registry will be used instead. use_file=1 [log] ;# LOG DEBUG ; Set to 1 if you want debug message printed in the log file (debug messages are always printed to stdout when run with -test) debug=1 ; ;# LOG FILE ; The file to print log statements to file=d:\logs\nsc.log ; ;# LOG DATE MASK ; The format to for the date/time part of the log entry written to file. ;date_mask=%Y-%m-%d %H:%M:%S [NSClient] ;# ALLOWED HOST ADDRESSES ; This is a comma-delimited list of IP address of hosts that are allowed to talk to NSClient deamon. ; If you leave this blank the global version will be used instead. allowed_hosts= ; ;# NSCLIENT PORT NUMBER ; This is the port the NSClientListener.dll will listen to. port=12489 ;obfuscated_password= password= ; ;# BIND TO ADDRESS ; Allows you to bind server to a specific local address. This has to be a dotted ip adress not a hostname. ; Leaving this blank will bind to all avalible IP adresses. ; bind_to_address= Thanks for Help Bernd If you would like to refer to this comment somewhere else in this project, copy and paste the following link: kasper_lund - 2007-02-15 Hi Bernd. I h
I get an error on nagios website "NSClient - ERROR: Invalid password"Any idea ?? bobby October 2011 Permalink Hi there,Check this link:http://www.nsclient.org/nscp/discussion/topic/779Regards. Add a Comment Howdy, Stranger! It looks like you're new here. If you want to get involved, click one of these buttons! Sign In Apply for Membership Categories All Discussions45 www.CommonURLs.com5 General40 Powered by Vanilla