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
___
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
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
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
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
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
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
__
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"
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
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
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
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
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
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
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
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
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
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
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
/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
, 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 "
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
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
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
-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
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.
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
&
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
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
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
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
/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
::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
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
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
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
: 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
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
.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
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
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
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
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)
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
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
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:
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
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
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
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
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
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
>>>>> 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
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
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
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
:
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
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
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
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
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
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
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
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
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
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
&
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
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
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
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
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
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
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
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
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
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
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
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
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
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();
>
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
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
>
>
> 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
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
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));
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
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
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
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
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
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
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
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
> > 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.
>
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
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
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
> 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
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
-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 - 100 of 211 matches
Mail list logo