Build precise queries to find exactly what you need
Press ESC to close
Your review has been submitted and is pending approval.
Simple python script to run checks on ifconfig or /proc/net/dev data
Current Version
1
Last Release Date
2020-02-05
Owner
Fabricio Martinez
Download URL
https://github.com/fabriciomrtnz/NagiosNic/blob/master/check_netstats.py
License
GPL
Compatible With
I could not find a simple nagios plugin that monitorized all NICs without the use of SNMP. So made this plugin using python and code I found on stack overflow. Data is read from /proc/net/dev with the following possible fields:
recv_bytes, recv_compressed, recv_drop, recv_errs, recv_fifo, recv_frame, recv_multicast, recv_packets, trans_bytes, trans_carrier, trans_colls, trans_compressed, trans_drop, trans_errs, trans_fifo, trans_packets
usage: ./check_netstats.py -i eth0 -p recv_errs -w 100 -c 200
Script also returns data on checked field. output: eth0 recv_errs OK | [eth0][recv_errs]=0
You must be logged in to submit a review.
To:
From:
We’ve completely redesigned the world’s largest repository of Nagios plugins and monitoring tools. Join thousands of users sharing monitoring solutions for servers, applications, and everything in between.
Due to our redesign, all existing accounts require a password reset to access your account again.
Ready to explore 6,100+ projects and contribute to the community?
Reset Password Create Account
Happy Monitoring!