-
Notifications
You must be signed in to change notification settings - Fork 132
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Referring to one property within another inside the Nagios NRPE config file (nrpe.cfg) #141
Comments
We will discuss it internally. Thanks! |
Are there any other parts in the What are your thoughts? |
Actually server_address was just an example. I meant to say pretty much any property should be referrals in another. Obviously if the wrong combination is used, it will invalidate the config. |
No, I definitely understood that you were only using that one as an example - what I'm asking is are there any other spots in the configuration file that ever be re-used other than that one? For example, are you ever going to use:
or
I can't actually think of a use-case where the work to do this would be justified. I do like the idea of adding the server address automatically to allowed hosts. |
Apologies for the delay in response. I was away on holiday. Coming to think of it, I cannot think of any other example. I guess my need was down to being able to add server address to the allowed hosts' list. I would like very much to say that I'd like to (like in code) define, $connection_timeout at the top and use it elsewhere in the config file. But, in reality, I don't see that happening. Hope this helps. |
We've decided against implementing this feature. Although it is a great (and very useful) feature in some projects - the first and best that comes to mind is postfix - it doesn't seem to bring the same value here. We carefully analyzed the use case for NRPE, and couldn't see it being used for more than just that one possibility. Thank you for the suggestion, though. |
Hello there. To begin with, thank you for the excellent work. In continuation with this thread on Stackoverflow, if I can please make a feature request.
Within the NRPE config file (nrpe.cfg) and similar ones within Nagios fold, please make it possible to refer one property from another. For example, today what looks like the follows
should be re-writable on the following lines
Benefits should be obvious - hopefully?
The text was updated successfully, but these errors were encountered: