Here's a quick and dirty sample bash script you can write to check the values 
https://gist.github.com/mehulved/8c3bde2f7c33a980b8cbea8485b67639


________________________________
 From: monit-general <[email protected]> 
on behalf of Kevin Smith <[email protected]>
Sent: Wednesday, March 14, 2018 11:00:13 PM
To: This is the general mailing list for monit ([email protected])
Subject: Monit using ethtool


Any examples out there of monitoring network stats with monit via ethtool?

Like if I wanted to track if a counter when up for one of the error counters in 
‘ethtool –S | grep error’



Thanks!

________________________________
NOTICE: This email message is for the sole use of the intended recipient(s) and 
may contain confidential and privileged information. Any unauthorized use, 
disclosure or distribution is prohibited. If you are not the intended 
recipient, please contact the sender by reply email and destroy all copies of 
the original message.
-- 
To unsubscribe:
https://lists.nongnu.org/mailman/listinfo/monit-general

Reply via email to