Re: [nv-l] Polling Time
2004-09-30 21:31:15
You mostly do this by checking to see
if netmon is behind. I usually add a custom script to do this:
(the netmon -a command with the '16'
option gives the same for snmp config polling)
#set -x
if [ `/usr/bin/whoami` != "root"
]; then
echo "\nWARNING:"
echo "This script must
be run with root privileges."
exit 1
fi
cat /dev/null > /usr/OV/log/netmon.trace
netmon -a 12
sleep 3
if [ -f /usr/OV/log/netmon.trace ];
then
echo "Netmon is "
`grep [-].*[:] /usr/OV/log/netmon.trace | wc -l ` "behind in status
pinging";
else
echo "Netmon is too busy
to report now. Try later."
fi
exit 0
Cordially,
Leslie A. Clark
IBM Global Services - Systems Mgmt & Networking
Detroit
irene_clark AT vfc DOT com
Sent by: owner-nv-l AT lists.us.ibm DOT com
09/24/2004 03:31 PM
|
To
| nv-l AT lists.us.ibm DOT com
|
cc
|
|
Subject
| [nv-l] Polling Time |
|
Can anyone tell me how to find out the length of time
it takes to poll
the network?
Thanks
|
|
|