Command to grep and the Drop Count for scripting
Hi,
I would like to set up the script to monitor the Network interface level packet drops, in which I would like to set up the logic in such a way that when dropped:0 will increase above 100 it should send alert. RX packets:237722797 errors:0 dropped:0 overruns:0 frame:0 Please let me know an idea how we can set the logic for this in bash script ? Thanks Rajan |
rajaniyer123,
For the short term, depending on what you need, you might be able to do something, simple, and brute force such as this: Code:
#!/bin/bash Hope this helps. |
All times are GMT -5. The time now is 05:05 PM. |