Check the status of multiple network interfaces the easy way
Apr 07, 2009, 01:36 (0 Talkback[s])
(Other stories by Allen Sanabria)
[ Thanks to asanabria6910 for this link.
]
"Today a friend of mine wanted to know how he can check the
status and or speed of multiple Network Interfaces/Ports on a
device ( Switch, Router, Server, etcc ) using SNMP. Specifically he
wanted to know if the Interfaces/Ports are Operationally Up or Down
and also if it is Administratively. Then he also wanted to know the
speed of the Interfaces/Ports that were Up or Down.
"Now you can easily get this information through SNMP or if you
have a monitoring tool like Zenoss. But he wanted a command line
script that would run fairly quickly and either print the results
to STDOUT or that he can pipe the ouput in an email."
Complete Story
Related Stories: