nrpe has problem understanding the arguments containing "--".
EG:- ./check_nrpe -H $HOSTADDR$ -c "check_hardware" -a "--chassis --storage"
nrpe is unable to parse the arguments. Is there escape sequence needed for them ?
When executed individually , the script is running absolutely fine
problem parsing the arguments containing "--"
-
sureshbabuy
- Posts: 23
- Joined: Wed Aug 26, 2015 11:31 am
Re: problem parsing the arguments containing "--"
What is the output when you run it this way? Two things you can try are escaping with back slashes like \-\- or replacing the double quotes with single quotes.
Former Nagios employee
-
sureshbabuy
- Posts: 23
- Joined: Wed Aug 26, 2015 11:31 am
Re: problem parsing the arguments containing "--"
thanks that works
Re: problem parsing the arguments containing "--"
Anything else we can do for you regarding this, or is this one okay to lock up?
Former Nagios Employee.
me.
me.
-
sureshbabuy
- Posts: 23
- Joined: Wed Aug 26, 2015 11:31 am
Re: problem parsing the arguments containing "--"
no issues regarding the parsing
Re: problem parsing the arguments containing "--"
Glad to see this working. I'll close this thread out now, but feel free to open another if you ever need assistance.
Former Nagios Employee