define host{
use hosted generic
host_name Zambia
alias ZM
address xxxxxxx.com
_WEBUSER sbg1 zambia
_WEBPASSWORD .............
}
In the example above there is a space in _WEBUSER how do I protect that space
For example in html it would be %20
I have tried "sbg1 zambia" it did not work
Regards
Protecting white space
Re: Protecting white space
Which version of Nagios Core are you using? Per the official documentation, what you've done should "just work":
https://assets.nagios.com/downloads/nag ... tvars.html
If this is indeed a bug of some sort, it would also be useful to know exactly how you're using this custom variable to fully qualify the bug.
https://assets.nagios.com/downloads/nag ... tvars.html
If this is indeed a bug of some sort, it would also be useful to know exactly how you're using this custom variable to fully qualify the bug.
Former Nagios employee
https://www.mcapra.com/
https://www.mcapra.com/
Re: Protecting white space
@GrumpyNana, did the link @mcapra supply help answer your question? As he mentioned, it should "just work" without any need for %20 or quotes around the string. Please provide details on exactly what you're trying to do if you're still having issues.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
-
- Posts: 3
- Joined: Wed May 23, 2018 6:10 am
Re: Protecting white space
Hi
We are using 3.5.1
We will try is as-is and revert
Thanks
We are using 3.5.1
We will try is as-is and revert
Thanks