Ad Widget

Collapse

LLD with {$HOST.IP} as parameter

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • HLS88
    Junior Member
    • May 2021
    • 3

    #1

    LLD with {$HOST.IP} as parameter

    Hello,

    is there a way to set the IP of the Host interface of a LLD Rule as an parameter of the LLD Key?

    Click image for larger version

Name:	lldRule.jpg
Views:	348
Size:	18.6 KB
ID:	442237

    If I run this on a host I got this error:
    "Invalid discovery rule value: cannot parse as a valid JSON object: invalid object format, expected opening character '{' or '[' at: 'snmpwalk: Unknown host ({$HOST.IP}) (Invalid argument)[ ]'"
    So the Macro {$HOST.IP} is not solvable.
  • cyber
    Senior Member
    Zabbix Certified SpecialistZabbix Certified Professional
    • Dec 2006
    • 4807

    #2
    Have you defined that user macro anywhere?
    If you want to use that particular hosts IP, then you should use {HOST.IP} (without $)

    Comment

    Working...