Re: about trap

2005-02-17 Thread Thomas Anders
Paul Chen (QD/LJC) wrote: If one of my own process generate a trap message, and send it out. then who will listen to it. This is to say, who will my own process send its traps to? snmpd, trapsnmpd, or another process? snmptrapd, of course. +Thomas --

RE: about trap

2005-02-17 Thread Paul Chen (QD/LJC)
Hi Robert, If one of my own process generate a trap message, and send it out. then who will listen to it. This is to say, who will my own process send its traps to? snmpd, trapsnmpd, or another process? BR//Paul -Original Message- From: Robert Story [mailto:[EMAIL PROTECTED] Sent:

RE: Processor load data

2005-02-17 Thread Matthew Western, IT Support, Lonsdale
You didn't seem to have much response to your question. I too am just playing around with snmp and have been for a few weeks now.getIF is a very useful tool, make sure you load up the host mib files (google for the site). The other thing I'm majorly impressed with is cacti.Once you get i

Re: SIGHUP w/ 5.2.1 results in netsnmp_assert "list key" == "is unique" failed data_list.c:108 netsnmp_data_list_add_node()

2005-02-17 Thread Robert Story
On Thu, 17 Feb 2005 14:54:57 -0500 Rob wrote: RK> It's coming from our custom MIB. From our MIB and structure file: Ok, but you didn't answer my question: RK> >[Was mppLibraryVersionTable] generated by mib2c? If so, which conf file? -- Robert Story; NET-SNMP Junkie Support:

enable debuging output

2005-02-17 Thread sun
Hi:    I am using net-snmp 5.1.1 and trying to add a mib module. I  changed the "SNMP_ALWAYS_DEBUG" to 1 in include/net-snmp/net-snmp-config.h. It wrote all the debug information into log file. so I undefined "LOGFILE" macro in net-snmp-config.h file, Now it doesn't write to log file anymore

Re: Ending tables

2005-02-17 Thread John Hardin
Robert Story wrote: On Thu, 17 Feb 2005 11:49:18 -0800 John wrote: JH> A little more interesting info on this... I have the Net-SNMP MIB JH> (enterprises.8072) compiled into the agent. My own MIB is under JH> enterprises.3382. I noticed that a GETNEXT on my last OID did JH> not retrieve the next

Re: IfIndex persistance

2005-02-17 Thread Robert Story
On Thu, 17 Feb 2005 15:22:57 -0500 Jeff wrote: JO> > > DG> > If you bring up a tunnel to site A, what is the JO> > interface name? JO> > > DG> > If you take that tunnel down and bring up a tunnel to site B, JO> > > DG> > does it get the same name, or a different one? JO> > JO> > You would get tun0

Processor load data

2005-02-17 Thread Shawn Wilson
I'm having problems trying to get any sort of CPU load information from my SNMP installation. I'm using net-snmp 5.2 w/ kernel 2.6.9. I admit I'm not very familiar with SNMP so hopefully I'm just looking in the wrong place, but here's what I've tried: $ snmpwalk -v1 -clannocc localhost .1.3.6.1.2.1

Re: Example config for extend?

2005-02-17 Thread Robert Story
On Thu, 17 Feb 2005 20:06:14 + Howard wrote: HJ> No, they are separate script executions. What I'd like to do is use a HJ> standard within our network that index 60 is always queue-length, and HJ> index 70 is always RADIUS query counters, or whatever, to make life HJ> easier for the monitori

RE: IfIndex persistance

2005-02-17 Thread Jeff Olhoeft
On Thursday 17 February 2005 17:30, David Goodenough wrote: > > On Thursday 17 February 2005 17:30, Robert Story wrote: ... > > DG> > If you bring up a tunnel to site A, what is the > interface name? > > DG> > If you take that tunnel down and bring up a tunnel to site B, > > DG> > does it get th

Re: Ending tables

