Hey,
So I'm trying to get a CheckSSH function working (in a template). I am trying to check (through a proxy) that the SSH port is open.
Is there any way to get the ipAddress for the current node in the parameters function of the DCI configuration page.
I've tried
ServiceCheck.SSH($node->ipAddr)
ServiceCheck.SSH(%{node_primary_ip})
ServiceCheck.SSH($1->ipAddr)
But no luck, is there a way? It is highly possible I just can't find the docs that show how to do it.
Thanks!
mitch
Hello
ServiceCheck.SSH(%{node_primary_ip})
should be just fine.
What kind of error you encounter?
Sorry, I take it back! I must of made a typo or something :-[ My bad!
Thanks!
mitch