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.
From: firstname.lastname@example.org [mailto:email@example.com]
On Behalf Of James Shanks
Sent: Tuesday, August 23, 2005 8:41 AM
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 .188.8.131.52.184.108.40.206.1.11 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.
Level 3 Support for Tivoli NetView for UNIX and Windows
Tivoli Software / IBM Software Group
Sent by: firstname.lastname@example.org
[nv-l] how to recreate
08/23/2005 08:36 ID files (file!)
Please respond to
In cleaning up the data accumulated by snmpCollect, I deleted by
all ID files (file names ending with a "!")
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,