[mrtg] Re: MRTG & Windows NT: creating a MIB from performance counters

Garth K. Williams garth.williams at home.com
Thu Sep 9 16:44:37 MEST 1999


In the perf2mib section of perfm.bat, you need to add the "SNA Connectios"
## sna as you have done, but you do not need to add SNA.MIB if you want to
add the SNA counters along with other performance counters.

If you want to add other counters, here is a perf2bib line that should work.
I added the SNA Connections as OID 20.

perf2mib perfmib.mib perfmib.ini memory 1 memory processor 2 CPU "Network
Interface" 3 net PhysicalDisk 4 pdisk LogicalDisk 5 ldisk "Paging File" 6
pagefile Process 7 process Redirector 8 redirector TCP 9 tcp IP 10 ip UDP 11
udp NetBEUI 12 netbeui "NBT Connection" 13 nbtconn "NWLink IPX" 14 nwlinkipx
"NWLink SPX" 15 nwlinkspx "RAS Total" 16 rastotal Server 17 server "Server
Work Queues" 18 srvrqueues Cache 19 cache "SNA Connections" 20 sna

This should add the SNA counter as .1.3.6.1.4.1.311.1.1.3.1.1.20.

You can download SNMP4NT.ZIP from http://snmp.cjb.net, which contains the
basic requirements for creating the performance counter MIB (perfmib.mib),
and with it comes the latest perfmib.dll and perf2mib.exe (fixes problems
where OIDs would return 0 when queried).

I hope this helps answer your question.

Garth

Garth K. Williams - Systems Engineer (MCP+I, MCSE, CNA)
Williams Technology Consulting Services
Edmonton, Alberta  Canada	Phone: (780) 469-4341

Web: http://www.wtcs.org	Email: mailto:garth.williams at home.com
Home of: http://snmp.cjb.net - SNMP for the Public Community


-----Original Message-----
From: mrtg-bounce at list.ee.ethz.ch [mailto:mrtg-bounce at list.ee.ethz.ch]On
Behalf Of Deflorio Angelo
Sent: Thursday, September 09, 1999 5:07 AM
To: mrtg at list.ee.ethz.ch
Subject: [mrtg] MRTG & Windows NT: creating a MIB from performance
counters


Hi all,
I have read it is possible to create a MIB from NT performance counters,
using perf2mib and mibcc on ResKit.
It works with NT performance counter (memory, cpu, and so on), as reported
on the help pages.
I'm trying to do the same with other performance counters, added by another
MS application (SNA Server 4.0 SP 2) and it does NOT work.
I'm using Windows NT Server 4.0 SP 4 with NT Resource Kit 4.0 and executing
the following command:
perf2mib sna.mib sna.ini "SNA Connections" 99 sna
it generates an empty sna.ini file and a sna.mib file containing only the
first part of the performance mib
(enterprises.microsoft.software.systems.os.winnt.performance).
Anybody knows what's wrong?
TIA

Angelo Deflorio
Netsiel S.p.A. - Bari (Italia)
+39 080 5092342
a.deflorio at netsiel.it

--
* To unsubscribe from the mrtg mailing list, send a message with the
  subject: unsubscribe to mrtg-request at list.ee.ethz.ch
* The mailing list archive is at http://www.ee.ethz.ch/~slist/mrtg

--
* To unsubscribe from the mrtg mailing list, send a message with the
  subject: unsubscribe to mrtg-request at list.ee.ethz.ch
* The mailing list archive is at http://www.ee.ethz.ch/~slist/mrtg


More information about the mrtg mailing list