issue with custom variables
Posted: Wed Apr 20, 2016 9:58 am
Hi,
I'm using a custom variable to store a value relative to a service. I've defined the CV using the Nagios XI graphical interface.
Using the command 'CHANGE_CUSTOM_SVC_VAR' I'm able to change the value and to recover it with the macro $_SERVICENAMEOFCV$ correctly.
However if from the graphical interface I perform an 'Apply Configuration' action the CV values is overwritten to the default value.
I didn't expect this behavior and I'd like to maintain the new value set using the 'CHANGE_CUSTOM_SVC_VAR' command.
Is it a bug?
P.S.: I've tried both defining the CV at a service level and defining the CV in a service template inherited by the service, with the same result described before.
Regards,
Francesco
I'm using a custom variable to store a value relative to a service. I've defined the CV using the Nagios XI graphical interface.
Using the command 'CHANGE_CUSTOM_SVC_VAR' I'm able to change the value and to recover it with the macro $_SERVICENAMEOFCV$ correctly.
However if from the graphical interface I perform an 'Apply Configuration' action the CV values is overwritten to the default value.
I didn't expect this behavior and I'd like to maintain the new value set using the 'CHANGE_CUSTOM_SVC_VAR' command.
Is it a bug?
P.S.: I've tried both defining the CV at a service level and defining the CV in a service template inherited by the service, with the same result described before.
Regards,
Francesco