2005-02-17 Thread Robert Story
On Thu, 17 Feb 2005 11:49:18 -0800 John wrote: JH> A little more interesting info on this... I have the Net-SNMP MIB JH> (enterprises.8072) compiled into the agent. My own MIB is under JH> enterprises.3382. I noticed that a GETNEXT on my last OID did JH> not retrieve the next OID, which should b

Re: Example config for extend?

2005-02-17 Thread Howard Jones
On 17 Feb 2005, at 19:47, Robert Story wrote: On Thu, 17 Feb 2005 13:01:20 + Howard wrote: HJ> The output from snmpwalk is showing my data, but it's not clear what is HJ> turning up where. I'd like to be able to specify index numbers, so that HJ> (for example) queue-size is always .50 reg

Re: IfIndex persistance

2005-02-17 Thread Robert Story
On Thu, 17 Feb 2005 18:38:54 + David wrote: DG> On Thursday 17 February 2005 17:30, Robert Story wrote: DG> > On Wed, 16 Feb 2005 23:00:29 + David wrote: DG> > DG> > What os are you using? DG> > DG> DG> > DG> I am using linux (2.6). DG> > DG> > I suggest you grab 5.2.1, configure with --ena

Re: SIGHUP w/ 5.2.1 results in netsnmp_assert "list key" == "is unique" failed data_list.c:108 netsnmp_data_list_add_node()

2005-02-17 Thread Rob Kudyba
Robert Story wrote: On Tue, 08 Feb 2005 11:39:41 -0500 Rob wrote: RK> /var/log/snmpd.log RK> NET-SNMP version 5.2.1 restarted RK> netsnmp_assert "list key" == "is unique" failed data_list.c:108 RK> netsnmp_data_list_add_node() RK> WARNING: adding duplicate key 'mppLibraryVersionTable' to data lis

Re: Ending tables

2005-02-17 Thread Robert Story
On Thu, 17 Feb 2005 10:56:16 -0800 John wrote: JH> I'm enabling access in the snmpd.conf file with "rocommunity public" and JH> have tried timeouts up to -t 60. Same problem. Ok, that eliminates one idea. JH> I tried adding a single dummy scalar to the end of our MIB and the problem JH> goes aw

Re: Ending tables

2005-02-17 Thread John Hardin
John Hardin wrote: Robert Story wrote: On Wed, 16 Feb 2005 18:02:42 -0800 John wrote: JH> I've implemented a new MIB and am having trouble walking JH> some of the tables. [...] JH> I've traced this with Ethereal and found that when a GET-NEXT JH> is received for the last row of the last column of a

Re: Example config for extend?

2005-02-17 Thread Robert Story
On Thu, 17 Feb 2005 13:01:20 + Howard wrote: HJ>exec .1.3.6.1.4.1.2021.50 qmail-queue /usr/local/bin/qmailmrtg7 q HJ> /var/qmail/queue HJ> HJ> However, when I run the snmpd for net-snmp 5.2.1, I get a bunch of HJ> warnings that exec is deprecated, and that I should 'look at HJ> NET-SNMP

Re: Ending tables

2005-02-17 Thread John Hardin
Robert Story wrote: On Wed, 16 Feb 2005 18:02:42 -0800 John wrote: JH> I've implemented a new MIB and am having trouble walking JH> some of the tables. [...] JH> I've traced this with Ethereal and found that when a GET-NEXT JH> is received for the last row of the last column of a table and I can JH

Re: IfIndex persistance

2005-02-17 Thread David Goodenough
On Thursday 17 February 2005 17:30, Robert Story wrote: > On Wed, 16 Feb 2005 23:00:29 + David wrote: > DG> > What os are you using? > DG> > DG> I am using linux (2.6). > > I suggest you grab 5.2.1, configure with --enable-mfd-rewrites, and see if > that helps. Currently Debian has 5.1.2-6 as t

Re: traptoemail does not contain any information

