Ad Widget

Collapse

Item Simple Check key ssh,<port>. Just a question.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • lokutus25
    Junior Member
    • Oct 2010
    • 12

    #1

    Item Simple Check key ssh,<port>. Just a question.

    I'm playing around with Zabbix and I'm still learning. I'm trying to implement a simple check Item, to check if a ssh port on a remote server is reachable. I'm using Zabbix 1.8.6 on ubuntu, from PPA. The item works fine when i write the key like this: "ssh,22". But if I try to use a MACRO, zabbix give the incorrect key error while saving the item: ssh,{SSH_PORT}. The MACRO is declared inside a template, linked to the host.
    So, which is the right syntax for this key? Reading the manual didn't help much.
    Thanks for any help!
    Last edited by lokutus25; 27-10-2011, 12:45.
  • lokutus25
    Junior Member
    • Oct 2010
    • 12

    #2
    Ok...seems I found an answer. This syntax seems works: ssh[,{$SSH_PORT}].
    Thanks!

    Comment

    Working...