Ad Widget

Collapse

Help with icmpping simple check

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ali.inal
    Junior Member
    • Apr 2021
    • 2

    #1

    Help with icmpping simple check

    Hello,

    I'm trying to use simple check icmpping, for the IP address which is stored in another item (not to the host itself). Say an item with key: key_server_address is holding the IP address information to be pinged.
    I've another item (with type of simplecheck - icmpping) where I need to store the result of this ping process. I'm aware of the notation icmpping[<target>,<packets>,<interval>,<size>,<timeout>]. However, I cannot pass the other item's value as <target> parameter. I've tried several alternatives like {templatename:key_server_address.last()} but it didn't work. I couldn't manage to expand the macro value in the key area (which I understand the only way to pass the IP address as parameter).

    Anyone tried something like this? Am I doing it all the wrong way or is this simply impossible?

    Cheers,
    Ali
Working...