What's the best way to store data in net-snmp? I assume it would be best
to save the data associated with its relevant mib node in the mib tree. I
notice that there is void pointer my_reg_void inside
netsnmp_handler_registration data structure, not sure if that's the best
place to save the data
On 06/11/2007, Andreas Mueller <[EMAIL PROTECTED]> wrote:
> I set the timeout in the open and register PDU to 15 seconds (to have
> some time for debugging), but it seems that the snmpd ignores these
> settings. It seems to repeat the request in 1 second interval 5 times
> and then closes the s
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On
> Behalf Of Dave Shield
> Sent: Tuesday, November 06, 2007 8:57 AM
> On 06/11/2007, Andreas Mueller <[EMAIL PROTECTED]> wrote:
>> I set the timeout in the open and register PDU to 15
>> seconds (to have
> How are you setting these timeo
On 06/11/2007, HongGuo Liu <[EMAIL PROTECTED]> wrote:
> I can't find the code which establish the socket.
In general, this tends to be handled by a call to 'snmp_open'.
In the case of the Net-SNMP agent, it's actually done at a
slightly lower level.
Have a look at the routine snmp_agent.c:init_m
On 06/11/2007, Andreas Mueller <[EMAIL PROTECTED]> wrote:
> I set the timeout in the open and register PDU to 15 seconds (to have
> some time for debugging), but it seems that the snmpd ignores these
> settings. It seems to repeat the request in 1 second interval 5 times
> and then closes the sessi
On 05/11/2007,<[EMAIL PROTECTED]> wrote:
> 1) I used the UCD-Style code and NET-SNMP code-syle generate the .c and .h
> file separately,but they are not same with the package that downloaded from
> http://www.net-snmp.org/.
It's not clear what you mean here.
There are a number of MIB modules withi
[ First - *please* don't mail me privately, without copying
any responses to the mailing list. I don't have the time
or inclination to offer private, unpaid, SNMP consultancy.
Keep discussions to the list, where others can both learn
and offer advice. Thanks. ]
On 02/1
On 01/11/2007, Ian P. Christian <[EMAIL PROTECTED]> wrote:
> I managed to get this working with 5.3.1 eventually with the following
> configuratoin:
>
> --enable-ucd-snmp-compatibility \
> --with-mib-modules="host ucd-snmp/dlmod ucd-snmp/diskio
> ip-mib/ipv4InterfaceTable agentx/subagent ag
Suppose a certain table is indexed by 3 different values, IDX1, IDX2, IDX3.
to store values in that table we would have to set OID's like:
IDX1 = 1; IDX2 = 1; IDX3 = 1 => OID: xxx.1.1.1
IDX1 = 1; IDX2 = 1; IDX3 = 2 => OID: xxx.1.1.2
IDX1 = 1; IDX2 = 1; IDX3 = 3 => OID: xxx.1.1.3
ID
hi,
In my agent,I want to add the 161 port into a mulitcast group but I can't
find
the code which establish the socket.How should I do? Thanks a lot!
Best Regards!
liuhg
-
On 06/11/2007, Войнович Андрей Александрович <[EMAIL PROTECTED]> wrote:
> i have problem while starting snmptrapd
> Nov 6 16:30:18 sashad snmptrapd[2293]: couldn't open 10.9.3.20 -- errno 98
> ("Address already in use")
> but there is no process that uses 162 socket
> here is snmptrapd.co
On 06/11/2007, xuxudong <[EMAIL PROTECTED]> wrote:
>I used net-snmp 5.1.1, have set up it successfully.
> When I want use snmpget to get AT table's information.
> But I can't get result , I can use snmpwalk and get the result like this:
>
> snmpwalk -v 2c -c public 127.0.0.1 at
>
> RFC1213-MIB:
Hello
i have problem while starting snmptrapd
when i try to start it i see in syslog the followin
Nov 6 16:30:18 sashad snmptrapd[2293]: NET-SNMP version 5.4.1
Nov 6 16:30:18 sashad snmptrapd[2293]: couldn't open 10.9.3.20 -- errno 98
("Address already in use")
but there is no process that uses
Thanks for the responses - it turned out I had the same IP address on
two interfaces. Once I brought one of them down, net-snmp worked
fine.
Thanks to Singh Rajendra for the tip, and thanks to the net-snmp
community for a great product.
Best,
Aleksey
On 9/21/07, Aleksey Tsalolikhin <[EMAIL PRO
Hi,SNMP coder:
I'm a new coder in SNMP, and now I have met some problem.
I used net-snmp 5.1.1, have set up it successfully. When I want use
snmpget to get AT table's information. But I can't get result , I can use
snmpwalk and get the result like this:
snmpwalk -v 2c -c public 127.0.0.
Hello,
I set the timeout in the open and register PDU to 15 seconds (to have
some time for debugging), but it seems that the snmpd ignores these
settings. It seems to repeat the request in 1 second interval 5 times
and then closes the session to my agentx subagent.
Here is the dump of the registe
On 05/11/2007, <[EMAIL PROTECTED]> wrote:
> I have called init_snmp("example_subagent") in my subagent daemon code,
> and created a example_subagent.conf under /user/local/shared/snmp.
Yes - that should work.
> When I run
> the su
17 matches
Mail list logo