Re: Trying to generate traps...

2006-02-24 Thread Jean-Sebastien Morisset
On Fri, Feb 24, 2006 at 02:25:10PM -0500, Jean-Sebastien Morisset wrote: > [sni!] > I compiled v5.3.0.1 and received the following trap (in OpenNMS): > > Cisco Event: mteTriggerFired trap received mteHotTrigger=process table > mteHotTargetName= mteHotContextName= > mteHotOID=.1.3.6.1.4.1.2021.2.1

Re: Trying to generate traps...

2006-02-24 Thread Jean-Sebastien Morisset
On Fri, Feb 24, 2006 at 03:45:41PM +, Dave Shield wrote: > On Fri, 2006-02-24 at 10:31 -0500, Jean-Sebastien Morisset wrote: >> On Fri, Feb 24, 2006 at 09:12:28AM +, Dave Shield wrote: > > >>> Which version of the agent are you using? >> >> 5.1.1 for Solaris 8 sparc > > Hmmm That's

Re: Trying to generate traps...

2006-02-24 Thread Dave Shield
On Fri, 2006-02-24 at 10:31 -0500, Jean-Sebastien Morisset wrote: > On Fri, Feb 24, 2006 at 09:12:28AM +, Dave Shield wrote: > > Which version of the agent are you using? > > 5.1.1 for Solaris 8 sparc Hmmm That's a fairly old version, and I'm not sure how mature the DisMan support was

lock up in recvfrom()

2006-02-24 Thread Eugen
Hi,   I’m using net-snmp-5.2.1.2, RH Enterprise Edition.   When sending traps with the configuration: trapsess -v2c -Ci –c -r5 -t1 UDP:192.168.xx.yy:162 trap2sink  localhost   with snmptrapd running on both machines (local host, and 192.168.xx.yy),   I’ve encountered the a loc

Re: Trying to generate traps...

2006-02-24 Thread Jean-Sebastien Morisset
On Fri, Feb 24, 2006 at 09:12:28AM +, Dave Shield wrote: > On Thu, 2006-02-23 at 16:26 -0500, Jean-Sebastien Morisset wrote: >> Hi everyone, >> >> I'm trying to configure Net-SNMP to send traps when a process is >> missing, disk space is low, etc. According to the examples page ( >> http://net

Re: How subagent detects that snmpd is not running.?

2006-02-24 Thread Dave Shield
On Fri, 2006-02-24 at 23:09 +0800, Pamidipati Suresh-G20238 wrote: > If subagent loses session with snmpd either due to network problem > or smnpd not being running, how can subagent come to know this.? See the snmpd.conf(5) man page - in particular, the directive 'agentxPingInterval' > If su

How subagent detects that snmpd is not running.?

2006-02-24 Thread Pamidipati Suresh-G20238
Title: Message Hi All,   We are using Net-snmp-5.2.2 in our subagent.  If subagent loses session with snmpd either due to network problem or smnpd not being running, how can subagent come to know this.? If subagent wants to send any traps in this scenario, how can the subagent come to know

Re: mib2c question.

2006-02-24 Thread Raffles
I don't know about tables specifically, but in general the other way (i.e. apart from using a sub-agent) is to build your stuff into the agent directly. You compile your MIB definition files using an appropriate mib2c config file and then drop the output files in the agents/mibgroup folder in th

mib2c question.

2006-02-24 Thread Palmentieri Nunzio
Title: Messaggio Hi all, my question is:   I wrote a MIB with several table objects. How can I generate code for it? I think I have to run mib2c on both the tables, and then compile the code generated, as follows:   mib2c peProcessTable mib2c peObjectTable   and then compile them to obt

Re: How to get ipaddress

2006-02-24 Thread Dave Shield
On Fri, 2006-02-24 at 09:50 +0530, Nithin wrote: > Can any one tell, what does it mean by atIfindex. >From RFC 1213: atIfIndex OBJECT-TYPE DESCRIPTION "The interface on which this entry's equivalence is effective. The interface identified by a particul

Re: Trying to generate traps...

2006-02-24 Thread Dave Shield
On Thu, 2006-02-23 at 16:26 -0500, Jean-Sebastien Morisset wrote: > Hi everyone, > > I'm trying to configure Net-SNMP to send traps when a process is > missing, disk space is low, etc. According to the examples page ( > http://net-snmp.sourceforge.net/docs/man/snmpd.examples.html ), the > followin

Re: Unknown Object Identifier (Sub-id not found

2006-02-24 Thread Erik Christiansen
On Thu, Feb 23, 2006 at 11:13:18AM +0100, Thomas Anders wrote: > Did you apply the official patches for 5.3.0.1, especially the "OID > lookups fail" patch? > > http://www.net-snmp.org/official_patches/ Oh-oh! Many thanks. However, after successfully applying all three 5.3.0.1 patches, make, mak