Ad Widget

Collapse

SSH Agent (option lastline)

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • jorge.iwano
    Junior Member
    • Mar 2012
    • 6

    #1

    SSH Agent (option lastline)

    Hi Srs,

    I use zabbix agent to do the ping tests between routers and the result of my command is:

    Command executed in router: ": put [8.8.8.8 ping count = 4] "

    Output
    ==================================================
    [Admin @ router]>: put [8.8.8.8 ping count = 4]
    TTL TIME HOST SIZE STATUS
    8.8.8.8 56 58 7ms
    8.8.8.8 56 58 7ms
    8.8.8.8 56 58 8ms
    8.8.8.8 56 58 7ms
    sent = 4 received = 4 packet-loss = 0% min-avg-rtt = rtt = 7ms 7ms 8ms max-rtt =
    TTL TIME HOST SIZE STATUS

    4
    ==================================================

    When you create an item in zabbix using agent ssh so need to get the last line of output, as in the example above, "4".

    This feature could be added in next version?

    Thanks
Working...