[Top] [All Lists]

RE: [nv-l] how to recreate snmpCollect ID files (file!)

To: <nv-l@lists.us.ibm.com>
Subject: RE: [nv-l] how to recreate snmpCollect ID files (file!)
From: "Barr, Scott" <Scott_Barr@csgsystems.com>
Date: Tue, 23 Aug 2005 09:07:37 -0500
Delivery-date: Tue, 23 Aug 2005 15:09:15 +0100
Envelope-to: nv-l-archive@lists.skills-1st.co.uk
Reply-to: nv-l@lists.us.ibm.com
Sender: owner-nv-l@lists.us.ibm.com
Thread-index: AcWn6F7ETgGXHSCzTQeQiJJrXAfPbAABKlMA
Thread-topic: [nv-l] how to recreate snmpCollect ID files (file!)
I have done this. You *CAN* manually recreate the ! files if you know
what you're after. 

And I can confirm that if you remove the ! file - the next collection
should rebuild it. So theoretically you can create this file just by
turning on a collection (on any server) and swiping the ! file.

James as usual, is 100% on target here.

-----Original Message-----
From: owner-nv-l@lists.us.ibm.com [mailto:owner-nv-l@lists.us.ibm.com]
On Behalf Of James Shanks
Sent: Tuesday, August 23, 2005 8:41 AM
To: nv-l@lists.us.ibm.com
Subject: Re: [nv-l] how to recreate snmpCollect ID files (file!)

Well,  I have not tried this, but it may be possible, if you still have
definitions for those collections in snmpCol.conf, and some knowledge of
what's being collected.  For example, consider this entry in

MIB . ifInUcastPkts units COUNTER R
O Routers 1200 0.000000 0.000000 xA s 58720263 ALL -

Then the data file in /usr/OV/databases/snmpCollect would be named
      ifInUcastPkts.n  (where n is some number)
Let's suppose that in this case n = 3.
Then there would be two files in /usr/OV/databases/snmpCollect
      ifInUcastPkts.3   ( the data file)
      ifInUcastPkts.3!  (the format file)

In this case  the format file ifInUcastPkts.3! contents would be


As you can see the top line is units, the second the MIB variable data
type, the third is the MIB OID being collected, and the fourth is the
numeric suffix of the file.

That said, I would have thought that if you temporarily removed the data
files. moved them somewhere else for the time being, and restarted
snmpCollect with the appropriate collections resumed, that he would
similar  format (!) files before storing the first piece of data for
collection.  Then you would have models you could use and you would only
have to change line four and the name of the file in order to make
files which would match your old data.

As I said, I haven't tried it.
Good luck.

James Shanks
Level 3 Support  for Tivoli NetView for UNIX and Windows
Tivoli Software / IBM Software Group


             Francis Boeykens


             Sent by:                  nv-l@lists.us.ibm.com


                                       [nv-l] how to recreate
             08/23/2005 08:36          ID files (file!)




             Please respond to




Hi List,

In cleaning up the data accumulated by snmpCollect, I deleted by
all ID files (file names ending with a "!")
/usr/OV/databases/snmpCollect .
Is it possible to recreate them ?

The binary files (containing the data) are recreated automatically, the
files are not.  If the ID files are not available snmpColDump is not
to work with the data files.

Vriendelijke Groeten, Cordialement,  Kind Regards,


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

Archive operated by Skills 1st Ltd

See also: The NetView Web