Re: [EXTERNAL EMAIL] Re: snmpwalk doesn't always translate OIDs

2023-08-25 Thread Wes Hardaker via Net-snmp-users
Jan Andersen writes: > That gives me the desired output - but why the difference from the > version without '-mALL'? Hi Jan, This tutorial page should help you: http://www.net-snmp.org/wiki/index.php/TUT:Using_and_loading_MIBS -- Wes Hardaker USC/ISI ___

Re: [EXTERNAL EMAIL] Re: [EXTERNAL EMAIL] Re: snmpwalk doesn't always translate OIDs

2023-08-24 Thread Feroz
appropriate directory. > > > > > > > > > > > > On Wed, Aug 23, 2023 at 8:05 PM Jan Andersen > <mailto:j...@comind.io> > > > <mailto:j...@comind.io <mailto:j...@comind.io>>> wrote: > > > > > &g

Re: [EXTERNAL EMAIL] Re: snmpwalk doesn't always translate OIDs

2023-08-23 Thread Jan Andersen
em with snmpwalk in debian 11 - if I run something like: root@vogon:~# snmpwalk -v 2c -c netgear netgear1 SNMPv2-MIB::sysORID I get OIDs translated to text: SNMPv2-MIB::sysORID.1 = OID: SNMPv2-SMI::mib-2.96 SNMPv2-MIB::sysORID.2 = OID: SNMPv2-SMI::mib-2.32.2 SNMPv2-MIB

Re: snmpwalk doesn't always translate OIDs

2023-08-23 Thread Feroz
alk -v 2c -c netgear netgear1 SNMPv2-MIB::sysORID > > I get OIDs translated to text: > > SNMPv2-MIB::sysORID.1 = OID: SNMPv2-SMI::mib-2.96 > SNMPv2-MIB::sysORID.2 = OID: SNMPv2-SMI::mib-2.32.2 > SNMPv2-MIB::sysORID.3 = OID: SNMPv2-SMI::mib-2.32.1 > SNMPv2-MIB::sysORID.4 = OID: SNM

snmpwalk doesn't always translate OIDs

2023-08-23 Thread Jan Andersen
I have a curious problem with snmpwalk in debian 11 - if I run something like: root@vogon:~# snmpwalk -v 2c -c netgear netgear1 SNMPv2-MIB::sysORID I get OIDs translated to text: SNMPv2-MIB::sysORID.1 = OID: SNMPv2-SMI::mib-2.96 SNMPv2-MIB::sysORID.2 = OID: SNMPv2-SMI::mib-2.32.2 SNMPv2-MIB

Re: Querying available OIDs

2021-07-26 Thread Michael Schwartzkopff
ing the tree with getnext or getbulk would not really > feasible > for my use case, due it would take too much time in certain devices. > > Is there an established way to "just" query the tree of supported OIDs, > without > actually retrieving the value, or is

Querying available OIDs

2021-07-26 Thread Tobias Frost
e in certain devices. Is there an established way to "just" query the tree of supported OIDs, without actually retrieving the value, or is there some established "workaround"? Thanks in advacne for helping me in my noob question :) Cheers, tobi __

[netsnmp 5.9] python module goes "Segmentation fault" with some (binary) OIDs ?

2021-02-01 Thread Diego Billi
I downloaded Net-nsmp 5.9 sources and installed the python module compiled for python3. With some OID/MIBS my python program goes "Segmentation fault". The same python code tested with python 2.7 works. It think the problem raises when handling some binary values. In my test i just "walked"

Very slow OIDs registration / unregistration

2020-07-08 Thread Łukasz Bolda
Good Morning, I'm using net-snmp 5.8.0 (build from repository around 04.2020). The problem is that the registration of variables (and handlers) is very slow. It takes around a 30 secs for only 10 000 OIDs and 90 secs for 20 000 OIDs, so it's growing exponentially! Steps i made

snmpget and snmpbulkget return different OIDs

2019-10-28 Thread Michael W. Lucas
Am I holding this wrong, or is it worth a bug report? Verified on FreeBSD and CentOS. $ snmpget localhost sysUpTimeInstance DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (320554) 0:53:25.54 $ snmpbulkget -Cn1 localhost sysUpTimeInstance SNMPv2-MIB::sysContact.0 = STRING: nobody@nowhere.inval

How to block GET requests read some OIDs

2019-08-02 Thread 700 grm
Hi, Below is my snmpd.conf, which works perfectly, what I am trying to do is to block SNMP GETs to read some OIDs on the server, for example: allow GET everything except OIDs Starting with: .1.3.6.1.2.1.4.20.1.4.10. com2sec notConfigUser default public group notConfigGroup v2c

Re: Not matching on OIDs properly

2017-03-06 Thread Christopher Fredriksson
Strange with html links! Hope this new message works! :) traphandle .1.3.6.1.4.1.3000.1.1.1 /tmp/go respectively traphandle .1.3.6.1.4.1.3000* /tmp/go Den 2017-03-06 kl. 19:47, skrev Christopher Fredriksson: > > Hey all, > > Having trouble matching OIDs in Linux wi

