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.
You have allow_arguments set to 1 within that configuration file correct? This must be enabled for any commands which require arguments to communicate back and forth between Nagios and NSClient++. I did also find this:
; Section for NRPE (NRPEServer.dll) (check_nrpe) protocol options.
[/settings/NRPE/server]
; COMMAND ARGUMENT PROCESSING - This option determines whether or not the we will allow clients to specify arguments to commands that are executed.
allow arguments = true
; COMMAND ALLOW NASTY META CHARS - This option determines whether or not the we will allow clients to specify nasty (as in |`&><'"\[]{}) characters in arguments.
allow nasty characters = true
PORT NUMBER - Port to use for NRPE.
port = 5666
I have verified this result when I check the command against a NSClient++ 0.4.1.90 installation, this could be a bug in the current version, I would recommend using NSClient++ version 0.3.9x and be sure that the correct architecture version is installed in reference to your system "32/64-bit." This could also be an issue with checking against different versions of Windows, what version are you trying to check this on?
Edit: It appears I am able to get this to work on my system, but a co-worker can not though we are both checking against the same Windows system.. we are digging into this a bit more right now..
Sounds good.. here is the edit I made to my last post, it looks like I made the change when you were already on the page:
Edit: It appears I am able to get this to work on my system, but a co-worker can not though we are both checking against the same Windows system.. we are digging into this a bit more right now..
Can you upload a copy of your NSC/NSClient.ini file? You can blank out IP's and passwords, but please leave something there so we know that those lines have been supplied with the correct information.
Looks like you did not allow arguments or nasty_meta_characters on your new NSClient.ini file like you did the old one.