Re: Nvdbformat has odd output

2001-07-06 14:15:27
Subject: Re: Nvdbformat has odd output
From: "Leslie Clark" <lclark AT us.ibm DOT com>
To: nv-l AT lists.tivoli DOT com
Date: Fri, 6 Jul 2001 14:15:27 -0400
Two thoughts. One: do you get better results if you include
at least one header record? I have always included one header and
one footer because early on I had problems with it if I did not.
Do you get different results if one of the output fields is Selection Name?
Two: I had incomplete output at one site, at 6.01. I believed it had
to do with some sort of corruption in the database, because I have
not seen it anywhere else. Rather than rediscover and cut/paste,
I redid my scripts to use nvUtil rather than nvdbformat. If the
nvdbformat were giving the correct nummatch, as yours is, I probably
would not have noticed since I seldom use that feature. That seems
to indicate that the cause is something else. In which case, I would
call support. Maybe they have a way to trace nvdbformat. But the
fact that it reports the correct number and outputs the wrong number
of lines sure looks like some sort of bug to me.


Leslie A. Clark
IBM Global Services - Systems Mgmt & Networking
(248) 552-4968 Voicemail, Fax, Pager

"Scott ." <pepsiasg AT hotmail DOT com>@tkg.com on 07/05/2001 01:20:34 PM

Please respond to IBM NetView Discussion <nv-l AT tkg DOT com>

Sent by:  owner-nv-l AT tkg DOT com

To:   nv-l AT tkg DOT com
Subject:  [NV-L] Nvdbformat has odd output

Netview 6.0.2 AIX 4.3

I created a SmartSet called dlg-CSCO_IOS.  The SmartSet uses the same
SELECTRULE as CSCO_IOS.in (see below).   The SmartSet contains 818 objects.
When I run nvdbformat with CSCO_IOS.in, I get a list of 50 devices but the
${NUMMATCH} variable correctly reports 818 objects.

Any ideas? This seems weird huh?

# Selects all Cisco IOS devices (SNMP OID =
#    Usage: /usr/OV/bin/nvdbformat -f CSCO_IOS.in
OUTPUT:${1} ${2}
FOOTER: Found ${NUMMATCH} objects out of ${TOTAL_OBJECTS}.

Thank you!,

Scott Bursik

Get your FREE download of MSN Explorer at http://explorer.msn.com

NV-L List information and Archives: http://www.tkg.com/nv-l

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