Nasty characters
Nasty characters
I have a few hosts that I'd love to be able to use nasty characters in nrpe arguments. I've been googling forever but can only find the option to enable them in NSClient++, is that not an option in linux nrpe?
2 of XI5.6.14 Prod/DR/DEV - Nagios LogServer 2 Nodes
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
Re: Nasty characters
Can you show us an example of a check that fails because of the "nasty characters" in args?
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Nasty characters
Code: Select all
/usr/local/nagios/libexec/check_nrpe -H 10.143.200.51 -t 180 -c robot_check_ssh -a '-H 192.168.0.36 -t 180 -C "/usr/local/nagios/libexec/check_cpu_stats.sh -w 70,40,60 -c 90,60,70"'Here is the nrpe command
Code: Select all
command[robot_check_ssh]=/usr/local/nagios/libexec/check_by_ssh $ARG1$EDIT: I may have just thought of a way to just modify the commands to not have to use the ". But still, my original question remains, is there a way to use nasty characters?
2 of XI5.6.14 Prod/DR/DEV - Nagios LogServer 2 Nodes
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
- Box293
- Too Basu
- Posts: 5126
- Joined: Sun Feb 07, 2010 10:55 pm
- Location: Deniliquin, Australia
- Contact:
Re: Nasty characters
I don't believe there is an option. I spend some time trying to work this out.
FYI have some steps that I think outline the same thing you are doing:
http://sites.box293.com/nagios/guides/n ... le-hopping
FYI have some steps that I think outline the same thing you are doing:
http://sites.box293.com/nagios/guides/n ... le-hopping
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.