2005-02-17 Thread David
> 1) difference in snmptrapd.conf configuration only one entry and they are the same > 2) difference in traptoemail script both boxes running same version, script is the same > 3) some problem with the mail server on machine 2 tried different mail server with same results > ls /usr/lib/*s

Re: about trap

2005-02-17 Thread Robert Story
On Thu, 17 Feb 2005 17:45:35 +0800 Paul wrote: PC> I have two MIBs. And I want to send the traps of the first MIB to A, and PC> traps of the second MIB to B. >From what process? snmpd, or your own process? It is not currently possible via snmpd, as all traps are sent to all destinations. This wi

Re: Ending tables

2005-02-17 Thread Robert Story
On Wed, 16 Feb 2005 18:02:42 -0800 John wrote: JH> I've implemented a new MIB and am having trouble walking JH> some of the tables. [...] JH> I've traced this with Ethereal and found that when a GET-NEXT JH> is received for the last row of the last column of a table and I can JH> then respond with

Re: IfIndex persistance

2005-02-17 Thread Robert Story
On Wed, 16 Feb 2005 23:00:29 + David wrote: DG> > What os are you using? DG> DG> I am using linux (2.6). I suggest you grab 5.2.1, configure with --enable-mfd-rewrites, and see if that helps. DG> > If you bring up a tunnel to site A, what is the DG> > interface name? If you take that tunnel

Re: traptoemail does not contain any information

2005-02-17 Thread Robert Story
On Thu, 17 Feb 2005 9:23:27 - David wrote: D> The machine having the problem (machine 2) can D> resolve the hostname / IP of example device above. My bigger concern is why D> doesn't the email sent by traptoemail contain the trap information. Ok, your previous email didn't metion that - only

Re: problems with mib2c

2005-02-17 Thread Robert Story
On Tue, 15 Feb 2005 22:56:00 -0800 (PST) manik wrote: MC> Also, initially I was using net-snmp-5.2.1. But MC> whenever I ran mib2c following error occured: MC> MC> ERROR: You don't have the SNMP perl module installed. MC> [...] On Wed, 16 Feb 2005 16:47:50 -0800 (PST) manik wrote: MC> Yes I did

Re: traptoemail does not contain any information

2005-02-17 Thread David
> > Good question. What does 'host 10.1.2.48)' return on both machines? how about > 'grep 10.1.2.48 /etc/hosts'? > All of the machines and devices are pointing to DNS servers rather than using a host file. The machine having the problem (machine 2) can resolve the hostname / IP of example device

Help building manager

2005-02-17 Thread Andres C
Hello, I'm trying to build a manager around Net-SNMP which uses both snmpd and snmptrapd demons. I have agents distributed in some copmuters monitoring some events. When it is necesary they generate a trap that needs to be reveived by this manager. Basically I'm building a manager to receive trap

R: SNMP Perl script hangs when receiving a SNMP response with bad checksum.

2005-02-17 Thread George Woodring
If anyone is curious, the issue was RH Enterprise 3 Update 4 kernel (2.4.21-27) We solved the issue by going back to version (2.4.21-15) Woody iGLASS Networks 211-A S. Salem St Apex NC 27502 (919) 387-3550 x813 www.iglass.net

Example config for extend?

2005-02-17 Thread Howard Jones
Hi, I'm just looking into running net-snmp on our mail servers to allow us to centrally monitor things like queue-size and throughput. I've got this going using lines like the following in snmpd.conf: exec .1.3.6.1.4.1.2021.50 qmail-queue /usr/local/bin/qmailmrtg7 q /var/qmail/queue However,

about trap

2005-02-17 Thread Paul Chen (QD/LJC)
hi,all I have two MIBs. And I want to send the traps of the first MIB to A, and traps of the second MIB to B. What should I do to accommplish this? I know that through config the snmp.conf, the snmpd can help me to do so. but when one of my processes generates a trap, where should i send it