Re: [nv-l] editing snmpCol.conf for NET-SNMP Mib Objects

2002-09-06 13:51:58
Subject: Re: [nv-l] editing snmpCol.conf for NET-SNMP Mib Objects
From: James Shanks <jshanks AT us.ibm DOT com>
To: "Westphal, Raymond" <RWestphal AT erac DOT com>
Date: Fri, 6 Sep 2002 13:51:58 -0400
Ray -
Is your problem that in the grapher the items are shown by their OIDs and 
not by a label? 
That is because the grapher, just like xnmcollect which configures 
snmpCol.conf, only reads the V1 MIB database ( /usr/OV/conf/snmpmib and 
/usr/OV/conf/snmpmib.bin).  He does not read snmpCol.conf, only 
snmpCollect does that.
So either you have to get an V1 version of that MIB or create one 
I published some steps to do that a week or so ago.  The archives will 
also show you a link to get a tool called "smidump" from the web if you 
want a tool to do the conversion.  you need to download and build 
(compile) the tool but it is free.
But to just get the labels I think you can create a dummy MIB to do the 
job for you, using simple OBJECT IDENTIFIER statements, something like 
        ucdavis OBJECT IDENTIFIER ::= { enterprises 2021 }
        ss    OBJECT IDENTIFIER ::= { ucdavis 11 }
        ssSwapIn OBJECT IDENTIFIER ::= { ss 3 }
        ssSwapOut OBJECT IDENTIFIER ::= { ss 4 }
        ssCpuUser OBJECT IDENTIFIER ::= { ss 9 }
        ssCpuSystem OBJECT IDENTIFIER ::= { ss 10 }
        ssCpuIdle OBJECT IDENTIFIER ::= { ss 11 }
        mem OBJECT IDENTIFIER ::= { ucdavis 4 }
        memAvailReal OBJECT IDENTIFIER ::= { mem 4 } 
        memAvailSwap OBJECT IDENTIFIER ::= { mem 6 } 

See how the hierarchy works?  I'm just guessing at the MIB labels 
(ucdavis, ss, mem) from what you've provided.   You can pick the real ones 
from the V2 MIB if you like, but this should enable the grapher to label 
your graphs.

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

"Westphal, Raymond" <RWestphal AT erac DOT com>
09/06/2002 01:21 PM

        To:     "NV List (E-mail)" <nv-l AT lists.tivoli DOT com>
        Subject:        [nv-l] editing snmpCol.conf for NET-SNMP Mib Objects


Hello Everyone!
NV7.1.2 on AIX 4.3.3 w/ ML10

I'm trying to setup data collection for CPU and memory on a Solaris server
on NetView. The Solaris server admin has installed the net-snmp 5.0.3 
I added the MIB objects by editing the snmpCol.conf file because I could 
locate SNMP V1 mibs for the net-snmp agent. I'm currently graphing the
following objects (as labeled in the Web Console MIB Browser):

ucdavis.ssCpuUser ( 
ucdavis.ssCpuSystem ( 
ucdavis.ssCpuIdle ( 
ucdavis.ssSwapIn ( 
ucdavis.ssSwapOut ( 
ucdavis.memAvailReal ( 
ucdavis.memAvailSwap ( 

The graphs are working but the data labels in the Line Configuration and 
the graph do not show the labels I provided in snmpCol.conf. How do I
correct this?

I'm still trying to understand the memAvailReal and memAvailSwap values 
are returned. If anyone else is monitoring net-snmp agents on servers, can
you tell me the kind of objects you are monitoring?

Thanks very much.

Ray Westphal
Enteprise Rent-A-Car

To unsubscribe, e-mail: nv-l-unsubscribe AT lists.tivoli DOT com
For additional commands, e-mail: nv-l-help AT lists.tivoli DOT com

This is not an Offical Tivoli Support forum. If you need immediate
assistance from Tivoli please call the IBM Tivoli Software Group
help line at 1-800-TIVOLI8(848-6548)

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