Need help to print free variables in custom component
Posted: Fri Oct 29, 2021 4:27 am
Hello,
I am trying to print the value of a free variable into a custom column in the service status view. I am using the custom column component available here:
https://exchange.nagios.org/directory/A ... nt/details
I installed the custom column and have no problem to print text inside the cell in the service row but i have no success trying to print the free variable of the service.
Suppose the var is called: _FREEVAR1
I have used:
$_SERVICEFREEVAR1$
NAGIOS__SERVICEFREEVAR1
to print it using the php script but no value is being printed.
Please, can you give me any tips about how to get it printed?
Thank you!
I am trying to print the value of a free variable into a custom column in the service status view. I am using the custom column component available here:
https://exchange.nagios.org/directory/A ... nt/details
I installed the custom column and have no problem to print text inside the cell in the service row but i have no success trying to print the free variable of the service.
Suppose the var is called: _FREEVAR1
I have used:
$_SERVICEFREEVAR1$
NAGIOS__SERVICEFREEVAR1
to print it using the php script but no value is being printed.
Please, can you give me any tips about how to get it printed?
Thank you!