Not matching on OIDs properly

2017-03-06 Thread Christopher Fredriksson
Hey all, Having trouble matching OIDs in Linux with snmptrapd. traphandle .1.3.6.1 <http://1.3.6.1/>.4.1.3000.1.1.1 <http://0.1.1.1/> /tmp/go does not trigger.. however the following does; traphandle .1.3.6.1 <http://1.3.6.1/>.4.1.3000* /tmp/go Of course, I'm sendi

Re: How to query all possible OIDs supported by SNMP agent?

2016-12-20 Thread Martin T
Thank you! Martin On Tue, Dec 20, 2016 at 12:03 PM, Ilya Etingof wrote: > > You will see only OIDs that are accessible under the 'public' community. > Depending on agent configuration, that may be all or just a subset of > OIDs it serves. > > AFAIK, a more formal ap

Re: How to query all possible OIDs supported by SNMP agent?

2016-12-20 Thread Ilya Etingof
You will see only OIDs that are accessible under the 'public' community. Depending on agent configuration, that may be all or just a subset of OIDs it serves. AFAIK, a more formal approach is to read SNMPv2-MIB::sysORTable where the agent should [indirectly] reference MIB objects i

How to query all possible OIDs supported by SNMP agent?

2016-12-20 Thread Martin T
Hi, am I correct that "snmpwalk -v 2c -c public ." will query all possible OIDs supported by SNMP agent in ? thanks, Martin -- Developer Access Program for Intel Xeon Phi Processors Access to Intel Xeon Phi

Re: oids not displayed as strings when send in traps

2014-10-07 Thread Dharm S
Thank You Bill. I am sorry that I had mentioned ServiceTime instead of StatusCodeIns. I included the string length and its working fine now. On Thu, Oct 2, 2014 at 6:29 PM, Bill Fenner wrote: > On Wed, Oct 1, 2014 at 8:04 AM, Dharm S wrote: > >> Hi All, >> >> I have the following in one of t

Re: oids not displayed as strings when send in traps

2014-10-02 Thread Bill Fenner
On Wed, Oct 1, 2014 at 8:04 AM, Dharm S wrote: > Hi All, > > I have the following in one of the notification template. > > const oid sipCommonCfgServiceStartTime_oid[] = { > 1,3,6,1,2,1,149,1,1,1,1,3, /* insert index here */ }; > > It has 3 index values : two integers and one string. > This is s

oids not displayed as strings when send in traps

2014-10-01 Thread Dharm S
Hi All, I have the following in one of the notification template. const oid sipCommonCfgServiceStartTime_oid[] = { 1,3,6,1,2,1,149,1,1,1,1,3, /* insert index here */ }; It has 3 index values : two integers and one string. How am I supposed to include the string value? i tried using row->indexe

Re: Experimenta OIDs usage

2014-05-13 Thread M.AMJAD
/local/bin/snmp_extender.py -g .1.3.6.1.3.55   When the snmp agent runs the script it will supply those arguments.   Alan   From:M.AMJAD [mailto:amji...@yahoo.com] Sent: Monday, May 12, 2014 10:16 PM To: Robson, Alan; Net-snmp-users@lists.sourceforge.net Subject: Re: Experimenta OIDs usa

RE: Experimenta OIDs usage

2014-05-13 Thread Robson, Alan
, Alan; Net-snmp-users@lists.sourceforge.net Subject: Re: Experimenta OIDs usage Hello,,, i tried the procedure u told, but it generates the following error, can anybody resolve, please. [amjid@localhost ~]$ /usr/local/bin/snmp_extender.py Traceback (most recent call last): File "

Re: Experimenta OIDs usage

2014-05-12 Thread M.AMJAD
or anything other than an example. I hope it helps, I’m not sure you’re going in the right direction though.   Good luck   Alan     From:M.AMJAD [mailto:amji...@yahoo.com] Sent: Thursday, May 08, 2014 11:55 PM To: Net-snmp-users@lists.sourceforge.net Subject: Experimenta OIDs usage   Hi,     i am

RE: Experimenta OIDs usage

2014-05-09 Thread Robson, Alan
JAD [mailto:amji...@yahoo.com] Sent: Thursday, May 08, 2014 11:55 PM To: Net-snmp-users@lists.sourceforge.net Subject: Experimenta OIDs usage Hi, i am trying to use experimental , but how to use (add) a personal OID or another one, please. for example i want to use 1.3.6.1.3.55 , so how

Experimenta OIDs usage

2014-05-08 Thread M.AMJAD
Hi,     i am trying to use experimental , but how to use (add) a personal OID or another one, please. for example i want to use 1.3.6.1.3.55 , so how to add & use 55 accessible, output is as follows, [root@localhost amjid]# snmpwalk -v 1 -c public localhost 1.3.6.1.3 End of MIB [root@loca

