[CentOS] script to monitor device to output file

nate centos at linuxpowered.net
Mon Dec 1 12:57:10 UTC 2008


chloe K wrote:
> Hi
>
>   ls there any script / program to check router / switch?
>
>   eg: sh interface any error

Use SNMP, that's what it's there for. All good routers/switches
expose SNMP counters for interface errors which you can collect
either by hand with snmpget or something, or use something like
MRTG, Cacti, Nagios or any number of other tools that are
available.

nate



More information about the CentOS mailing list