fix configuration

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
cesar.garza
Posts: 80
Joined: Mon Aug 19, 2013 3:14 pm

fix configuration

Post 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
You do not have the required permissions to view the files attached to this post.
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: fix configuration

Post by abrist »

Could you post you nsclient.ini or NSC.ini in code wraps (obfuscate password, etc)
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
cesar.garza
Posts: 80
Joined: Mon Aug 19, 2013 3:14 pm

Re: fix configuration

Post by cesar.garza »

I have already changed the setting in /setting/external script/server
I have attached my nsclient.ini and nsclient-full.ini
You do not have the required permissions to view the files attached to this post.
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: fix configuration

Post 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.
cesar.garza
Posts: 80
Joined: Mon Aug 19, 2013 3:14 pm

Re: fix configuration

Post 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
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: fix configuration

Post by lmiltchev »

Can you show us the actual command that you are running from the command line, along with the output of it?
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked