Free Variables all lowercase now

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
steph007
Posts: 177
Joined: Mon Jul 24, 2017 12:00 pm

Free Variables all lowercase now

Post by steph007 »

Hi,

Following my update to 5.6.1 of Nagios XI, I notice that all my Free Variables became lowercase.
Could it be a problem if I defined a Free Variables with uppercase?

Example:
_GNM or _gnm would be different for Nagios?
swolf

Re: Free Variables all lowercase now

Post by swolf »

Hi @steph007,

No, there's no issue if you define free variables as upper-case. Free variables are case-insensitive within Nagios Core, so both _GNM and _gnm will be accessed by the same macro. They show as lowercase now in the CCM because we had to change the database storage/retrieval slightly to have them work with our Bulk Modifications tool. None of your existing configs will break from the change, and I believe any new free variables will be converted to lowercase automatically.

Let me know if you have any other questions or concerns.
steph007
Posts: 177
Joined: Mon Jul 24, 2017 12:00 pm

Re: Free Variables all lowercase now

Post by steph007 »

Thanks, that answering my question
Locked