I have a fedora22 system running nagios-3.5.1 and would like to find a plugin that monitors network interfaces for "errors" or "collisions". Does something like that exist, or how difficult would it be to write it? For example:
Code: Select all
em1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 64.1.1.18 netmask 255.255.255.224 broadcast 64.1.1.31
inet6 fe80::225:90ff:fe53:1da7 prefixlen 64 scopeid 0x20<link>
ether 00:25:90:53:1d:a7 txqueuelen 1000 (Ethernet)
RX packets 4603323 bytes 1512804813 (1.4 GiB)
RX errors 0 dropped 262118 overruns 0 frame 0
TX packets 4639159 bytes 2066388663 (1.9 GiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
device interrupt 20 memory 0xf7a00000-f7a20000 We just had a problem with our service provider where there were an increasing number of collisions affecting network performance, but it was very difficult to identify. I thought this would be a good way to receive early warning of such a problem.
Perhaps there's an easier way to find the collisions/errors? Maybe using ip?