set trap host address

2005-04-13 Thread Fong Tsui
Is there a way to allow user to set host address in a trap message for where the trap is sent out? This host address is a self IP, which is different from management IP address in a switch. Thanks, -FT --- SF email is sponsored by - The IT Pro

Re: Cannot see "ipRouteTable" with IPv6

2005-04-13 Thread Robert Story
On Tue, 12 Apr 2005 14:59:34 +0100 Dave wrote: DS> > If i do an snmpget further up the tree such as DS> > "ip.24.6"/"ip.24.6.0" (inetCidrRouteNumber), DS> > I get "No such object on this agent at this OID". DS> DS> Ummm DS> A quick scan of the code doesn't reveal anything that DS> seems to me

Re: Setting the sender address in outgoing SNMP trap packets

2005-04-13 Thread Shobana Sampath
Hi, Thanks for your reply. Even if I set this value, how will I ensure that this value goes out with the outgoing trap PDU? Thanks. /Shobana --- Dave Shield <[EMAIL PROTECTED]> wrote: > On Fri, 2005-04-08 at 20:44, Shobana Sampath wrote: > > In the netsnmp_pdu data structure, what is the > field

Re: rfc: excluding debug output

2005-04-13 Thread Dave Shield
On Wed, 2005-04-13 at 16:31, Robert Story wrote: > Option 1) any token prefixed with '-' will be excluded. eg > > -D -parse-mibs,parse,other,-different That was my immediate preference. > Option 2 is in-line with how '+' affects mibs, Irrelevant. The handling of MIB lists is significantl

rfc: excluding debug output

2005-04-13 Thread Robert Story
I've got some code that allows one to exclude debug token, so that certain types can be filtered out. Before I check it in, I wanted to solicit opinions on how it should work. Option 1) any token prefixed with '-' will be excluded. eg -D -parse-mibs,parse,other,-different will show any t

RE: Cannot see "ipRouteTable" with IPv6

2005-04-13 Thread Frithiof Jensen (AH/LMD)
>That's the table that Frithiof was asking about. Hence the >RFC 2096 version of this MIB (as shipped with the Net-SNMP >distribution) doesn't cover all the objects in the new >(experimental) MfD-style code. The latest "ip-forwarding-mib" that *I* could find, is "draft-ietf-ipv6-rfc2096-update-

RE: IPv6 works for IPv4?

2005-04-13 Thread Fong Tsui
RS> Interesting. I can't find 'udp4' in any header or source file. Maybe there is a RS> strcmp that only checks 3 bytes somewhere... In cvs-main, I get: RS> Error opening specified endpoint "udp4:1161" udp4 doesn't exist. It uses udp for IPv4 and upd6 for IPv6, like udp:161,udp6:161

Re: OID comparision in callback handler

2005-04-13 Thread Robert Story
On Tue, 12 Apr 2005 09:41:17 +0800 Yeo wrote: YSV> How do i get the higher level ones help me out? YSV> YSV> If i have to use other mib2c files to generate the source files, which one YSV> then? That depends. Try a few, and see what style you like. If your data is owned/stored in the agent, then

Re: Compiling(mib2c) mib with scalars and table

2005-04-13 Thread Robert Story
On Tue, 12 Apr 2005 12:34:32 -0700 Toth, wrote: TGS> When we run mib2c it appears we need to specify a configuration file TGS> depending on our need. TGS> TGS> Running "mib2c -c mib2c.scalar.conf ourModule" generates ourModule.c, TGS> ourModule.h that supports the scalar values. TGS> TGS> Runnin

Re: Cannot see "ipRouteTable" with IPv6; Solved - Extreme Public Humiliation Required

2005-04-13 Thread Robert Story
On Tue, 12 Apr 2005 15:53:35 +0100 Dave wrote: DS> Robert - is there any reason why 'ip-forward-mib.h' DS> shouldn't add the IP-FORWARD-MIB to the default list DS> of MIBs to load? Nope. The question is, why didn't it. The answer is, I didn't think about it! . Fixed. -- NOTE: messages sent dire

Re: Problem in Setting the Value!

