Error: Request contained illegal metachars!
-
optionstechnology
- Posts: 234
- Joined: Thu Nov 17, 2016 11:26 am
Re: Error: Request contained illegal metachars!
I tried this- same issue
-
avandemore
- Posts: 1597
- Joined: Tue Sep 27, 2016 4:57 pm
Re: Error: Request contained illegal metachars!
If you turn on debug in the NRPE listener you can see exactly what arguements where passed and how the check is being executed. What does it say when compared with the check_nrpe invocation?
Previous Nagios employee
Re: Error: Request contained illegal metachars!
Just checking in since we have not heard from you in a while. Did @avandemore's post clear things up or has the issue otherwise been resolved?
Former Nagios employee
-
optionstechnology
- Posts: 234
- Joined: Thu Nov 17, 2016 11:26 am
Re: Error: Request contained illegal metachars!
No the issue was not solved- the debug did not show any information
Re: Error: Request contained illegal metachars!
I found that the NRPE agent cannot accept the following characters in the arguments.
The only workaround is to hard code the settings in the NRPE Agent's config file so then you do not need to use them in the check_nrpe arguments.
Code: Select all
|`&><'\\[]{};\r\nBe sure to check out our Knowledgebase for helpful articles and solutions!
-
optionstechnology
- Posts: 234
- Joined: Thu Nov 17, 2016 11:26 am
Re: Error: Request contained illegal metachars!
Hmmmm, its hard coding that we are trying to avoid in the first place!
I found a way around it where the command is half hard coded and half args
This seems to do the job, just not as cleanly as I would have liked
I found a way around it where the command is half hard coded and half args
This seems to do the job, just not as cleanly as I would have liked
-
bolson
Re: Error: Request contained illegal metachars!
Closing topic as resolved.
Thank you for using the Nagios Support Forum.
Thank you for using the Nagios Support Forum.