Network ping default checks and policies

  • Release version: Xanadu
  • Updated August 1, 2024
  • 1 minute to read
  • Agent Client Collector provides the following default checks and policies for Network ping monitoring. Policies and checks are available for both Windows and Linux.

    Table 1. Network-ping metrics policy
    Check Description Usage Command Output
    util.metrics-ping Runs on the ip address discovered in the ServiceNow instance. Pings the host and collects metrics.

    The monitored CI type is cmdb_ci_hardware and is bound to the relevant server.

    A proxy agent is required.

    metrics-ping.rb (options)

    c --count COUNT Ping count

    -h Host to ping

    -t --timeout TIMEOUT Timeout

    Example: ./metrics-ping.rb -h 10.196.121.11

    c7inc0047383.ping.packets_transmitted 5 1675923886
                c7inc0047383.ping.packets_received 5 1675923886
                c7inc0047383.ping.packet_loss 0 1675923886
                c7inc0047383.ping.time 3999 1675923886
                c7inc0047383.ping.min 0.253 1675923886
                c7inc0047383.ping.avg 0.292 1675923886
                c7inc0047383.ping.max 0.318 1675923886
                c7inc0047383.ping.mdev 0.032 1675923886
    
    Note:
    Windows does not support the ping.time and ping.mdev metrics.