snmp traps problem

2005-03-04 Thread C Harikumar
Hi, All I want to send SNMP trap when some value is set into variable with OID example_string_oid,defined below. I have written the code as below. where example_string_oid is OID of my variable. -->For sending & receiving TRAPs i am using net-snmp-5.0.6. /* local variable declaration in write m

implementing an oid indexed table

2005-03-04 Thread Michael P. Soulier
Hello, Using mib2c, and with lots of help from #net-snmp, I've implemented a module that I intend to implement part of one of our MIBs, specifically, mitelAppTable. .iso(1).org(3).dod(6).internet(1).private(4).enterprises(1).mitel(1027).mitelPro prietary(4).mitelPropApplications(1).mitelAppCommo

Problem porting from 4.2.5 to 5.0.6

2005-03-04 Thread Toth, Gregory S
We are attempting to migrate our applications from ucd-snmp (4.2.5) to net-snmp (5.0.6). One of our applications is based on the trap daemon (snmptrapd). We finally got our application to compile, mainly by replacing things like: struct sockaddr_in *pduIp = (struct sockaddr_in *)&(pdu->address)

RE: Problem calling a shellscript via the pass command

2005-03-04 Thread Thomas Markus Stephan
Thomas, Bruce, Thanks for the hint! Next week I´ll try to run my script. I am going to inform you how its worked out> Best regards, Thomas -Original Message- From: Thomas Anders [mailto:[EMAIL PROTECTED] Sent: Friday, March 04, 2005 12:44 PM To: net-snmp-coders@lists.sourceforge.net Su

doubt in net-snmp

2005-03-04 Thread yamuna.jayachandran
Hi, I visited your site .I have some problem while using snmp commands.Subagent is created and table is registered with master  agent. While using the snmpwalk  command it displays only few entries  and  shows the following error Error in packet.Reason: (genError) A general failure occuredFai

Re: Problem calling a shellscript via the pass command

2005-03-04 Thread Thomas Anders
Thomas Markus Stephan wrote: # tar -xf net-snmp-5.2.1.tar tar: directory checksum error [...] Does someone know, what went wrong? Use GNU tar for unpacking net-snmp-5.2.1.tar, not Solaris tar. (For most other purposes, rather stick with a [fully patched] Solaris tar, though.) +Thomas -- Thomas And

Re: Documentation: SNMP Programmers Guide

2005-03-04 Thread Dave Shield
On Sat, 2005-02-19 at 10:17, Ben Rockwood wrote: > I've long been frustrated by the poor documentation available for > Net-SNMP so I wrote my own manual a while back > I hope it can be useful. Thank you for that. I've had a look through it, and there's a lot of good stuff there. Howeve

RE: Problem calling a shellscript via the pass command

2005-03-04 Thread Bruce Shaw
>-rw-r--r-- 1 root other9754141 Jan 31 14:25 netsnmp-5.1.1-sol9-sparc-local.gz >I downloaded net-snmp-5.2.1.tar.gz from several mirrors like Phoenix, Minneapolis and Sidney. >When I try to extract the files from the tarball I get an error message. You're on a Sun box. Sun's tar is b

check_varbind.c changes

2005-03-04 Thread Dave Shield
Robert, I've just been browsing through the recent changes to the Net-SNMP source and spotted a series of commits that have been applied to the snmplib/check_varbind.c file. I'm not sure I understand what these are meant to achieve. In particular, you seem to have introduced a new routine n