Ad Widget

Collapse

Standard templates

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • getUP
    Member
    • Jun 2006
    • 34

    #1

    Standard templates

    Is there a way to create custom templates which include default items, triggers and actions?

    And what would be the best way to check if SSH is up on another port?

    Thanks!
  • epifanova
    Junior Member
    • May 2006
    • 26

    #2
    1. may be change database direct

    2. some thing like net.tcp.port[<ip>, port] or net.tcp.service[service <,ip> <,port>]

    Comment

    • getUP
      Member
      • Jun 2006
      • 34

      #3
      The last part confuses me.
      net.tcp.service[service <,ip> <,port>]

      Would that end up like as it seems to be failing.
      net.tcp.service[ssh, {HOSTNAME}, 23123]

      I only want to specify the service and port, else having templates is rather useless because you'd end up with all servers monitoring a specified host instead of their own.

      Is there a way to have default triggers for all hosts within a template group? It seems that it is, though once again I'm running into having to specify a certain host.
      Adding {{HOSTNAME}:system.cpu.load[,avg1].last(0)}>5 fails. Is there another way? Else it's rather ineffecient.

      Comment

      • epifanova
        Junior Member
        • May 2006
        • 26

        #4
        Originally posted by getUP
        The last part confuses me.
        net.tcp.service[service <,ip> <,port>]

        Would that end up like as it seems to be failing.
        net.tcp.service[ssh, {HOSTNAME}, 23123]
        if you want to create the template use net.tcp.service[service,,port]
        by default ip is 127.0.0.1

        Comment

        • getUP
          Member
          • Jun 2006
          • 34

          #5
          From what perspective should I look at those templates? From the agent, 127.0.0.1 being the target host or the other way round?

          The reason I'm asking this is because the result always seems to be 0, which is incorrect.

          Thanks for your help so far

          Comment

          Working...