Feature Request: Auto add "_" to free variables

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
User avatar
eloyd
Cool Title Here
Posts: 2190
Joined: Thu Sep 27, 2012 9:14 am
Location: Rochester, NY
Contact:

Feature Request: Auto add "_" to free variables

Post by eloyd »

If the "_" is required at the beginning of a free host/service variable, then the input validation for that part of the form should check for it and automatically add it if it's not there.

I can't tell you how many times I've forgotten that and had to Google why it failed. The UI should be smart enough to solve this problem for me. :-)
Image
Eric Loyd • http://everwatch.global • 844.240.EVER • @EricLoyd
I'm a Nagios Fanatic! • Join our public Nagios Discord Server!
swolf

Re: Feature Request: Auto add "_" to free variables

Post by swolf »

Hi @eloyd,

This is something we've discussed internally a couple of times. Rarely, we've had customers run into issues where they needed to specify some property on an object, and were unable to do this via the "normal" CCM interface. As a workaround, we have them use the Free Variables page to manually add those properties. The only other option I'm aware of would be a static config, which is... really not ideal.

That said, I could have sworn we added a warning when adding "incorrect" free variables like this, but maybe it didn't make it into the right place. We'll try to add something in for 5.7.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Feature Request: Auto add "_" to free variables

Post by lmiltchev »

I think you have a point here. I filed an internal feature request for adding this functionality. The decision to implement the enhancement is at the sole discretion of our development team.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked