Hi,
>I need to prototype a stand-alone C application that uses the Net-SNMP
>library functions to send a SNMPv1 trap (e.g. coldStart). I have had
>very little success and I am looking for help. I am writing this
>application on a RedHat Linux platform.
I suggest looking at the code of the snmptra
Hi,
I would suggest to call agent_check_and_process with
parameter "0" to make it non-blocking and check your trap-conditions in the same
loop. Thats the way I do it.
regards
Wolfgang
Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Im Auftrag von
Nikanth KGesendet: Freitag, 28. April
Hi,
I am not quite sure:
Does the Instance in a table always has to be equal to the index?
For example a table with 3 entries, indices are 1,2 and 4.
Does that mean that the instances also have to be 1,2 and 4?
I think so but did not find a 100% confirmation so far...
Greetings
Wolfgang
Hi,
I do not know if anyone supports these sources any more but I found a memleak in
UCD-SNMP 4.2.5 yesterday.
It is a special case but it eats up memory very quickly:
If there is an SNMPv1 GET-Request which contains multiple OIDs
AND there are unknown OIDs in it
AND there are known OIDs before
Title: Message
Are we
talking about the 10892.mib here?
After
installing the dellomsa RPMs and adding
#
Allow Server Administrator to connect to ucd-snmp using SMUXsmuxpeer
.1.3.6.1.4.1.674.10892.1
to my
snmpd conf this worked fine for me. The dcsnmp32d attaches itself as an smux
suba
> Wolfgang> I am using create_trap_session, snmp_set_var_objid,
> Wolfgang> snmp_set_var_value and send_enterprise_trap_vars to generate
> Wolfgang> and send my traps (is this a clean way?).
> Wolfgang> create_trap_session lets mit specify that I want a V2c sink
> Wolfgang> and an inform and indeed
> > I was fighting with this myself,
> > did you add a createUser line to the snmptrapd.conf file in
> /var/net-snmp?
> >
> > This will send a coldstart-inform to snmptrapd on localhost
> with an uptime of 42
> > timeticks:
> > snmpinform -v 3 -u testuser -a MD5 -A password -x DES -X
> ppasswo
Hi,
I was fighting with this myself,
did you add a createUser line to the snmptrapd.conf file in /var/net-snmp?
This will send a coldstart-inform to snmptrapd on localhost with an uptime of 42
timeticks:
snmpinform -v 3 -u testuser -a MD5 -A password -x DES -X ppassword -l authPriv
localhost 42
Hi,
quite a while ago i wrote a small application based on UCD-SNMP 4.2.5 to send
SNMPv1 Traps from an embedded linux-device (ppc_linux) which works quite fine.
But now I have to extend it to send SNMPv2 INFORMS and here the trouble starts:
I am using create_trap_session, snmp_set_var_objid, snmp