Re: Help wanted Regarding SNMPTRAP (URGENT)

2005-02-15 Thread RajChandrasekaran
I did a TCPDUMP and found tht the traps do reach the server from the router ...bit of relief !!! :-))) But the server sends back a icmp request to the router and reports that the udp port is unreachable ... Here's the output of TCPDUMP 11:23:36.745041 172.25.63.23.55549 > inatpuxpms

How to provide delay between duplicate traps?

2005-02-15 Thread akhilesh.sah
Hi , I need to provide delays between the reporting of duplicate traps. Is this possible?. If yes, can we use the snmpd.conf file to configure certain parameters to support this functionality. What are other alternatives to support this feature. Thanks in advance Regards, Kumar ---

Re: Trap receive issue on net-snmp-5.1-80.9

2005-02-15 Thread Robert Story
On Wed, 02 Feb 2005 07:18:39 -0700 Kalpana wrote: KS> Yeah all 200 or so traps generated will be received successfully. KS> Sometime I could go till 500 traps generation. Its really random it KS> stops generating traps. Are the traps generated really quickly and real close together? KS> Now this

Re: Compile errors for ipv6

2005-02-15 Thread Robert Story
On Wed, 2 Feb 2005 11:41:09 -0800 Srini wrote: SK> I am getting the following errors while compiling net-snmp with v6 enabled. SK> We are using net-snmp-5.1 SK> SK> libnetsnmpagent.so.0: undefined reference to SK> `netsnmp_udp6_agent_config_tokens_register' SK> libnetsnmp.so: undefined reference t

Re: Managing multiple instances of a MIB

2005-02-15 Thread Robert Story
On Tue, 15 Feb 2005 17:11:04 -0800 Riju wrote: RK> This fix didn't work for me. Infact, after applying this patch, snmpd RK> process froze at the following location. The stack trace looks a bit RK> weird though. According to the stack trace the process got stuck in a RK> call to free(). Oops. Sorr

Re: Help wanted Regarding SNMPTRAP (URGENT)

2005-02-15 Thread Robert Story
On Wed, 16 Feb 2005 10:03:27 +0530 [EMAIL PROTECTED] wrote: RC> Snmptrapd listens to the udp port 162 and also the firewall has been lifted RC> ...I tried all those snmptrapd commands but in Vain .. 1) what release of net-snmp are you using? 2) does snmptrapd receive traps if you send them using

Re: IPv6 on Windows [not Linux]

2005-02-15 Thread Robert Story
On Tue, 15 Feb 2005 19:49:20 -0800 Srini wrote: SK> > SK> > On Wed, 9 Feb 2005 14:35:52 -0800 Srini wrote: SK> > SK> Now from a windows system I am issuing a "snmpget" to the target, SK> > SK> where the above image (v6 capable) is running. following SK> > is the command I issued: SK> > SK> SK>

Re: Help wanted Regarding SNMPTRAP (URGENT)

2005-02-15 Thread RajChandrasekaran
Snmptrapd listens to the udp port 162 and also the firewall has been lifted ...I tried all those snmptrapd commands but in Vain .. My router sends packets to two Linux server simultaneusly ..But one of my linux box is getting traps while not the other ... I made sure on my router end that packets h

RE: IPv6 on Linux

2005-02-15 Thread Srini Kode
> > On Wed, 9 Feb 2005 14:35:52 -0800 Srini wrote: > SK> Now from a windows system I am issuing a "snmpget" to the target, > SK> where the above image (v6 capable) is running. following > is the command I issued: > SK> > SK> snmpget -v 2c -c sritest -D ALL > udp6:[fe80::205:30ff:fe00:2309]:1

Re: IPv6 on Linux

2005-02-15 Thread Robert Story
On Wed, 9 Feb 2005 14:35:52 -0800 Srini wrote: SK> Now from a windows system I am issuing a "snmpget" to the target, where the SK> above image (v6 capable) is running. following is the command I issued: SK> SK> snmpget -v 2c -c sritest -D ALL udp6:[fe80::205:30ff:fe00:2309]:161 SK> sysDescr.0 SK

Re: Retrieving multiple oids in a single get

2005-02-15 Thread Robert Story
On Sat, 5 Feb 2005 14:47:56 -0800 (PST) Shobana wrote: SS> I have an entry in my MIBs which is an entry in a SS> table. So, when I send the OID x, I need to return the SS> value of OID x, plus values of OID y and OID z. y and SS> z need to be returned with every x. What can I use to SS> implement i

Re: Dynamic Module (dlmod) support?

2005-02-15 Thread Robert Story
On Fri, 11 Feb 2005 08:29:54 -0800 Wes wrote: WH> Alex> At what version does NET-SNMP support Dynamic Module, dlmod? I have WH> Alex> it supported with 5.1.2. But I was told that there is no support in WH> Alex> prior versions. If true this is very unfortunate because the current WH> Alex> RedHa

Re: table iterator with sorted tables

2005-02-15 Thread Robert Story
On Thu, 3 Feb 2005 10:01:54 -0800 Mike wrote: MT> If table interator helper is used to access sorted tables, a small MT> change in netsnmp_table_iterator_helper_handler() can greatly improve MT> performance. Giving the get_first_data_point function access to the MT> indices from the request (i.e.

Re: Warnings from configure - net-snmp-5.2.1

2005-02-15 Thread Robert Story
On Thu, 3 Feb 2005 12:12:19 -0500 (EST) Igor wrote: IB> tcp wrappers are still broken Broken how? -- Robert Story; NET-SNMP Junkie Support: Archive: You are lost in a twisty maze of little standards

Re: Sending Snmptrap to manager specified in snmpd.conf

2005-02-15 Thread Robert Story
On Wed, 2 Feb 2005 09:26:14 -0500 Alex wrote: AK> How do I know where snmpd.cof file is? A user may start Snmpd with a -c AK> option for snmpd.conf. Right. You can find out which files snmpd will read by default by running snmpd -Dread_config -H 2>&1 | grep Reading | sort -u AC> Does a

Re: Packaging Snmpd under RedHat Enterprise Linux 3?

2005-02-15 Thread Robert Story
On Mon, 14 Feb 2005 11:39:52 -0500 Alex wrote: AK> RHEL3 comes with Snmpd preinstalled. Unfortunately, it is build without AK> dlmod support. I want to be able to distribute just dynamic modules and AK> with the appropriate snmpd.conf directives to support our private MIB on AK> target machines.

RE: Managing multiple instances of a MIB

2005-02-15 Thread Riju Kallivalappil
This fix didn't work for me. Infact, after applying this patch, snmpd process froze at the following location. The stack trace looks a bit weird though. According to the stack trace the process got stuck in a call to free(). (gdb) run -r -f -C -c /home/riju/tools/scripts/snmpd.conf -d -r -Lo -V -

Re: Managing multiple instances of a MIB

2005-02-15 Thread Robert Story
On Tue, 15 Feb 2005 10:55:17 -0800 Riju wrote: RK> On Fri, 11 Feb 2005 16:56:17 -0800 Riju wrote: RK> RK> Do SNMP v3 contexts work with agentx in 5.2.1? RK> RK> Yes, they should. But apparently they don't. Sigh. RK> RK> I've been trying to get this work for the past few days. I was trying RK>

Re: subagent init_usm and init_vacm

2005-02-15 Thread Robert Story
On Fri, 11 Feb 2005 08:19:16 -0800 Wes wrote: WH> > On Wed, 9 Feb 2005 19:58:53 -0800 (PST), "Srinivas Athuluru (ATG)" WH> ><[EMAIL PROTECTED]> said: WH> WH> Srinivas> but once i do init_agenttowards the end WH> Srinivas> agent_module_inits.h gets included which inits usm, WH> Srinivas> va

Re: Inode checks invalid for extent based file systems.

2005-02-15 Thread Robert Story
On Sat, 12 Feb 2005 16:20:18 +0900 Naoki wrote: N> So instead of just guessing and returning a wrong result it would be N> nice to check the filesystem type and then return 0% if that partition N> doesn't use inodes. Patches welcomed (and encouraged)... -- Robert Story; NET-SNMP Junkie Support

Re: versionRestartAgent wipes persistant data

2005-02-15 Thread Dana Burns
Fixed my own problem. Turns out the execve wasn't getting the environment across, so the path to ./snmpd didn't work. The shutdown process actually DID the right thing with the persistent files, it was the barfed restart that seemed to reset them, and then die. Sorry for the real-time debugging r

versionRestartAgent wipes persistant data

2005-02-15 Thread Dana Burns
I'm using $SNMPCONFPATH with the persistent dir included. versionSavePersistentData does exactly what I expect, namely touch the file (no changes). versionRestartAgent, manages to kill my agent, and reset the persistent file in the process. Is this the intended behaviour? I watch it go through t

RE: Managing multiple instances of a MIB

2005-02-15 Thread Riju Kallivalappil
Here is a snippet of the code that I'm using... And this works perfectly when the context name is set to "". ### Void SnmpInit() { // Close syslog if it's already open by the application // SNMP library will reopen it // closelog(); sn

Re: Managing multiple instances of a MIB

2005-02-15 Thread Robert Story
On Fri, 11 Feb 2005 16:56:17 -0800 Riju wrote: RK> Do SNMP v3 contexts work with agentx in 5.2.1? Yes, they should. RK> I've been trying to get this work for the past few days. I was trying with RK> 5.2 initially. Didn't work. So, I tried upgrading to 5.2.1. Still doesn't RK> work. When I turn

Net-SNMP and NetBSD

2005-02-15 Thread Network Operation Center FMC Luxemburg
Hi Everybody, It's possible to run net-snmp-5.2.1 with NetBSD 1.6 or 2.0 ? I've launch configure with his parameters :     ./configure --sysconfdir=/etc/snmp (there go correctly) I've this error messages with 'make' : cc -I../../include -I. -I../../agent -I../../agent/mibgroup -I../../snm

Re: Placing the MIB

2005-02-15 Thread Robert Story
On 13 Feb 2005 06:05:42 - Jude wrote: JAAP> 1. Where to place this mib. ?? JAAP> JAAP> i have generated the code. I have compiled this using mib2c and JAAP> got the agent skeleton. Now where shud i place the mib to start JAAP> off with. i have already placed it in the JAAP> /usr/local/sha

Re: agent not working

2005-02-15 Thread Robert Story
On Mon, 14 Feb 2005 09:33:03 -0800 (PST) Shivali wrote: SG> i tried working with these two files SG> nstAgentSubagentObject.c & the .h file as suggested in SG> the tutorial of home page but on compilation it gave SG> the error message : usr/lib/libnetsnmpagent.so: SG> undefined reference to `hosts

