Page 1 of 1

fix configuration

Posted: Sat Sep 28, 2013 1:21 am
by cesar.garza
Hi guys, i am trying to setup GET and POST IIS monitor through nrpe and found a config to setup, but somehow its not working properly and throwing a error """ Exception processing request: Request contained arguments (not currently allowed, check the allow arguments option). """. I surfed on internet for this error and found to change some setting in nsclient++ config file (nsclient-full.ini), but this one didnt help me. Let me know if anyone has any suggestion. Thanks

Re: fix configuration

Posted: Mon Sep 30, 2013 9:22 am
by abrist
Could you post you nsclient.ini or NSC.ini in code wraps (obfuscate password, etc)

Re: fix configuration

Posted: Mon Sep 30, 2013 2:08 pm
by cesar.garza
I have already changed the setting in /setting/external script/server
I have attached my nsclient.ini and nsclient-full.ini

Re: fix configuration

Posted: Mon Sep 30, 2013 3:23 pm
by slansing
Can you try defining $ARG2$ and $ARG3$ in your nsc.ini file as well? Currently you are only passing one argument through from Nagios when you have three defined. Once you make the change be sure to restart the nsclient service.

Re: fix configuration

Posted: Mon Sep 30, 2013 4:41 pm
by cesar.garza
Slansing - i haven't put anything in the nsc.ini file for GET/POST. -c
get_iis_get_request
is calling by itself. have a look this website https://kb.groundworkopensource.com/dis ... 6/NRPE+IIS

Re: fix configuration

Posted: Tue Oct 01, 2013 1:14 pm
by lmiltchev
Can you show us the actual command that you are running from the command line, along with the output of it?