include a host free variable in either the svc desc or notes

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
jwgill
Posts: 14
Joined: Mon Jun 12, 2017 3:09 pm

include a host free variable in either the svc desc or notes

Post by jwgill »

Is there any way to include a host free variable in either the service description or the service notes?

I have a service that checks different things on different hosts, using the host free variables to define what to check, and this works well. I just need some way to notate on the main screen or service screen, what's being checked without requiring users to dig into ccm, if they have access, to decipher what is being checked.
npolovenko
Support Tech
Posts: 3457
Joined: Mon May 15, 2017 5:00 pm

Re: include a host free variable in either the svc desc or n

Post by npolovenko »

Hello, @jwgill. I tested this on my XI in the lab and service description/service notes don't support free Variables. Perhaps you can add an echo line to your plugin output to show the command that is being used, and print it from a new line after the main output?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Locked