Dell MIB-OIDs mysteriously disappearing

2014-03-10 Thread Zynda, Bradley V. (GSFC-423.0)[ADNET SYSTEMS INC]
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hey all, Have started seeing Dell MIB OID's returning "no such object" here is a quick summary snippet of some of the email content. We are using Centos6.5 2.6.32-431.3.1.el6.x86_64 net-snmp.x86_641:5.5-49.el6 snmpd.conf snippets v

Re: no response from devices when querying multiple oids

2013-11-19 Thread Fulko Hew
On Tue, Nov 19, 2013 at 6:38 AM, Aleksandrs Saveljevs < aleksandrs.savelj...@zabbix.com> wrote: > I have played a bit more and the conjecture turned out to be (at least > partially) false. > > The way I played was attempt to query string objects with long values: > > $ snmpget -v 2c -c public 192.

Re: no response from devices when querying multiple oids

2013-11-19 Thread Aleksandrs Saveljevs
12 copies are queried, then it works OK by responding with a 1020-byte packet. Aleksandrs On 11/19/2013 10:59 AM, Aleksandrs Saveljevs wrote: > I have played with your suggestion by querying a different set of OIDs > and I am starting to think it might a limit not on the response size or &

Re: no response from devices when querying multiple oids

2013-11-19 Thread Aleksandrs Saveljevs
I have played with your suggestion by querying a different set of OIDs and I am starting to think it might a limit not on the response size or the number of OIDs, but on the size of the inbound UDP packet. So sometimes our device returned a response to 28 OIDs and failed on 29 OIDs, and

Re: no response from devices when querying multiple oids

2013-11-15 Thread Fredrik Björk
Hi! What if you replace "head -29 walk.txt" with "head -100 walk.txt | tail -29" to get another set of OIDs? Still 29 OK not 30? In that case, it's definitely D-link just supporting 29 OIDs just because they didn't feel more was required. /Fredrik PS dd-wrt on a

Re: no response from devices when querying multiple oids

2013-11-15 Thread Fredrik Björk
alk.txt | cut -d' ' -f1 | xargs snmpget -v 2c -c public 10.10.20.11 Too many object identifiers specified. Only 128 allowed in one request. Apparently, Trapeze fails to respond to a request with 128 OIDs in it, and snmpwalk refuses 129. 127 is rejected based on tooBig. The 128 case shoul

no response from devices when querying multiple oids

2013-11-15 Thread Aleksandrs Saveljevs
Good morning, We have some SNMP devices that do not respond to queries where the number of OIDs is over a certain limit. That is, they do respond to queries with N OIDs in the request, but return no response to queries with N+1 and more OIDs. We have originally discussed the issue on #net

How to force snmptrapd to pass pure numerical OIDs to the trap handler (readable)

2013-07-22 Thread Jurkiewicz Jean-Marc
/my_great_script cold The trap received by my traps handler, on Fedora 19 are no longer "pure" numerical, but looks like : SNMPv2-SMI::enterprises.9.9.215.2.0.1, when the trap handler expect pure numerical OIDs, as well as the my "private" trapd config file : # EV

How to force snmptrapd to pass pure numerical OIDs to the trap handler

2013-07-18 Thread Jurkiewicz Jean-Marc
::coldStart/usr/bin/bin/my_great_script cold The trap received by my traps handler, on Fedora 19 are no longer "pure" numerical, but looks like : SNMPv2-SMI::enterprises.9.9.215.2.0.1, when the trap handler expect pure numerical OIDs, as well as the my "private" trapd confi

need information about system health OIDS

2013-01-09 Thread Jatin Bodarya
Hey all, I need some information related to "system health" and different "QOS" of machine. Which standard OIDS I suppose to use for that ? Can anyone suggest me some good documents regarding that ? Using version : uname -a Linux manage 2.6.39.4-1smp #16

Re: How get OIDs from returned values in python net-snmp

2012-04-10 Thread Dave Shield
On 8 April 2012 17:50, standa dolinek wrote: > result = sess.walk(Vars) > print Vars[0].tag > print Vars[1].tag > > And i get: > > '.iso.org.dod.internet.mgmt.mib-2.interfaces.ifTable.ifEntry.ifPhysAddress' > '.iso.org.dod.internet.mgmt.mib-2.interfaces.ifTable.ifEntry.ifPhysAddress' That's corre

How get OIDs from returned values in python net-snmp

