nv-l

Re: [nv-l] Polling Time

2004-09-30 21:31:15
Subject: Re: [nv-l] Polling Time
From: Leslie Clark <lclark AT us.ibm DOT com>
To: nv-l AT lists.us.ibm DOT com
Date: Thu, 30 Sep 2004 21:21:26 -0400

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
Please respond to
nv-l

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


<Prev in Thread] Current Thread [Next in Thread>