Skip to content

Nagios Plugin check_network

Davide Madrisan edited this page Feb 16, 2017 · 2 revisions

check_network - displays some network interfaces statistics

[/etc/nrpe.d/check_network]
command[check_network]=/usr/lib/nagios/plugins/check_network
Usage note
This plugin displays some network interfaces.statistics.
Copyright (C) 2014,2015 Davide Madrisan <[email protected]>
Usage:
  check_network
Options:
  -h, --help      display this help and exit
  -V, --version   output version information and exit
Examples:
  check_network
Example of output
network OK | lo_txpck/s=2 lo_rxpck/s=2 lo_txbyte/s=168 lo_rxbyte/s=168 lo_txerr/s=0 lo_rxerr/s=0 lo_txdrop/s=0 lo_rxdrop/s=0 lo_mcast/s=0 lo_coll/s=0 eth0_txpck/s=1750 eth0_rxpck/s=1750 eth0_txbyte/s=220467 eth0_rxbyte/s=171475 eth0_txerr/s=0 eth0_rxerr/s=0 eth0_txdrop/s=0 eth0_rxdrop/s=0 eth0_mcast/s=0 eth0_coll/s=0
Performance data

lo_txpck/s lo_rxpck/s lo_txbyte/s lo_rxbyte/s lo_txerr/s lo_rxerr/s lo_txdrop/s lo_rxdrop/s lo_mcast/s lo_mcast/s lo_coll/s eth0_txpck/s eth0_rxpck/s ... docker0_txpck/s docker0_rxpck/s ...