2012-04-08 Thread standa dolinek
Hello, It is true that I can get OID from response, but I cant find there attached index values.(When you are browsing table with SNMPWALK) - I use this code: import netsnmp OID = ".1.3.6.1.2.1.2.2.1.6" Var = netsnmp.Varbind(OID) Vars = netsnmp.VarList(Var) sess = netsnmp.Session(Version = 2, Dest

RE: snmptrapd - decoding OIDs not working

2012-03-20 Thread Steele, John
: Steele, John Cc: net-snmp-users@lists.sourceforge.net Subject: Re: snmptrapd - decoding OIDs not working On Mon, Mar 19, 2012 at 12:47 PM, Steele, John wrote: > I am trying to use net snmp to receive traps from a CISCO network component. > It is receiving the traps but is not decodin

Re: snmptrapd - decoding OIDs not working

2012-03-19 Thread Greg Oliver
Pv2-SMI::enterprises.9.9.41.1.2.3.1.4.147 = STRING: "CONFIG_I" > > SNMPv2-SMI::enterprises.9.9.41.1.2.3.1.5.147 = STRING: "Configured from > console > > by admin on vty0 (200.1.1.100)" > > SNMPv2-SMI::enterprises.9.9.41.1.2.3.1.6.147 = Timeticks: (51907902) 6

snmptrapd - decoding OIDs not working

2012-03-19 Thread Steele, John
.41.1.2.3.1.5.147 = STRING: "Configured from console by admin on vty0 (200.1.1.100)" SNMPv2-SMI::enterprises.9.9.41.1.2.3.1.6.147 = Timeticks: (51907902) 6 days, 0:1 1:19.02 -- As far as I can tell I have copied the CISCO MIBs into the correct place and the snmptranslate utility can tran

Re: A question about when traps for monitored OIDs should be sent

2012-02-03 Thread Dave Shield
On 2 February 2012 15:46, Miyaoka, Randy - IS.CONTRACTOR wrote: > Running with net-snmp 5.0.9 That's a very, very, *very* old version of the software! The code for automatic monitoring has been completely re-written from scratch since then. I would strongly encourage you to upgrade to something

A question about when traps for monitored OIDs should be sent

2012-02-03 Thread Miyaoka, Randy - IS.CONTRACTOR
Running with net-snmp 5.0.9 I have updated my snmpd.conf to support the monitoring of disk usage, processes, & load. As soon as snmpd is restarted, I can walk the portion of the mib holding the monitoring information and can see that erroneous conditions exist. But the traps are not sent until

Re: why snmpset doesn't work on some OIDs?

2011-12-28 Thread Dave Shield
On 11 December 2011 09:34, h bagade wrote: > I'm trying to set different OIDs on freebsd8.2 with use of snmpset. In some > cases it works but in others it doesn't! > > I was successful in setting sysName(1.3.6.1.2.1.1.5.0) and sysLocation( > 1.3.6.1.2.1.1.6.0) but

why snmpset doesn't work on some OIDs?

2011-12-11 Thread h bagade
Hi all, I'm trying to set different OIDs on freebsd8.2 with use of snmpset. In some cases it works but in others it doesn't! I was successful in setting sysName(1.3.6.1.2.1.1.5.0) and sysLocation( 1.3.6.1.2.1.1.6.0) but couldn't set ipForwarding( 1.3.6.1.2.1.4.1.0)

Re: How to register OIDs from an Object with the Agent when running embedded

2011-09-18 Thread Jon Jon
Whops, copied the wrong version, Try this: Note, test 1 and 2 work correctly, test 3 does not, but it is using the same instance of the object as test 2. Here are the snmpget commands I am using and their output: [root@elara trunk]# snmpget -v 1 -c debug localhost .1.3.6.1.4.1.99.1 SNMPv2-SMI

Re: How to register OIDs from an Object with the Agent when running embedded

2011-09-18 Thread Jon Jon
Hello All, To further expound on my previous post, what I am seeing is the required variables are not being passed to the object method like they are to the subroutine in the same package. (See my example below) Is there an issue with my code or is there a bug in NetSNMP? #!/usr/bin/perl # use

Re: How to register OIDs from an Object with the Agent when running embedded

2011-09-18 Thread Jon Jon
Hello Dave, Thanks for your response, I think perhaps there is an issue with the way in which I am registering my plugin modules. After looking over you response and comparing my original version vs my new version, I don't think I am even getting that far in my program execution. When I execute:

Re: How to register OIDs from an Object with the Agent when running embedded

2011-09-15 Thread Dave Shield
On 14 September 2011 18:30, Jon Jon wrote: >     my ($handler, $registration_info, $request_info, $requests) = @_; > >     my $this_request = $request->next(); > When run I get the following error: > Can't call method "next" on an undefined value at > /root/snmp_monitor/trunk/SNMPMonitor/Plugin

How to register OIDs from an Object with the Agent when running embedded

2011-09-14 Thread Jon Jon
Hello All, I am not sure if this is really the right place to ask, if it isn't could you please point me to the right place to ask? Anyway, I am working on building a Perl based pluggable architecture for my custom SNMP monitors. The problem I am having is registering my OIDs and their re

Re: UC Davis & net-SNMP OIDs

2011-03-22 Thread Dave Shield
On 22 March 2011 13:32, Jaime Lozano wrote: > Are the OIDs .1.3.6.1.4.1.2021 (UC Davis) and .1.3.6.1.4.1.8072 (net-SNMP) > obsolete? No. Dave -- Enable your software for Intel(R) Active Management Technology t

UC Davis & net-SNMP OIDs

2011-03-22 Thread Jaime Lozano
Hi, Are the OIDs .1.3.6.1.4.1.2021 (UC Davis) and .1.3.6.1.4.1.8072 (net-SNMP) obsolet? I have a machine that uses this OIDs. Thanks -- Enable your software for Intel(R) Active Management Technology to meet the growing

Re: Sharing a cache between different OIDs

2011-03-02 Thread Dave Shield
On 2 March 2011 11:28, Alec Edgington wrote: > The MFD framework makes it easy to implement a table with its own > cache. But I cannot see an obvious way to get several different tables > (and scalars) to share a single cache. Have a look at the code for the ifXTable (if-mib/ifXTable/*) This sha

Sharing a cache between different OIDs

2011-03-02 Thread Alec Edgington
Hello, I am trying to implement a subagent, making as much use as I can of mib2c (and so far I've been trying to use the MFD framework). The problem is that my MIB consists of groups of tables and scalars which I want to share a small number of underlying caches. The MFD framework makes it easy

Re: Translating OIDs to readable text format

2011-02-24 Thread Wes Hardaker
>>>>> On Thu, 17 Feb 2011 19:44:21 +0530 (IST), John Trivolta >>>>> said: JT>  But all the OIDs that processed through this PERL program are also JT> getting translated. I don’t want this to happen. I want the JT> translation to happen only for the statem

Translating OIDs to readable text format

2011-02-17 Thread John Trivolta
eObj (“.iso.org.dod.internet.private.enterprises.2496.1.1.5.5.1”);   $text is having the value as : tpAlarmId   This is fine.    But all the OIDs that processed through this PERL program are also getting translated. I don’t want this to happen. I want the translation to happen only for the statements in which I invoke translat

Re: not able to register multiple OIDs

2011-02-10 Thread Dave Shield
On 10 February 2011 09:56, Rohit Tiwary wrote: > I am using SNMP4JAgent api I suggest that you contact the SNMP4J people with this query. The net-snmp-users list is purely for support of the Net-SNMP software. Most of us have little or no experience with SNMP4J See http://www.snmp4j.org for mo

not able to register multiple OIDs

2011-02-10 Thread Rohit Tiwary
Hi All, I am working on SNMP Agent part and i have to register multiple oid`s in my agent.But i am not able to register.Below is the code snippet i am writing.I am using SNMP4JAgent api OID oid = new OID(omOid); unregisterManagedObject(getSnmpv2MIB()); registerManage

Re: problem encountered while issuing multiple snmpset on octetstring oids

2010-10-18 Thread Leo Lin
: From: Dave Shield Subject: Re: problem encountered while issuing multiple snmpset on octetstring oids To: "Leo Lin" Cc: "Net-snmp-users" Date: Monday, October 18, 2010, 7:31 AM On 18 October 2010 15:13, Leo Lin wrote: > Then, I issue an snmpset and modify the contents

Re: problem encountered while issuing multiple snmpset on octetstring oids

2010-10-18 Thread Dave Shield
On 18 October 2010 15:13, Leo Lin wrote: > Then, I issue an snmpset and modify the contents to a strlen less than > 'private' (7). > snmpset does it right the first time, but consecutives calls to snmpset, > gives me the remainder of 'private' It sounds as if you are forgetting to add the null t

problem encountered while issuing multiple snmpset on octetstring oids

2010-10-18 Thread Leo Lin
Hi,   I'm using net-snmp-5.6.rc1, and I just encontered a strange behavior while issuing multiple snmpset on octet string oids.   I have an oid that holds an octet string.  When my module is initialized, the contents of the oid is initialized to "private".   Then, I issue an snmp

snmpget timeout error on multiple counter64 OIDs

2010-05-11 Thread X Z
Hi, I ran into snmpget timeout error when running snmpget -v2c -c public xxx OID1 OID2 and it only happened when both OID1 and OID2 are of type counter64. snmpget on either OID1 or OID2 can return the correct counter64 value. It worked just fine if I ran "snmpget -v2c -c public xxx OID3 OID4" wh

Re: How get OIDs from returned values in python net-snmp-5.4.2 module

2010-03-25 Thread Dave Shield
On 25 March 2010 06:34, Alexey Kostyuk wrote: > When I try to get it via python using this code: >>>> vals = sess.walk(vars) >>>> print vals[0:3] > ('2', '3', '3') > > the output output contains only returned values > > How

How get OIDs from returned values in python net-snmp-5.4.2 module

2010-03-25 Thread Alexey Kostyuk
Hi! I use python net-snmp module for retrieve some info via snmp. When I use snmpwalk from net-snmp-utils output will be contain values and his OIDs, like in this example: [u...@unit mibs]$ snmpwalk -Cc -c public -v1 10.50.252.1 1.3.6.1.2.1.10.94.1.1.14 SNMPv2-SMI::transmission

Re: Using snmptranslate to list ALL OIDs in my private MIB directory?

2010-03-22 Thread camel joe
On Sat, Mar 20, 2010 at 3:47 AM, Dave Shield wrote: > On 19 March 2010 23:09, camel joe wrote: >> I still cannot figure out how to make snmptranslate command >> to print out ALL the OIDs, including ones in my own MIB files. >> >> ./snmptranslate -Tso -M /home

Re: Using snmptranslate to list ALL OIDs in my private MIB directory?

2010-03-20 Thread Dave Shield
On 19 March 2010 23:09, camel joe wrote: > I still cannot figure out how to make snmptranslate command > to print out ALL the OIDs, including ones in my own MIB files. > > ./snmptranslate -Tso -M /home/jvwb-mibs/smtsMibs Try snmptranslate -Tso -M /home/jvwbmibs/smtsMibs -m all

Using snmptranslate to list ALL OIDs in my private MIB directory?

2010-03-19 Thread camel joe
Hi, I am just new with this tool and, after reading the FAQ and googled the topic, I still cannot figure out how to make snmptranslate command to print out ALL the OIDs, including ones in my own MIB files. I treid the following command: ./snmptranslate -Tso -M /home/jvwb-mibs/smtsMibs But it

Re: snmptranslate retrieve all OIDs and one of the scalars in one of the tables send trap

2010-03-19 Thread Dave Shield
On 19 March 2010 10:50, Alexander King wrote: > 1. How to use the command 'snmptranslate' get all the OIDs defined in my > private MIB? See the FAQ entry about adding MIBs to the client tools. > diskTable is a table included many scalars about each disk properties &

snmptranslate retrieve all OIDs and one of the scalars in one of the tables send trap

2010-03-19 Thread Alexander King
Hi Dave and all: 1. How to use the command 'snmptranslate' get all the OIDs defined in my private MIB? 2. I printed the snmpd(5).conf the piece of something about 'Active Monitoring' for my own use. the manual is helpful. there is a problem.diskTable is a table include

Little OT - Mock agent for testing SNMP OIDs - any OID, would prefer to use Net-SNMP for the basis of this

2010-01-27 Thread Max Schubert
Hi all, I have been searching through the Net-SNMP source to see if there is a framework to do with with Net-SNMP, tried to set pass_persist up to do this, does not seem it will let me overwrite responses to built in OIDs. I really want a regression testing framework for our SNMP-based programs

Re: OIDs

2010-01-13 Thread Rick Dicaire
On Wed, Jan 13, 2010 at 5:18 PM, Dave Shield wrote: > What version of Net-SNMP is installed on the two systems? > There has been a significant re-write of the sensors MIB > recently, which might be one possible explanation of the > different indexes. As I mentioned previously, the sensors and UC

Re: OIDs

2010-01-13 Thread Dave Shield
2010/1/7 Rick Dicaire : > Hi folks...I have a dualboot machine, 32 bit hardware, fedora 11 and > opensuse 11.2. Running net-snmp, with lmsensors support. > The kernel versions of course differ, as do the sensors3 pkgs, and > likely the net-snmp pkg versions as well. What version of Net-SNMP is i

Re: OIDs

2010-01-13 Thread Rick Dicaire
On Wed, Jan 13, 2010 at 11:41 AM, Ron Rader wrote: > >  If I read your OIDs correctly, .1.3.6.1.4.1.2021.13.16.2.1.3 simply > identifies lmTempSensorsValue, of which there may be more than one > Gauge32 instance on any particular host. > >  Apparently, your two installati

RE: OIDs

2010-01-13 Thread Ron Rader
ce on two different > linux installations on the same machine? If I read your OIDs correctly, .1.3.6.1.4.1.2021.13.16.2.1.3 simply identifies lmTempSensorsValue, of which there may be more than one Gauge32 instance on any particular host. Apparently, your two installations simply map CPU tempe

OIDs

2010-01-13 Thread Rick Dicaire
What determines the OIDs associated with various resources covered by a MIB? Why would the OID be different for the same resource on two different linux installations on the same machine? Thanks -- aRDy Music and Rick Dicaire present: http://www.ardynet.com http://www.ardynet.com:9000/ardymusic.og

Re: InBuilt OIDs supported by snmpd

2010-01-11 Thread Dave Shield
2010/1/11 Alexander King : > I ususlly use 'snmpwalk -v2c -c public localhost' to get all the > inbuilt OID information. Except that this will only retrieve the *standard* MIB information. It won't pick up any vendor-specific MIBs. Nor will it necessarily retrieve anything that needs particular c

Re: InBuilt OIDs supported by snmpd

2010-01-11 Thread Dave Shield
2010/1/8 Peyush Kumar : > I understand some inbuilt OIDs (can be queried using SNMP Get) > from snmpD > > From where can I obtain this "complete" See the file README.agent-mibs > If I need to supress the support of SNMP Get on these OIDs in > my deployment what can

Re:InBuilt OIDs supported by snmpd

2010-01-11 Thread Alexander King
try :snmpwalk in CLI I ususlly use 'snmpwalk -v2c -c public localhost' to get all the inbuilt OID information. -- Original -- From: "Peyush Kumar"; Date: Mon, Jan 11, 2010 02:17 PM To: "net-snmp-users"; Subje

InBuilt OIDs supported by snmpd

2010-01-10 Thread Peyush Kumar
Hi, I understand some inbuilt OIDs (can be queried using SNMP Get) from snmpD >From where can I obtain this "complete" list Is it possible to supress the support of SNMP Get on these OIDs in a particular deployment

InBuilt OIDs supported by snmpd

2010-01-07 Thread Peyush Kumar
Hi, I understand some inbuilt OIDs (can be queried using SNMP Get) from snmpD >From where can I obtain this "complete" If I need to supress the support of SNMP Get on these OIDs in my deployment what can be done

OIDs

2010-01-07 Thread Rick Dicaire
LMSENSORS MIBs are identical. The kernel modules related to lmsensors that get loaded are identical. The kernel versions of course differ, as do the sensors3 pkgs, and likely the net-snmp pkg versions as well. What determines the OIDs associated with various resources covered by a MIB? Why would

Re: How do I modify the init_XXX(void) function get OIDs use mib2c.table_data.conf template???

2009-12-01 Thread Dave Shield
2009/12/1 飞飞 : > when my mib is a simple table,I > use mib2c.table_data.conf,I cannot get oids in init_uit() function. > void > init_uit(void) > { > > /* here we initialize all the tables we're planning on supporting */ >     initialize_table_diskSystemTable(); >

How do I modify the init_XXX(void) function get OIDs use mib2c.table_data.conf template???

2009-12-01 Thread 飞飞
Hi all: when I use template mib2c.scalar.conf I get OIDs in init_uit() rightly(My mib data entries are all simply scalars);but when my mib is a simple table,I use mib2c.table_data.conf,I cannot get oids in init_uit() function. I want to some one tell me where I am wrong and how to fix it

Re: problem using numeric OIDs in Perl?

2009-11-25 Thread Fulko Hew
On Wed, Nov 25, 2009 at 12:35 PM, Mike Ayers wrote: > > From: Fulko Hew [mailto:fulko@gmail.com] > > Sent: Wednesday, November 25, 2009 9:11 AM > > > $val = $sess->get('sysLocation.0'); # this WORKS > > #$val = $sess->get('1.3.6.1.2.1.1.6.0'); # this DOESN'T > >

RE: problem using numeric OIDs in Perl?

2009-11-25 Thread Mike Ayers
> From: Fulko Hew [mailto:fulko@gmail.com] > Sent: Wednesday, November 25, 2009 9:11 AM > $val = $sess->get('sysLocation.0'); # this WORKS > #$val = $sess->get('1.3.6.1.2.1.1.6.0'); # this DOESN'T ^ | The proper notati

problem using numeric OIDs in Perl?

2009-11-25 Thread Fulko Hew
I have the following trivial test code that doesn't work, and I haven't yet found any documentation that will tell me why not. #! /usr/bin/perl use SNMP; $sess = new SNMP::Session(DestHost => 'localhost', Community => 'public', Version => 1); $val = $sess->get('sysLocation.0'); # this WOR

about nlmLogVariableTable and nlmLogVariable*Val OIDs

2009-10-28 Thread Raphaël 'SurcouF' Bordet
otification_log", -"adding a row to the variables table\n")); + "adding a row to the variables table. Name: %d. Type: %d. Value: %d. Len: %d\n", + col, vptr->type, vptr->val.string, vptr->val_len));

Re: Segfault on 5.4.2.1 (Redhat) when using DISMAN-SCHEDULE-MIB cron or repeat directives with numeric OIDs

2009-09-30 Thread Max
Hi, I found and fixed the crash in the DISMAN-SCHEDULE-MIB handler, will post the bug and the fix i found this week (bug due to a developer passing an inline conditional to a macro that they probably thought was a function) in the file agent/mibgroup/disman/schedule/schedCore.c So now I am seein

Re: Segfault on 5.4.2.1 (Redhat) when using DISMAN-SCHEDULE-MIB cron or repeat directives with numeric OIDs

2009-09-20 Thread Thomas Anders
Max wrote: > Follow up .. GDB output: Please open a bug report on http://www.net-snmp.org/bugs and post your full details there to make sure it won't get lost. +Thomas -- Come build with us! The BlackBerry® Developer C

Re: Segfault on 5.4.2.1 (Redhat) when using DISMAN-SCHEDULE-MIB cron or repeat directives with numeric OIDs

2009-09-19 Thread Max
Follow up .. GDB output: 0 0x006fe285 in memmove () from /lib/libc.so.6 #1 0x00cc1b22 in snmp_set_var_value (vars=0x95d19d0, value=0x1 , len=10) at snmp_client.c:895 #2 0x00cf1caa in snmp_varlist_add_variable (varlist=0x9583300, name=0x0, name_length=0, type=4 '\004', value=0x1 , len=10

Segfault on 5.4.2.1 (Redhat) when using DISMAN-SCHEDULE-MIB cron or repeat directives with numeric OIDs

2009-09-19 Thread Max
Hi, Trying to schedule the agent to call an SNMP set on a module that is implemented through the agent using the pass_persist framework: * We can call the SET from the command line using snmpset without issue * Using symbolic OIDs for built-in MIBs does *NOT* trigger the segfault (for example

RE: Two subagents register with same context and different set of OIDs with SNMPD

2009-04-06 Thread venkatasuresh.pamidipati
pati, Suresh [NETPWR/INDIA/HYDE] Cc: net-snmp-users@lists.sourceforge.net Subject: Re: Two subagents register with same context and different set of OIDs with SNMPD 2009/4/3 : > We have two subagents registering different set of OIDs with same > context name with SNMPD. We noticed that as s

Re: Two subagents register with same context and different set of OIDs with SNMPD

2009-04-03 Thread Dave Shield
2009/4/3 : > We have two subagents registering different set of OIDs with same context > name with SNMPD. We noticed that as soon as the second subagent registers > it's OIDs with the same context, the registrations of first subagent are > removed at SNMPD. This is observed in s

Two subagents register with same context and different set of OIDs with SNMPD

2009-04-03 Thread venkatasuresh.pamidipati
All, We are using Net-snmp-5.0.8 version in one of our projects. We have two subagents registering different set of OIDs with same context name with SNMPD. We noticed that as soon as the second subagent registers it's OIDs with the same context, the registrations of first subagent are re

Re: net-snmp 5.4.1 writing to deprecated OIDs

2009-01-22 Thread Dave Shield
2009/1/21 Mohr James : > It seems that the change was already there in 5.3.x. Is that correct? The 'hardware/memory' code was present in the 5.3.x distributions, but wasn't used by default. It had to be explicitly selected when compiling the agent. The switch to using this by default came with

AW: net-snmp 5.4.1 writing to deprecated OIDs

2009-01-21 Thread Mohr James
> > Can you tell me when it changed from the lifetime average > to a 1-minute average? > > On what architecture? > The problem with the older code is that on some operating > systems it was a 1-minute average, and on other operating > systems, it was a lifetime average. > For the same code. >

Re: net-snmp 5.4.1 writing to deprecated OIDs

2009-01-21 Thread Dave Shield
2009/1/16 Mohr James : > Although deprecated, can we say the values in the [average] OID are more or > less accurate? The code for calculating the average values is based on exactly the same underlying data as that for the raw counters. So the accuracy should be the same in both cases. > Can

AW: net-snmp 5.4.1 writing to deprecated OIDs

2009-01-16 Thread Mohr James
email.com] Im Auftrag von Dave Shield > Gesendet: Mittwoch, 14. Januar 2009 15:38 > An: Mohr James > Cc: net-snmp-users@lists.sourceforge.net > Betreff: Re: net-snmp 5.4.1 writing to deprecated OIDs > >From a purist point of view, these objects were fundamentally broken, > an

Re: using symbolic names in oids

2009-01-15 Thread Dave Shield
2009/1/14 Mike Ayers : >> > $ snmpwalk -v 2c -c mll-O 'lb001.geni.com vsvrTotHits."www"' >> >> The problem with that command is that the shell will swallow >> the double quotes. These need to be passed to the SNMP >> command, so that it can distinguish between implied string >> index values ('www

RE: using symbolic names in oids

2009-01-14 Thread Mike Ayers
> From: dave.shi...@googlemail.com > [mailto:dave.shi...@googlemail.com] On Behalf Of Dave Shield > Sent: Wednesday, January 14, 2009 12:55 AM > 2009/1/13 Mike Ayers : > >Try: > > > > $ snmpwalk -v 2c -c mll-O 'lb001.geni.com vsvrTotHits."www"' > > The problem with that command is that t

Re: net-snmp 5.4.1 writing to deprecated OIDs

2009-01-14 Thread Dave Shield
2009/1/13 Mohr James : > From what I have found, it appears that net-snmp 5.4.1 is writing to > UCD-SNMP-MIB::ssCpuIdle. According to the MIB file, this one of several > OIDs that were deprecated several years ago in favor of the "raw" > values. The problem with this MIB

AW: net-snmp 5.4.1 writing to deprecated OIDs

2009-01-14 Thread Mohr James
-Ursprüngliche Nachricht- Von: Mike Ayers [mailto:mike_ay...@tvworks.com] Gesendet: Dienstag, 13. Januar 2009 21:47 An: Mohr James; net-snmp-users@lists.sourceforge.net Betreff: RE: net-snmp 5.4.1 writing to deprecated OIDs > From: Mohr James [mailto:james.m...@elaxy.com] >

  1   2   3   >