How to monitor ETH1 interface
Hi,
I have two interfaces eth0 and eth1 on linux machine.I used to access the machine using eth0. I want to monitor both eth0 and eth1 using monit service. If for any reason eth0 or eth1 goes down it should send mail to admin(my) mail id.how to configure the monit control file to do this activity. Thanks prakash |
You can monitor the interface is up or Down through mii-tool command.
Do Write a Script with a condition that if mii-tool reports eth0 up then it should show "eth0 is up" and if mii-tool reports eth1 down the message to be printed is "eth1 is down" |
Yes we can do that with mii-tool or ethtool .But ideally i want this to be monitored by a service like monit. but i dont know how to configure monit control file to monitor this interface
|
All times are GMT -5. The time now is 05:38 AM. |