2 replies
by icmp30
Openview has snmpget, so you can create a shell script to get the up time from all the routers. Put it in crontab and have it mail the results to you. ... uhmm... assuming that you're running Openview on a UNIX platform. If you're running windoze maybe you could run the script in cygwin???
Try something along the lines of
routers="name1 name2 name3 ... name48"
for DEV in $routers
do
uptime='snmpget -OUqtv $DEV sysUpTime.0'
if [ $uptime -lt "8640000" ]; then
# up for less than a day
echo "$DEV uptime= $uptime"
fi
done
I'm not at work, so you'll probably have to
man snmpcmd
to get the right output options to strip off everything except the up time.
HTH
This discussion is closed to new replies.
Trending IT Employment posts
Sort by Trending