Ad Widget

Collapse

Macro in item template.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Sysdebian
    Junior Member
    • Feb 2010
    • 3

    #1

    Macro in item template.

    Hello.

    Im trying configuring a template, one item is for check ssh, but my ssh port is not the default is 2323, so in item key i put:
    Code:
    net.tcp.service[ssh,,1989]
    But when i create a new host with that template, the ssh chek say always is down.
    I think de ",," dont like it, so maybe a have to use some macro there, no?
    like:
    Code:
    net.tcp.service[ssh,{$IPADDRESS<1>},1989]
    I have read the documentation but dont understand very good if is possible to use macros in item key. This code dont run so if its possible im doing some wrong.

    Some idea ?

    Thanks and regards.
  • richlv
    Senior Member
    Zabbix Certified Trainer
    Zabbix Certified SpecialistZabbix Certified Professional
    • Oct 2005
    • 3112

    #2
    if your ssh port is 2323 and you use item key net.tcp.service[ssh,,1989], everything seems to be working as expected...
    Zabbix 3.0 Network Monitoring book

    Comment

    Working...