Re: Extension to snmptranslate to support mib2schema functionality

2005-02-15 Thread Robert Story
On Mon, 14 Feb 2005 13:25:00 -0600 Mike wrote: MM> I have successfully modified snmptranslate to output reports in the format MM> above with one caveat; the right value has a leading period which I wish to MM> remove. The easiest solution would be to define your own function which simple leaves of

Re: Help wanted Regarding SNMPTRAP (URGENT)

2005-02-15 Thread Robert Story
On Tue, 15 Feb 2005 07:51:29 -0500 [EMAIL PROTECTED] wrote: CRC> > My router sents traps on link-down status to A linux box . In the CRC> > routerside its sending the packets perfectly to server . CRC> CRC> Have you configured your trap sinks correctly? Trapsinks are for the agent (snmpd) sendi

Re: IF-MIB Compile Errors

2005-02-15 Thread Robert Story
On Tue, 15 Feb 2005 18:32:53 +0100 Thomas wrote: T> I get the following error while trying to compile net-snmp-5.2.1.rc3 with T> if-mib : That's because the old interfaces code hasn't been ported to the new if-mib yet for solaris. If you'd like to take a whack at getting it working, I'll be glad t

IF-MIB Compile Errors

2005-02-15 Thread Thomas
Hello, I get the following error while trying to compile net-snmp-5.2.1.rc3 with if-mib : [...] gcc -O3 -I/opt/compil/packages/build/sources/net-snmp-5.2.1.rc3/include/net-snmp/data_access -Dsolaris2 -o .libs/snmpd snmpd.o ./.libs/libnetsnmpmibs.so ./.libs/libnetsnmpagent.so helpers/.libs/lib

Re: Help wanted Regarding SNMPTRAP (URGENT)

2005-02-15 Thread cnelson
> My router sents traps on link-down status to A linux box . In the > routerside its sending the packets perfectly to server . But the > counterpart ( > Server) doesnt seem to get anything I have both snmpd and > snmptrapdrunning on my machine .. Also other functionality like > SNMPWALK a