Hi
Dave,
Well I tried adding these lines in subagent code reg =
netsnmp_create_handler_registration(myobject,
myobject_handler,oid,oid_len,HANDLER_CAN_RWRITE);
reg->contextName = strdup("mycontext");
netsnmp_register_handler(reg);and tried sending snmpget comma
Thanks,Dave. I am using 5.0.9 net-snmp on blackfin uclinux.I can see the
codes under agent/mibgroup/agentx/ are not compiled. Dose it mean that the
agentx is not used?And the resule is "snmpd: invalid option -- X " when run
"snmpd -f -Le -X".> I add the agentxRetries 0 to snmpd.conf.
> when ru
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On
> Behalf Of McGowen, Wendy
> Sent: Thursday, January 03, 2008 1:32 PM
> Thanks Mike - as it turns out, it was an initialization problem in the
> AgentX agent.
Which reveals one of the most important operational principles of SNMP
Thanks Mike - as it turns out, it was an initialization problem in the
AgentX agent.
I modified the test program I wrote yesterday (based on notification.c)
to send our trap OID, and the receivers did receive the trap. While
debugging, I noticed that there were some initialization steps that wer
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On
> Behalf Of McGowen, Wendy
> Sent: Thursday, January 03, 2008 6:18 AM
> Here's the trap stuff from my MIB:
>
> pivot3 OBJECT IDENTIFIER ::= { enterprises 25148 }
>
> pvt3System MODULE-IDENTITY
> LAST-UPDATED "200712
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Dave Shield
> Sent: Thursday, January 03, 2008 3:02 AM
> The simplest short-term fix would probably be to edit the
> 'snmptrapd.c' file,
> and set the 'agentx_subagent' flag to be 0. Or else use the
That works nicely.
> From: Jack G Atkinson Jr [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, January 02, 2008 10:03 PM
> Sorry, I forgot to put in the row number in my email. It it's there.
>
> Also, It has no trouble finding the adGenEasyBridgeIndexNext
> object ID, but it can't find the adGenEasyBridgeRowStatus
OK, I think I have found the problem...
When I try to "manually" install the Perl modules by entering the
net-snmp-5.4.1/perl directory and running the "perl Makefile.PL/make/make
test/make
install" procedure, I run into the following error when I run "make test":
Can't load '../blib/arch/auto
Our internal network is finally back up, so I was able to test my theory
from yesterday (it stinks coming back from vacation and not being able
to get any work done!):
I created an AgentX agent based on the sample 30-second heartbeat code
and ran it on a system that did not have snmpd compiled wit
On 3 Jan 2008 13:26:45 -, girish <[EMAIL PROTECTED]> wrote:
> Well I tried looking how can I use the api register_mib_context.
> But dint find much on tat. Can u help me how can I use this call to
> register my entire MIB with a contextName??
Please read the FAQ entry that I pointed you at.
Th
Hi Dave,Thanks for the replyWell I tried looking how can I use the api
register_mib_context.But dint find much on tat. Can u help me how can I use
this call to register my entire MIB with a contextName??
Regards,
Girish-
Thi
On 03/01/2008, Mariusz Iwański <[EMAIL PROTECTED]> wrote:
> NET-SNMP version: 5.1.2
That's a very old version of the software
(and is no longer being maintained).
We would strongly recommend that you upgrade to a more
recent release - preferably 5.4.1
> The HOST-RESOURCES-MIB.txt (MIB package
Hello.
I'm new to SNMP and have some problems. I tried to find solution on
Google and this miling list ... but I didint find solution.
NET-SNMP version: 5.1.2
OS : Slackware 10.2.0
The problem is with : (OID: .1.3.6.1.2.1.25.1.6.0,
HOST-RESOURCES-MIB::hrSystemProcesses.0)
When i try to get th
On 03/01/2008, goon863 <[EMAIL PROTECTED]> wrote:
> I add the agentxRetries 0 to snmpd.conf.
> when run "snmpd -f -L &",it shows "Warning: Unknown token: agentxRetries".
That should have worked.
Are you working with a vendor-supplied distribution, or one you compiled
yourself? Which version?
Ar
On 03/01/2008, zhaihongwei2002 <[EMAIL PROTECTED]> wrote:
> zhaihongwei:/home/a/ly/new/net-snmp-5.1.1# make
First thing - that is a *very* old version of the software,
and is no longer actively supported. I'm surprised it
even includes embedded perl support.
If you are compiling from source, pl
On 02/01/2008, Mike Ayers <[EMAIL PROTECTED]> wrote:
> I seem to be unable to prevent snmptrapd from trying to open an AgentX
> connection, even though I have set "doNotRetainNotificationLogs yes" in
> my snmptrapd.conf. What's the magic word?
Hmmm There doesn't appear to be a run-t
On 02/01/2008, Xuan Pan <[EMAIL PROTECTED]> wrote:
> 2. I am using table_iterator to implement it by referencing the example
> code of vacm_context.c. Am I choosing the right handler?
It's impossible to answer that question.
The iterator helper is a perfectly reasonable choice for
implementing a t
On 28 Dec 2007 05:59:57 -, girish <[EMAIL PROTECTED]> wrote:
> I want to set the context name only for my MIB.
Please see the FAQ entry
How can I register a MIB module in a different (SNMPv3) context?
http://www.net-snmp.org/wiki/index.php/FAQ:Coding_22
Dave
---
On 26/12/2007, Jack G Atkinson Jr <[EMAIL PROTECTED]> wrote:
>> It sounds suspiciously as if the python interface can't find the MIB
>> definitions. Where is this file installed?
> It is located in /usr/local/share/snmp/mibs directory or
> (c:\tools\cygwin\usr\local\share\snmp\mibs from Windows'
On 20/12/2007, Kuczynski, Edward <[EMAIL PROTECTED]> wrote:
> Secondly, I'd like to go and retrieve updated data every time a get is
> requested.
In general, it's probably not a good idea to reload updated data for
*every* request. This can be very inefficient - particularly when
walking a large
On 24/12/2007, Kuczynski, Edward <[EMAIL PROTECTED]> wrote:
> Is mib2c.table_data.conf used anymore?
Which version of mib2c.table_data are you referring to?
What does the code generated by this template look like?
Is the table registered using "netsnmp_register_table_data()"
or "netsnmp_tdata_re
Hi,
I want to control the agent to agentxRetries 1 times.I add the agentxRetries
0 to snmpd.conf.when run "snmpd -f -L &",it shows "Warning: Unknown token:
agentxRetries".Is there any way to agentxRetries 1 times?Where to change the
code net-snmp?Is it
netsnmp_ds_set_int(NETSNMP_DS_APPLICATIO
Hello,
I'm having problems compiling net-snmp in a Debian Sarge. First I do:
./configure --enable-embedded-perl --enable-shared
And I get no errors. But then I do:
./make
And It doesn't finish correctly, I don't really know a lot about
compiling so i copy here the standar output of "make":
23 matches
Mail list logo