Hi James,
I have much more info now. I do have several good debugs saying the
problem is "CompareMIBDnode.C[159] : SNMP GET operation for this MIB
object failed." This was really helpful. Since then, I've tried the
numeric OID .1.3.6.1.2.1.1.3 and the worded syntax
.iso.org.dod.internet.mgmt.mib-2.system.sysUpTime. Neither seem to make
any difference. I took a different approach and put a sniffer on the
machine being queried and see that no SNMP GET is ever happening! I can
do an snmpwalk of the same thing and decode the conversation though.
Do you have any other ideas?
Glen Warn
PEMCO Corporation Computer Services (PCCS)
glen.warn@pemcocorp.com
206-628-5770
-----Original Message-----
From: owner-nv-l@lists.us.ibm.com [mailto:owner-nv-l@lists.us.ibm.com]
On Behalf Of James Shanks
Sent: Thursday, April 28, 2005 5:31 AM
To: nv-l@lists.us.ibm.com
Subject: Re: [nv-l] Ruleset ? using Compare MIB Variable
Glen,
Have you been tracing nvcorrd's execution of your rulesets with
"nvcdebug -d all" as I suggested?
If you want to see why one case is working and the other not, that's the
way.
By definition, SNMP TimeTicks are in hundredths of a second, or at least
that's what they should be. So you should get 600 to the minute, not
1000.
There is no good source for writing rulesets. The only Redbook I know
of which discusses them is very old, SG24-4515-00, Examples Using
NetView for
AIX Version 4, which came out when rulesets were new (December 1995).
If
you search the nv-l archives you should also find a short document I
wrote giving some performance hints and tips. We've already discussed
much of it
in your last few postings. But running the trace is the way to answer
most questions.
If you are using NetView traps, then I would specify attribute 2, the
fully-qualified hostname, rather then the Origin as the source of your
MIB query. Why? You don't want to query the NetView box, but the host
the trap is about. If you are using non-NetView traps then Origin is
required.
HTH
James Shanks
Level 3 Support for Tivoli NetView for UNIX and Windows Tivoli Software
/ IBM Software Group
|