Re: handling empty structures genrated by mib2c

2006-04-19 Thread amit limaye
hey robert i used some logic to handle this logic i will post the mib2c conf file on the grp tommorow i now generate classes out of the mib -SIGTERM amit > --- Ursprüngliche Nachricht --- > Von: Robert Story <[EMAIL PROTECTED]> > An: "amit limaye" <[EMAIL PROTECTED]> > Kopie: net-snmp-coders@l

Re: Bug#363399: Net SNMP has broken sysObjectID

2006-04-19 Thread Jochen Friedrich
Hi Hilmar, > The default value of the sysObjectID is .1.3.6.0.0.0.0.0.0.0, which > is not a valuable information. I've compared it to an how grown net > snmp 5.0.6, which give out on that OID the value > .1.3.6.1.4.1.8072.3.2.xx (where xx is one of the numbers 1-13 > depending on which OS it is ru

Re: Bug#363399: Net SNMP has broken sysObjectID

2006-04-19 Thread Hilmar Preusse
On 19.04.06 Jochen Friedrich ([EMAIL PROTECTED]) wrote: Hi Jochen, > > The default value of the sysObjectID is .1.3.6.0.0.0.0.0.0.0, which > > is not a valuable information. I've compared it to an how grown net > > snmp 5.0.6, which give out on that OID the value > > .1.3.6.1.4.1.8072.3.2.xx (whe

Re : verify connection to master agent

2006-04-19 Thread brisse
Hi,thanks for your reply. I looked at the snmpd.conf man page. As a result I added netsnmp_ds_set_int(NETSNMP_DS_APPLICATION_ID,                NETSNMP_DS_AGENT_AGENTX_PING_INTERVAL,10);in the initialization of my subagent. then I tried to stop my master (snmpd) and start it again. Then my subagent

Re: implementing ifHCinoctets Solaris

2006-04-19 Thread Robert Story
On Tue, 21 Mar 2006 11:52:32 +0100 Malcolm wrote: MT> We have used the getkstat function to retrieve the ipackets and opackets MT> values. MT> MT> 1) From previous answers: MT> MT> "The code takes care of using a 32 bit counter and watching for it to wrap, MT> and updating the MT> hc counters." M

Re: mib2c mfd tutorial

2006-04-19 Thread Robert Story
On Mon, 27 Mar 2006 17:18:57 +0100 Graeme wrote: GW> I am using net-snmp 5.3.0.1 (on Suse 8.2) and I need to write a GW> sub-agent to implement a table. I'm new to snmp so as a starting point GW> I tried following the tutorial on the web for the mib2c mfd (for the GW> ifTable). GW> However when I

Re: [PATCH] : Fix external fd handling

2006-04-19 Thread Robert Story
On Mon, 27 Mar 2006 11:41:34 -0800 David wrote: DK> The basic idea is that we need to expire the fd_sets returned from DK> select() if we have reason to believe that the bits may no longer be DK> correct. If an external handler calls DK> unregister_{read|write|except}fd() while we are processing p

Re: help : how to create example-demon.conf file

2006-04-19 Thread Robert Story
On Tue, 28 Mar 2006 05:18:52 +0100 (BST) saritha wrote: SK> Iam new to snmp. I want to know how to create a snmp SK> sub-agent conf file. My subagent is SK> ieee802dot11-demon, Please can tell me how to create SK> the ieee802dot11-demon.conf file. We can't tell you, because it's your demon. You h

Re: oid length

2006-04-19 Thread Robert Story
On Wed, 29 Mar 2006 21:45:47 +0100 Ian wrote: ID> any help at all would greatly appreciated, thanks We can't help you if you don't help us. What does the code look like? -- NOTE: messages sent directly to me, instead of the lists, will be deleted unless they are requests for paid consult

Re: net-snmp 5.1.4 on Unixware 7.1.1

2006-04-19 Thread Robert Story
On Tue, 4 Apr 2006 12:24:40 -0600 V wrote: VZ> Hello, VZ> compiling of net-snmp 5.1.4 on Unixware 7.1.1 fails with the following VZ> error: VZ> making all in /home/net-snmp-5.1.4/snmplib VZ>/bin/sh ../libtool --mode=link gcc -g -O2 -Dsysv5UnixWare7 VZ> -rpath /usr/local/net-snmp/lib -vers

Re: handling empty structures genrated by mib2c

2006-04-19 Thread Robert Story
On Thu, 6 Apr 2006 04:32:11 +0200 (MEST) amit wrote: AL> The problem i m facing all traps dont have variable bindings and i end up AL> generating empty structures which is not standard C. AL> I just wanted pointers if any of u have faced similiar problems and is AL> their a way around this while w

Re: Timers in subagent afer a master agent restart

2006-04-19 Thread Robert Story
On Thu, 6 Apr 2006 11:09:41 +0100 Oscar, VF UK wrote: AOVU> Hi I'm using Net-SNMP v 5.1.2 on RedHat RHEL4 and I've experienced the AOVU> following problem: AOVU> AOVU> I have defined a timer in a Net-SNMP agentx subagent using the AOVU> snmp_alarm_register that works well if the master agent is ru

Re: Q: Trapsink data base?

2006-04-19 Thread Robert Story
On Sun, 9 Apr 2006 22:05:17 +1000 (EST) Elisabeth wrote: EG> I need to configure snmpd in runtime through EG> non-snmp socket. ... EG> Everything seems to be fine but impossibility to EG> delete EG> entries. Let's say we want to delete some trapsink EG> entry, that we had inserted before. The prob

Re: Q:Remote configuration of Net-Snmp access control

2006-04-19 Thread Robert Story
On Mon, 10 Apr 2006 00:46:32 -0700 (PDT) Tanya wrote: TG> We use "zebra"-based CLI on our router. We'd like to configure snmpd on TG> the router by cisco-like commands of this CLI. TG> How can we manage vacm/usm/trapsess entities? Is this router running net-snmp? If you want to use cisco-

Re: Returning variable of type mac address.

2006-04-19 Thread Robert Story
On Mon, 10 Apr 2006 11:30:03 +0100 Ian wrote: ID> i'm having problems from a response to a SNMPGET. I'm trying to get back ID> the a mac address from the .ifPhysAddress(.*) from the interface table in ID> MIB-2. The mac address response value can be seen from ethereal as ID> 0:d:bd:e7:7c:81, but th

Re: agentx ERROR: agentx_got_response() error branch

2006-04-19 Thread Robert Story
On Tue, 11 Apr 2006 01:03:46 +0300 Erez (Erez) wrote: ME(> System background: ME(> - ME(> - I'm using net-snmp version 5.3.0.1, on Linux, CPU i686. ME(> - The net-snmp installation which has the problem, ME(> was built&installed on a different computer (system), a

Re: snmptrap and single quote using java's Runtime.getRuntime().exec function

2006-04-19 Thread Robert Story
On Tue, 11 Apr 2006 16:01:11 +0300 Ofer wrote: OG> snmpCmd = "/usr/bin/snmptrap -v 2c -c public " + nmsIpAddress + OG> " '' PROXY-MIB::proxyWrongUserPassTrap OG> PROXY-MIB::proxyWrongUserPassTrap s " + snmpTrapDesc; OG> Logger.logInformation(this, snmpCmd); OG> Run