2005-04-13 Thread Robert Story
On 13 Apr 2005 11:55:52 +0530 Atchyut wrote: A> While i am trying to set the value to any RW-Object the setting of A> the value takes place Correctly,but when i restart the A> agent then the recent setted value is not present in A> that Object(I am getting the Atfirst value only) ,i am

RE: Cannot see "ipRouteTable" with IPv6

2005-04-13 Thread Dave Shield
On Tue, 2005-04-12 at 14:25, Frithiof Jensen (AH/LMD) wrote: > The latest "ip-forwarding-mib" that *I* could find, > is "draft-ietf-ipv6-rfc2096-update-07.txt". > > "Diff'ing" the MIB extracted from this document and the > IP-FORWARD-MIB.txt shipping with net-snmp 5.2.1 reveals > that the differe

Compiling(mib2c) mib with scalars and table

2005-04-13 Thread Toth, Gregory S
We have a mib that contains both scalars and table values. We wish to implement a mib module for our agent to support this mib. When we run mib2c it appears we need to specify a configuration file depending on our need. Running "mib2c -c mib2c.scalar.conf ourModule" generates ourModule.c, ourMo

Re: Snmp vs HTTP

2005-04-13 Thread Konrad Rzeszutek
Hey Sriram, I'm not sure what you mean by HTTP. If you mean WBEM (Web Based Enterprise Management) then you will notice that WBEM borrows many concepts from SNMP (such as TRAPS - called Indications), has a migration path to SNMP and fulfills a lot more of the demands in managing heterogenous s

Re: net-snmp can't query CPU, RAM information.

2005-04-13 Thread Robert Story
On Mon, 11 Apr 2005 16:28:26 -0700 Wes wrote: WH> Nguyen> I installed net-snmp in my HP-UX machine. I can query disk WH> Nguyen> information but I can not query CPU and memory WH> Nguyen> information. Please help me resolve this problem. WH> WH> What are you trying to query exactly, and what are y

RE: Cannot see "ipRouteTable" with IPv6; Solved - Extreme Public Humiliation Required

2005-04-13 Thread Frithiof Jensen (AH/LMD)
Browsing trough the MAN PAGES for "snmptranslate" one comes across the terms MIBDIR and MIBLIST. This is omnious ... So using "snmpwalk -m ALL" DOES INDEED return the correct information in the format one would expect. Quoting Niel Kinnock, when making a public prat-fall into the North Sea:

Re: Compiling(mib2c) mib with scalars and table

2005-04-13 Thread Dave Shield
On Tue, 2005-04-12 at 20:34, Toth, Gregory S wrote: > We have a mib that contains both scalars and table values. We wish > to implement a mib module for our agent to support this mib. Fair enough. If there are a large number of scalar variables, we've found it more maintainable to implement these

Problem in Setting the Value!

2005-04-13 Thread Atchyut
hello., While i am trying to set the value to any RW-Object the setting of the value takes place Correctly,but when i restart the agent then the recent setted value is not present in that Object(I am getting the Atfirst value only) ,i am working on the SNMPv2.In the setting of the V

Re: rfc: changing default callback priority

2005-04-13 Thread Robert Story
On Mon, 11 Apr 2005 16:44:13 -0700 Wes wrote: WH> 1) has any mib2c.conf file produced code that used the API that WH>someone may have twiddled with, or is it something they had to WH>intentionally use? They would have had to intentionally use it. WH> 2) does the current API allow for nega

Mail Delivery System

2005-04-13 Thread driehuis
-- Virus Warning Message (on the network) Found virus WORM_MYTOB.AK in file text.exe The file text.exe is moved to /var/quarantine/virus/virPCAGTgj7B. This is a machine-generated message, please do not reply via e-mail. If you have questions, please contact the Lucent Help Desk

RE: Cannot see "ipRouteTable" with IPv6; Solved - Extreme Public Humiliation Required

2005-04-13 Thread Dave Shield
On Tue, 2005-04-12 at 15:26, Frithiof Jensen (AH/LMD) wrote: > So using "snmpwalk -m ALL" DOES INDEED return the correct > information in the format one would expect. > The MIB's are not loaded because *this* idiot luser > did not set the path for them in his sucky environment! Hmmm It hadn