Thank you.
But I know the FAQ.
I wrote the mail because it does not work
how it was explain in net-snmp help and
in the FAQ.

Please see:
I start with
C:\usr>snmpd -V -Lf log.txt -c
c:\usr\etc\snmp\snmpd.conf,c:\usr\etc\snmp\snmp.c
onf -m RFC-1212;WINDOWS-NT-PERFORMANCE
I want to get
C:\usr>snmpget -v1 -c public localhost .1.3.6.1.4.1.2021.101.2.0
and I get the correct answer
UCD-SNMP-MIB::snmperrNames.0 = STRING: snmp
Then I want to get
C:\usr>snmpget -v1 -c public localhost .1.3.6.1.4.1.311.1.1.3.1.1.1.1
and I get the answer
Error in packet
Reason: (noSuchName) There is no such variable name in this MIB
Failed object: WINDOWS-NT-PERFORMANCE::memoryAvailableBytes

The log file says
NET-SNMP version 5.1.2
Received SNMP packet(s) from 127.0.0.1
  GET message
    -- RFC1155-SMI::enterprises.2021.101.2.0
Received SNMP packet(s) from 127.0.0.1
  GET message
    -- WINDOWS-NT-PERFORMANCE::memoryAvailableBytes

I think that means,there are no values for enterprises.311
because this MIB was not correct loaded with -m option.
Why ? I don't no.What is also to do ?
The FAQ says the agent must be recompiled.Under Windows ?
I do not know how I can do it.
Please explain me how I can resolve this problem.

Best regards
Thomas

-----Original Message-----
From: Robert Story [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 20, 2005 5:19 PM
To: Wagner, Thomas
Cc: net-snmp-coders@lists.sourceforge.net
Subject: Re: Please Help


On Fri, 14 Jan 2005 12:31:07 +0100 Wagner, wrote:
WT> I want to add MIB RFC-1213 and WINDOWS-NT-PERFORMANCE.

See the FAQ:

http://www.net-snmp.org/FAQ.html#How_do_I_add_a_MIB_to_the_agent_

WT> >snmpd -V -LF log.txt -c c:\usr\etc\snmp\snmpd.conf.txt -D -I
WT> RFC-1212;WINDOWS-NT-PERFORMANCE

The -I flag is for controlling the loading of modules (ie code), not MIB
files.
The -m flag is for MIB files. The FAQ entry above will also explain why you
are
getting END OF MIB.


-- 
Robert Story; NET-SNMP Junkie
Support: <http://www.net-snmp.org/> <irc://irc.freenode.net/#net-snmp>
Archive:
<http://sourceforge.net/mailarchive/forum.php?forum=net-snmp-coders>

You are lost in a twisty maze of little standards, all different. 


-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to