I am currently trying an SMNP check.
Now I have stored my community string in a custom host variable.
Now I want to refer to this host variable string in my service template.
Unfortunately I have not found a way to access it here.
The whole thing runs under Icinga Web 2 Version
2.8.2, director 1.8.1.
As @stevie-sy suggests, that is the correct result.
From my environment:
What you need to look for:
1.) Does $host.vars.snmp_string$ contain the right value or any value at all.
2.) Underneath the “Service” in Icinga, click the Inspect link to view the expanded command to make sure Icinga is executing the command and options you think it’s executing.