nv-l

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

2005-08-25 03:50:02
Subject: RE: [nv-l] SOLVED: how to recreate snmpCollect ID files (file!)
From: Francis Boeykens <francis_boeykens AT be.ibm DOT com>
To: nv-l AT lists.us.ibm DOT com
Date: Thu, 25 Aug 2005 09:49:25 +0200
Great advice,  I have my ID files back !
Restarting snmpCollect rebuilds indeed the ID files  (I am trying to figure
out why it took more than 7 hrs before snmpCollect started to build the
files ...)

Thanks !

Vriendelijke Groeten, Cordialement,  Kind Regards,

Francis


owner-nv-l AT lists.us.ibm DOT com wrote on 23/08/2005 16:07:37:

> 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 AT lists.us.ibm DOT com [mailto:owner-nv-l AT lists.us.ibm 
> DOT com]
> On Behalf Of James Shanks
> Sent: Tuesday, August 23, 2005 8:41 AM
> To: nv-l AT lists.us.ibm DOT 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
> snmpCol.conf
>
> MIB .1.3.6.1.2.1.2.2.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
>
> pkts/sec
> COUNTER
> .1.3.6.1.2.1.2.2.1.11
> 3
>
> 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
> build
> similar  format (!) files before storing the first piece of data for
> each
> 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
> format
> 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
>
>              <francis_boeykens
>
>              @be.ibm.com>
> To
>              Sent by:                  nv-l AT lists.us.ibm DOT com
>
>              owner-nv-l@lists.
> cc
>              us.ibm.com
>
>
> Subject
>                                        [nv-l] how to recreate
> snmpCollect
>              08/23/2005 08:36          ID files (file!)
>
>              AM
>
>
>
>
>
>              Please respond to
>
>                    nv-l
>
>
>
>
>
>
>
>
>
> Hi List,
>
> In cleaning up the data accumulated by snmpCollect, I deleted by
> accident
> 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
> ID
> files are not.  If the ID files are not available snmpColDump is not
> able
> to work with the data files.
>
> Thanks
> Vriendelijke Groeten, Cordialement,  Kind Regards,
>
> Francis
>
>
>
>
>
>
>
>
>


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