Hello,
I am using net-snmp 5.0.8. I am trying the example code on the web: I have
my host registered as a trap receiver, and the code is as follows. I was
able to generate a trap on the sender side, but my reciever code just block
over select call. I don't understand why. The same piece of code
On Wed, 2005-05-18 at 15:47, Shobana Sampath wrote:
> What is the value of sysUpTime.0 and snmpTrapOID.0
> in oid format?
$ snmptranslate -IR -On sysUpTime.0
.1.3.6.1.2.1.1.3.0
$ snmptranslate -IR -On snmpTrapOID.0
.1.3.6.1.6.3.1.1.4.1.0
Dave
--
Hi Ekkehard.
Ekkehard Domning wrote:
-MinGW with MSYS using configure
I will check this. I would like to use Bloodshed, because is has an IDE
etc.
Meanwhile I solved the problem from my first post, but found new
problems :-(
To solve the problem
> 1540 D:\Misc\net-snmp-5.2.1\win32\net-snmp\net-s
Hi,
I implemented this code:
in_addr_t *addr;
> addr = (in_addr_t *)pdu->agent_addr;
>*addr = parse_address( "10.86.160.102" );
>
I also added this code:
cp = asn_build_string(cp, pkt_len,
(u_char) (ASN_IPADDRESS |
ASN_PRIMITIVE),
Thank you for the clarificationa nd help, now the
net-snmp snmptrapd can recieve the traps I send after
I fixed the snmpTrapOID
Thanks.
/Shobana
--- Dave Shield <[EMAIL PROTECTED]> wrote:
> On Wed, 2005-05-18 at 15:47, Shobana Sampath wrote:
> > What is the value of sysUpTime.0 and snmpTrapOID.0
>
On Fri, 2005-04-22 at 02:52, Jose Vergara wrote:
> im using ucd-snmp 4.2.6 and i'm trying to snmpset the sysDescr
> object but it fails. it is a read-only object right?
Correct - it's defined as "read-only", which means that you
can't issue a SET on it.
> is there some way to do this?
There is
Thank you, I can modify the trap information. What is
the value of sysUpTime.0 and snmpTrapOID.0 in oid
format? Because that is how I set the values in the
trap, oid=value.
Thanks.
/Shobana
--- Dave Shield <[EMAIL PROTECTED]> wrote:
> On Wed, 2005-05-18 at 12:21, Shobana Sampath wrote:
>
> > I tr
On Wed, 2005-05-18 at 12:21, Shobana Sampath wrote:
> I tried adding the 0 to the MIB oid
> (1.3.6.1.4.1.9.9.120.2.0.3.0) for the trap, but get
> the same error:
> Cannot find TrapOID in TRAP2 PDU
That's because you're setting your OID as the *name*
of the second varbind - not the *value*.
I'll
Hi,
I tried adding the 0 to the MIB oid
(1.3.6.1.4.1.9.9.120.2.0.3.0) for the trap, but get
the same error:
Cannot find TrapOID in TRAP2 PDU
I can use ucd-snmp as trap client successfully without
any changes to the oid.
Thanks.
/Shobana
*
netsnmp_udp: recvfrom fd 760
Install Perl:5.8.6 or 5.6.1 from ActiveState
http://www.activestate.com/Products/ActivePerl/
Modify snmpd.conf file so you can add the "rocommunity
" string attribute to it.
Let me know if that helps.
/Shobana
Here's what I have in my snmpd.conf:
mibdirs D:/net-snmp-5.2.1/share/snmp/mibs
persist
[ 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 Wed,
11 matches
Mail list logo