Regarding hrStorage
AFAIK ...Currently hrStorage doesnot support terabyte filesystems ...is there any ongoing work on HOST-RESOURCE-MIB to make net-snmp monitor terabyte filesystems ? . ~ Pradhap - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users
Re: Error with NETSNMP 5.4 on Tru64
mohamed elhaouzi wrote: >I'm installing netsnmp v5.4 on OSF1 V5.1 2650 alpha. > after starting the snmpd i've some error: > > nlist err: neither rthost nor _rthost found. > nlist err: neither rtnet nor _rtnet found. > NET-SNMP version 5.4 Ignore this error. It's just telling you that some MIB information won't be available on Tru64 since we don't know how to get the information from the OS. The error could be silenced, but hasn't been. Do you suffer any real problems? +Thomas -- Thomas Anders (thomas.anders at blue-cable.de) - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV ___ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users
Re: error :/usr/bin/ld: cannot find -lelf
BENAMAR Khalid wrote: > /usr/bin/ld: cannot find -lelf http://www.net-snmp.org/wiki/index.php/FAQ:Compiling_02 +Thomas -- Thomas Anders (thomas.anders at blue-cable.de) - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV ___ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users
Re: Problem using net-snmp as subagent (Error in packet)
On 14/02/07, Frank Fock <[EMAIL PROTECTED]> wrote: > Good point, section 5.1 clearly states that > "a null Object Identifier" should be encoded > as four 0 bytes. From my point of view, > the term "a null Object Identifier" refers to > a zero length OID. Hmmm I suspect you might well be correct. That's probably a more reasonable interpretation than the "normal" OID .0.0 Any special meaning associated with this OID is more a question of semantics rather than syntax. (And RFC 2982 seems to make an explicit distinction between the null OID, and .0.0) OK - I'll concede this one, and update the Net-SNMP code accordingly. > If you do not mind, I will forward our discussion > to the AgentX mailing list. Feel free - though probably more as a suggestion for clarification in future releases of the spec, rather than for an adjudication of the issue. I think you're right here. (I wish you luck, though - I've never had much response to the questions I've sent to that list!) Dave - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV ___ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users
Re: Problems with table indexed by MacAddress
On 14/02/07, marco <[EMAIL PROTECTED]> wrote: > I have a problem in setting and getting values from a table with two > indexes, an integer ID and a Mac Address. > wmanIfBsSsProvMacAddress in the agent is a fixed length string (length = 6). > When I give this command from console: > > snmpwalk -v2c -c RW_community -m ALL localhost > wmanIfBsSsProvisionedForSfTable > > I obtain this response: > > WMAN-IF-MIB::wmanIfBsSsProvisionedForSfRowStatus.'.abcde'.102.1 > = INTEGER: active(1) > > that is right except for indexes values. A "." appears as first character of > index and the "f" appears as .102. Does anybody know why? How are you registering the table with the agent? In particular, what types are you specifying for the string index? ASN_OCTET_STR or ASN_PRIV_IMPLIED_OCTET_STR ? > In set operations (to create new rows) I don't know how to correctly specify > the new index. > $ snmpset -v2c -c RW_community -m ALL localhost > wmanIfBsSsProvisionedForSfRowStatus.'abcdef'.2 i 4 Close. Try wmanIfBsSsProvisionedForSfRowStatus.\'abcdef\'.2 i 4 (so that the quotes are picked up by the snmpset command, not swallowed by the shell). But you'll need to make sure that the agent is registering the table correctly first. Concentrate on getting snmpwalk to display the indexes properly before you move on to handling SET requests. Dave - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV ___ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users
Re: Problem using net-snmp as subagent (Error in packet)
Hi Dave, Good point, section 5.1 clearly states that "a null Object Identifier" should be encoded as four 0 bytes. From my point of view, the term "a null Object Identifier" refers to a zero length OID. Given that this is true, the encoding would be consistent with the actual value (both have a zero length). Otherwise, if "a null Object Identifier" refers to the 0.0 (ccitt(0).zeroDotZero(0)) OID, then the actual length of the encoded value (two) would not match with the length field in the AgentX PDU (zero). This would be surprising and would represent an encoding exception. Should we forward this question to the AgentX mailing list? I am a bit confused, since a zero length OID would not make any sense in AgentX communication, but on the other hand I do not see how "null" corresponds to "zeroDotZero"? If you do not mind, I will forward our discussion to the AgentX mailing list. Cheers, Frank Dave Shield wrote: > On 14/02/07, Johnny Ljunggren <[EMAIL PROTECTED]> wrote: >> Just a follow up with the answer from Frank Fock: >> >> a 0.0 OID should be encoded like: >> 02 00 00 00 >> 00 00 00 00 >> 00 00 00 00 >> >> and not >> 00 00 00 00 >> >> which is actually a zero length OID > > Frank, > how do you interpret the last paragraph of > RFC 2741, section 5.1, which says: > > "A null Object Identifier consists of the > 4-byte header with all bytes set to 0." > ? > > I read this as meaning an encoding of > 00 00 00 00 > > Would you see things differently? > > Dave > > - > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > ___ > Net-snmp-users mailing list > Net-snmp-users@lists.sourceforge.net > Please see the following page to unsubscribe or change other options: > https://lists.sourceforge.net/lists/listinfo/net-snmp-users > -- AGENT++ http://www.agentpp.com http://www.mibexplorer.com http://www.mibdesigner.com - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV ___ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users
Problems with table indexed by MacAddress
Hello! I'm using Net-SNMP ver. 5.3.1 and i'm adding support for some WiMax mibs. I have a problem in setting and getting values from a table with two indexes, an integer ID and a Mac Address. This table is part of the wmanIfMib. Here is description: wmanIfBsSsProvisionedForSfTable OBJECT-TYPE SYNTAX SEQUENCE OF WmanIfBsSsProvisionedForSfEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "This table maps the MAC addresses of SSs to the service flows provisioned in wmanIfBsProvisionedSfTable." REFERENCE "Subclause 6.3.14 in IEEE Std 802.16-2004" ::= { wmanIfBsPacketCs 2 } wmanIfBsSsProvisionedForSfEntry OBJECT-TYPE SYNTAX WmanIfBsSsProvisionedForSfEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "This table is indexed by wmanIfBsSsProvMacAddress and wmanIfBsProvSfId." INDEX { wmanIfBsSsProvMacAddress, wmanIfBsProvSfId } ::= { wmanIfBsSsProvisionedForSfTable 1 } WmanIfBsSsProvisionedForSfEntry ::= SEQUENCE { wmanIfBsSsProvMacAddressMacAddress, wmanIfBsProvSfIdUnsigned32, wmanIfBsSsProvisionedForSfRowStatus RowStatus} wmanIfBsSsProvMacAddress OBJECT-TYPE SYNTAX MacAddress MAX-ACCESS not-accessible STATUS current DESCRIPTION "The MAC address of the SS, the service flow is created with." ::= { wmanIfBsSsProvisionedForSfEntry 1 } wmanIfBsProvSfId OBJECT-TYPE SYNTAX Unsigned32 (1 .. 4294967295) MAX-ACCESS not-accessible STATUS current DESCRIPTION "A 32 bit quantity that uniquely identifies a service flow. The value of this object can be used by BS to index the wmanBsProvisionedSfTable." ::= { wmanIfBsSsProvisionedForSfEntry 2 } wmanIfBsSsProvisionedForSfRowStatus OBJECT-TYPE SYNTAX RowStatus MAX-ACCESS read-create STATUS current DESCRIPTION "This object is used to ensure that the write, create, delete operation to multiple columns is guaranteed to be treated as atomic operation by agent." ::= { wmanIfBsSsProvisionedForSfEntry 3 } --- wmanIfBsSsProvMacAddress in the agent is a fixed length string (length = 6). In other tables where MAC Address is a normal column (not index), it works well in set and get operations. For those tables all is OK, but in this case a strange thing happens... The rows of this table are stored in an extern DB, and in my tests the relative table from DB contains an active row with wmanIfBsProvSfId = 1 and wmanIfBsSsProvMacAddress = "abcdef". When I give this command from console: snmpwalk -v2c -c RW_community -m ALL localhost wmanIfBsSsProvisionedForSfTable I obtain this response: WMAN-IF-MIB::wmanIfBsSsProvisionedForSfRowStatus.'.abcde'.102.1 = INTEGER: active(1) that is right except for indexes values. A "." appears as first character of index and the "f" appears as .102. Does anybody know why? In set operations (to create new rows) I don't know how to correctly specify the new index. I try with: snmpset -v2c -c RW_community -m ALL localhost wmanIfBsSsProvisionedForSfRowStatus.abcdef.2 i 4 but I obtain this negative response: wmanIfBsSsProvisionedForSfRowStatus.abcdef.2: Unknown Object Identifier (Index out of range: abcdef (wmanIfBsSsProvMacAddress)) Other requests I try are: $ snmpset -v2c -c RW_community -m ALL localhost wmanIfBsSsProvisionedForSfRowStatus.abcdef.2 i 4 wmanIfBsSsProvisionedForSfRowStatus.abcdef.2: Unknown Object Identifier (Index out of range: abcdef (wmanIfBsSsProvMacAddress)) $ snmpset -v2c -c RW_community -m ALL localhost wmanIfBsSsProvisionedForSfRowStatus.'abcdef'.2 i 4 wmanIfBsSsProvisionedForSfRowStatus.abcdef.2: Unknown Object Identifier (Index out of range: abcdef (wmanIfBsSsProvMacAddress)) $ snmpset -v2c -c RW_community -m ALL localhost wmanIfBsSsProvisionedForSfRowStatus."abcdef".2 i 4 wmanIfBsSsProvisionedForSfRowStatus.abcdef.2: Unknown Object Identifier (Index out of range: abcdef (wmanIfBsSsProvMacAddress)) $ snmpset -v2c -c RW_community -m ALL localhost wmanIfBsSsProvisionedForSfRowStatus.6.a.b.c.d.e.f.2 i 4 wmanIfBsSsProvisionedForSfRowStatus.6.a.b.c.d.e.f.2: Unknown Object Identifier (Index out of range: a (wmanIfBsSsProvMacAddress)) $ snmpset -v2c -c RW_community -m ALL localhost wmanIfBsSsProvisionedForSfRowStatus.6.'a'.'b'.'c'.'d'.'e'.'f'.2 i 4 wmanIfBsSsProvisionedForSfRowStatus.6.a.b.c.d.e.f.2: Unknown Object Identifier (Index out of range: a (wmanIfBsSsProvMacAddress)) $ snmpset -v2c -c RW_community -m ALL localhost wmanIfBsSsProvisionedForSfRowStatus.6.'a'.'b'.'c'.'d'.'e'.'f'.1.2 i 4 wmanIfBsSsProvisionedForSfRowStatus.6.a.b.c.d.e.f.1.2: Unknown Object Identifier (Index out of range: a (wmanIfBsSsProvMacAddress)) $ snmps
Re: problem managing traps via snmpTargetAddrTable
On 13/02/07, Gal Waldman <[EMAIL PROTECTED]> wrote: > It's a combination of problems - the MIB walker / Manager Im using > (unbrowse,blackowl and also tkmib) share a common problem, the TADDRESS > field under UDPDOMAIN should be sent as 6hex but all off the above sent it > under all reasonable manipulations as 12 char field. > > And the agent does not validate the data on set. OK - I've logged a bug for the agent to validate addresses more rigourously. Unfortunately, this isn't going to be simple. Checking the validity of a new assignment depends on both the domain and address values, and the current implementation still uses the v4 API (which doesn't handle cross value validation very well). But it's logged, so we won't forget about it. Thanks for the report. Dave - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV ___ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users
Error with NETSNMP 5.4 on Tru64
Hi, I'm installing netsnmp v5.4 on OSF1 V5.1 2650 alpha. after starting the snmpd i've some error: nlist err: neither rthost nor _rthost found. nlist err: neither rtnet nor _rtnet found. NET-SNMP version 5.4 Please Help Me regards ___ Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions ! Profitez des connaissances, des opinions et des expériences des internautes sur Yahoo! Questions/Réponses http://fr.answers.yahoo.com - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV ___ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users
error :/usr/bin/ld: cannot find -lelf
hello when i launch make for installing net-snmp i have this error /usr/bin/ld: cannot find -lelf collect2: ld returned 1 exit status make[1]: *** [snmpd] Erreur 1 make[1]: Leaving directory `/usr/src/redhat/SOURCES/net-snmp-5.3.1/agent' make: *** [subdirs] Erreur 1 can you help me _ MSN Messenger : discutez en direct avec vos amis ! http://www.msn.fr/msger/default.asp - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV ___ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users
Re: init_kmem: kvm_open failed: Error 0 on solaris 10
It works with 5.4.. Thanks a lot -anand On 2/14/07, anand anand <[EMAIL PROTECTED]> wrote: I am running 5.2.1. I will switch to 5.4 . If i still get the same error then i will update the logs. Thanks for the help -anand On 2/14/07, Thomas Anders <[EMAIL PROTECTED]> wrote: > > anand anand wrote: > > I am running snmpd as root > > > > Here are the configure-options > > > > ./configure --with-sys-location="india" > > --with-sys-location="/var/log/snmpd. > > log" --with-sys-contact="[EMAIL PROTECTED]" > --with-default-snmp-version= > > "3" --with-mib-modules="wman wmanTable wmanNotification" > > --prefix="/vob/net-snmp" > > What net-snmp version? If you're not on 5.4, do you get the same error > with 5.4 ? > > Also, do you get the same error if you omit your own modules (i.e. omit > --with-mib-modules="wman wmanTable wmanNotification")? > > If none of this helps, we'd need to see full debug output ("snmpd -DALL > ..."), ideally through a bug report on www.net-snmp.org/bugs . > > > +Thomas > > -- > Thomas Anders (thomas.anders at blue-cable.de ) > > > - > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share > your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > ___ > Net-snmp-users mailing list > Net-snmp-users@lists.sourceforge.net > Please see the following page to unsubscribe or change other options: > https://lists.sourceforge.net/lists/listinfo/net-snmp-users > - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users
RE: Continuously displaying the same error message on the screen
I tried with that command. since it is a firmware loaded device, this particular command is not working on it. (I mean this tool is not avaialable on that switch) Thanks & Regards, Bharath Kumar |Project Engineer| Computing Systems & Storage| |#26, Hosur Main Road| BommanaHalli| Bangalooru| |Ph. No: +91-80-41373122| www.wipro.com| -Original Message- From: Sagar Shukla [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 14, 2007 7:01 PM To: Bharath Yadlapalli (WT01 - Computing Systems & Storage) Cc: [EMAIL PROTECTED]; net-snmp-users@lists.sourceforge.net Subject: RE: Continuously displaying the same error message on the screen Hi Bharath, Can you send the output of command - "dmesg" . This command outputs the hardware information of the running system. Regards, Sagar Shukla --- Sr. Systems Engineer Persistent System Pvt. Ltd. Pune - 411016 On Wed, 2007-02-14 at 18:55 +0530, [EMAIL PROTECTED] wrote: > : 1057:0006 (rev 14) > 00:1b.0 Class 0200: 100b:00 DISCLAIMER == This e-mail may contain privileged and confidential information which is the property of Persistent Systems Pvt. Ltd. It is intended only for the use of the individual or entity to which it is addressed. If you are not the intended recipient, you are not authorized to read, retain, copy, print, distribute or use this message. If you have received this communication in error, please notify the sender and delete all copies of this message. Persistent Systems Pvt. Ltd. does not accept any liability for virus infected mails. - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV ___ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users
Re: init_kmem: kvm_open failed: Error 0 on solaris 10
I am running 5.2.1. I will switch to 5.4 . If i still get the same error then i will update the logs. Thanks for the help -anand On 2/14/07, Thomas Anders <[EMAIL PROTECTED]> wrote: anand anand wrote: > I am running snmpd as root > > Here are the configure-options > > ./configure --with-sys-location="india" > --with-sys-location="/var/log/snmpd. > log" --with-sys-contact="[EMAIL PROTECTED]" --with-default-snmp-version= > "3" --with-mib-modules="wman wmanTable wmanNotification" > --prefix="/vob/net-snmp" What net-snmp version? If you're not on 5.4, do you get the same error with 5.4? Also, do you get the same error if you omit your own modules (i.e. omit --with-mib-modules="wman wmanTable wmanNotification")? If none of this helps, we'd need to see full debug output ("snmpd -DALL ..."), ideally through a bug report on www.net-snmp.org/bugs . +Thomas -- Thomas Anders (thomas.anders at blue-cable.de) - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV ___ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users
Re: Continuously displaying the same error message on the screen
On 14/02/07, Dave Shield <[EMAIL PROTECTED]> wrote: > The easiest short-term fix is probably to delete the line > that generates the "Missing CPU info entry" message. Sudden thought - a better fix would be to tweak the 'netsnmp_cpu_get_byIdx()' call immediately previous to read: cpu = netsnmp_cpu_get_byIdx( i, 1 ); That should both remove the offending error message *and* keep the hrProcessorLoad object active. The description of the processor (in the hrDeviceTable) will still be broken, but it's better than nothing. Dave - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV ___ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users
Re: Continuously displaying the same error message on the screen
On 14/02/07, Dave Shield <[EMAIL PROTECTED]> wrote: > The initialisation code assumes that this file looks something like: > > processor : 0 > vendor_id : GenuineIntel > cpu family : 15 > model : 4 > model name : Intel(R) Pentium(R) 4 CPU 2.80GHz > I've done a bit more poking around, and it looks as if there are various different styles of /proc/cpuinfo output, which look significantly different from each other. The current code only works properly with the x86 style. The easiest short-term fix is probably to delete the line that generates the "Missing CPU info entry" message. (agent/mibgroup/hardware/cpu/cpu_linux.c - line 121) and recompile. The UCD-specific CPU stats will still work - it's just the (new) hrProcessorLoad object that won't. I'll log a bug to ensure that this problem doesn't get forgotten. Dave - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV ___ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users
RE: Continuously displaying the same error message on the screen
Hi Bharath, Can you send the output of command - "dmesg" . This command outputs the hardware information of the running system. Regards, Sagar Shukla --- Sr. Systems Engineer Persistent System Pvt. Ltd. Pune - 411016 On Wed, 2007-02-14 at 18:55 +0530, [EMAIL PROTECTED] wrote: > : 1057:0006 (rev 14) > 00:1b.0 Class 0200: 100b:00 DISCLAIMER == This e-mail may contain privileged and confidential information which is the property of Persistent Systems Pvt. Ltd. It is intended only for the use of the individual or entity to which it is addressed. If you are not the intended recipient, you are not authorized to read, retain, copy, print, distribute or use this message. If you have received this communication in error, please notify the sender and delete all copies of this message. Persistent Systems Pvt. Ltd. does not accept any liability for virus infected mails. - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV ___ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users
Re: Continuously displaying the same error message on the screen
[EMAIL PROTECTED] wrote: > [EMAIL PROTECTED] proc]# cat version > Linux version 2.4.18-amazon-1.1-04 ([EMAIL PROTECTED]) (gcc version 3.2.1 > 20020930 (MontaVista)) #1 Tue Oct 17 11:21:06 CDT 2006 Please see the following bug report: [1600261] 5.4.rc3 missing CPU stats on Montavista Linux http://sf.net/support/tracker.php?aid=1600261 Please add all your valuable information there. +Thomas -- Thomas Anders (thomas.anders at blue-cable.de) - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV ___ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users
RE: Continuously displaying the same error message on the screen
[EMAIL PROTECTED] proc]# cat version Linux version 2.4.18-amazon-1.1-04 ([EMAIL PROTECTED]) (gcc version 3.2.1 20020930 (MontaVista)) #1 Tue Oct 17 11:21:06 CDT 2006 [EMAIL PROTECTED] proc]# Ignore the words like amazon, gotham etc. they are very specific to our project. [EMAIL PROTECTED] root]# lspci 00:00.0 Class 0600: 1057:0006 (rev 14) 00:1b.0 Class 0200: 100b:0020 00:1c.0 Class 0280: 1222:0001 The above is the information, I have. The snmp is installed on a Fibre-channel switch. Thanks & Regards, Bharath Kumar |Project Engineer| Computing Systems & Storage| |#26, Hosur Main Road| BommanaHalli| Bangalooru| |Ph. No: +91-80-41373122| www.wipro.com| -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dave Shield Sent: Wednesday, February 14, 2007 4:18 PM To: Bharath Yadlapalli (WT01 - Computing Systems & Storage) Cc: net-snmp-users@lists.sourceforge.net Subject: Re: Continuously displaying the same error message on the screen On 14/02/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > [EMAIL PROTECTED] root]# cat /proc/cpuinfo > cpu : 82xx > revision: 16.20 (pvr 8081 1014) > bogomips: 166.29 > vendor : ** > machine : Amazon > processor : PVID: 0x80811014, vendor: Motorola Aha - that's the problem then. The initialisation code assumes that this file looks something like: processor : 0 vendor_id : GenuineIntel cpu family : 15 model : 4 model name : Intel(R) Pentium(R) 4 CPU 2.80GHz So it's looking for a line of the form processor : N to create the entry with index 'N' "processor : PVID: 0x80811014, vendor: Motorola" will be confusing it something rotten! What hardware are you running this on? What Linux distribution is it? Dave - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV ___ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users
Re: init_kmem: kvm_open failed: Error 0 on solaris 10
anand anand wrote: > I am running snmpd as root > > Here are the configure-options > > ./configure --with-sys-location="india" > --with-sys-location="/var/log/snmpd. > log" --with-sys-contact="[EMAIL PROTECTED]" --with-default-snmp-version= > "3" --with-mib-modules="wman wmanTable wmanNotification" > --prefix="/vob/net-snmp" What net-snmp version? If you're not on 5.4, do you get the same error with 5.4? Also, do you get the same error if you omit your own modules (i.e. omit --with-mib-modules="wman wmanTable wmanNotification")? If none of this helps, we'd need to see full debug output ("snmpd -DALL ..."), ideally through a bug report on www.net-snmp.org/bugs . +Thomas -- Thomas Anders (thomas.anders at blue-cable.de) - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV ___ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users
Re: Problem related to OID representation
On 14/02/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: >Suppose for "1.2.3.4.5.6.1.1.2.abc.1" > > I should be sending "1.2.3.4.5.6.1.1.2.97.98.99.1" Close. 1.2.3.4.5.6.1.1.2.3.97.98.99.1 You can only use IMPLIED (i.e. no length octet) with the *last* index. Everything else must have an explicit length. Otherwise, consider 1.2.3.4.5.6.1.1.2.3.97.98.99.100 Is this a full OID with indexes "abc" and 100, or is it a partial OID with index "abcd" and no integer index? [That all assumes a variable-length string value. Fixed-length strings are handled differently. See the RFC for details] > what if other index is IP address . See the RFC. > In case of index as mac address .How OID will be represented ? See the RFC > In case of IP address index what will be the OID representation . See the RFC > If the index is not implied then for table which need two column as index > what will be the OID representation. See the RFC > For example 1.2.3.4.5.6.1.1.2.abc.xyz > > Will it be 1.2.3.4.5.6.1.1.2.3.97.98.99.3.120.121.122 Yes. > Or it will be 1.2.3.4.5.6.1.1.2.6.97.98.99.120.121.122 No. (Not unless the index values are defined as *always* being exactly three characters long). With this second encoding, how could an SNMP program tell the difference between indexes of: "a" and "bcxyz" "ab" and "cxyz" "abc" and "xyz" "abcx" and "yz" "abcxy" and "z" or even "abcxyz" and "" "" and "abcxyz" ? Dave - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV ___ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users
Re: Problem using net-snmp as subagent (Error in packet)
On 14/02/07, Johnny Ljunggren <[EMAIL PROTECTED]> wrote: > Just a follow up with the answer from Frank Fock: > > a 0.0 OID should be encoded like: > 02 00 00 00 > 00 00 00 00 > 00 00 00 00 > > and not > 00 00 00 00 > > which is actually a zero length OID Frank, how do you interpret the last paragraph of RFC 2741, section 5.1, which says: "A null Object Identifier consists of the 4-byte header with all bytes set to 0." ? I read this as meaning an encoding of 00 00 00 00 Would you see things differently? Dave - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV ___ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users
Re: init_kmem: kvm_open failed: Error 0 on solaris 10
I am running snmpd as root Here are the configure-options ./configure --with-sys-location="india" --with-sys-location="/var/log/snmpd. log" --with-sys-contact="[EMAIL PROTECTED]" --with-default-snmp-version= "3" --with-mib-modules="wman wmanTable wmanNotification" --prefix="/vob/net-snmp" Thanks -anand On 2/14/07, Thomas Anders <[EMAIL PROTECTED]> wrote: anand anand wrote: > I am trying the run net-snmp on solaris 10. When i start the snmpd then i > get the following in the snmpd.log file. > > Can anyone kindly tell me did i miss anything during the net-snmp > configuration. How exactly are you starting the agent? As what user? If you're not running as root, please add "-r" to your command-line options. Otherwise, please also post the output of "net-snmp-config --configure-options". +Thomas -- Thomas Anders (thomas.anders at blue-cable.de) - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users
Re: init_kmem: kvm_open failed: Error 0 on solaris 10
anand anand wrote: > I am trying the run net-snmp on solaris 10. When i start the snmpd then i > get the following in the snmpd.log file. > > Can anyone kindly tell me did i miss anything during the net-snmp > configuration. How exactly are you starting the agent? As what user? If you're not running as root, please add "-r" to your command-line options. Otherwise, please also post the output of "net-snmp-config --configure-options". +Thomas -- Thomas Anders (thomas.anders at blue-cable.de) - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV ___ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users
init_kmem: kvm_open failed: Error 0 on solaris 10
Hello all, I am trying the run net-snmp on solaris 10. When i start the snmpd then i get the following in the snmpd.log file. Can anyone kindly tell me did i miss anything during the net-snmp configuration. Thanks - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users
Re: Problem related to OID representation
On 14/02/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > suppose I need to send 1.2.3.4.5.6.1.1.2.abc (represented as) OID in > the var bind of trap PDU . > So my question is > 1) Shall I need to send 1.2.3.4.5.6.1.1.2.97.98.99 ? You would either send 1.2.3.4.5.6.1.1.2.97.98.99 or 1.2.3.4.5.6.1.1.2.3.97.98.99 depending on how the table was defined in the MIB. (in particular, whether IMPLIED was specified in the INDEX clause) > If it is then how SNMP manager is going to understand that I have send > 1.2.3.4.5.6.1.1.2.abc The trap manager would need to have the relevant MIB loaded. This then tells it how to interpret the incoming OID. > 2) If the table need two column as index and data type of one column > different than other then how I need to send. You'd list each index value in turn. Please see section 7.7 of RFC 2578, which explains how to handle the index values of a table in some detail. Dave - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV ___ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users
RE: Problem related to OID representation
Many thanks Dev, for your reply. Just to get the clear picture suppose the tables is having display string and integer as data type of the indices .Suppose for "1.2.3.4.5.6.1.1.2.abc.1" I should be sending "1.2.3.4.5.6.1.1.2.97.98.99.1" or "1.2.3.4.5.6.1.1.2.97.98.99.49" (49 is ASCII representation of 1) and what if other index is IP address .So for 1.2.3.4.5.6.1.1.2.abc.192.168.221.10 what will be OID representation. In case of index as mac address .How OID will be represented ? For example for 1.2.3.4.5.6.1.1.2.aa.bb.cc.dd.ee.ff what will be the OID ? In case of IP address index what will be the OID representation . If the index is not implied then for table which need two column as index what will be the OID representation. For example 1.2.3.4.5.6.1.1.2.abc.xyz Will it be 1.2.3.4.5.6.1.1.2.3.97.98.99.3.120.121.122 Or it will be 1.2.3.4.5.6.1.1.2.6.97.98.99.120.121.122 Regards, Somenath -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dave Shield Sent: Wednesday, February 14, 2007 5:34 PM To: Somenath Pal (WT01 - Broadband Networks) Cc: net-snmp-users@lists.sourceforge.net Subject: Re: Problem related to OID representation On 14/02/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > suppose I need to send 1.2.3.4.5.6.1.1.2.abc (represented as) OID in > the var bind of trap PDU . > So my question is > 1) Shall I need to send 1.2.3.4.5.6.1.1.2.97.98.99 ? You would either send 1.2.3.4.5.6.1.1.2.97.98.99 or 1.2.3.4.5.6.1.1.2.3.97.98.99 depending on how the table was defined in the MIB. (in particular, whether IMPLIED was specified in the INDEX clause) > If it is then how SNMP manager is going to understand that I have send > 1.2.3.4.5.6.1.1.2.abc The trap manager would need to have the relevant MIB loaded. This then tells it how to interpret the incoming OID. > 2) If the table need two column as index and data type of one column > different than other then how I need to send. You'd list each index value in turn. Please see section 7.7 of RFC 2578, which explains how to handle the index values of a table in some detail. Dave - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users
Re: Problem using net-snmp as subagent (Error in packet)
Hello again > I'll bring it up with the Agentpp developers to see if they should deal > with this differently. At least it seems like they should. Just a follow up with the answer from Frank Fock: a 0.0 OID should be encoded like: 02 00 00 00 00 00 00 00 00 00 00 00 and not 00 00 00 00 which is actually a zero length OID which must not be returned by a SNMP agent. Consequently, it should not be allowed for an AgentX subagent to return a zero length OID. Nevertheless, the AgentX++ master agent should be able to handle this. At the moment, I think there is no workaround implemented to map a zero length OID to 0.0 for NET-SNMP subagents. Instead a AgentX protocol error is thrown, which could lead to a subagent disconnect (if not sure if it actually does). -- Johnny Ljunggren, Navtek AS - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV ___ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users
Problem related to OID representation
Hello All, I need some information related to OID representation >From SNMP agent I need to send one MIB attribute (which may be columnar) value as OID in trap PDU's varbind. For example 1.2.3.4.5.6 is MIB tables OID and index is display string So suppose I need to send 1.2.3.4.5.6.1.1.2.abc (represented as) OID in the var bind of trap PDU . So my question is 1) Shall I need to send 1.2.3.4.5.6.1.1.2.97.98.99 ? If it is then how SNMP manager is going to understand that I have send 1.2.3.4.5.6.1.1.2.abc 2) If the table need two column as index and data type of one column different than other then how I need to send. For example 1.2.3.4.5.6 is MIB tables OID and it needs two column to identify row uniquely .Data type of one column is display string another is integer .The how can I send 1.2.3.4.5.6.1.1.2.abc.12 as OID. Please help. Regards, Somenath - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV ___ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users
Re: Continuously displaying the same error message on the screen
On 14/02/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > [EMAIL PROTECTED] root]# cat /proc/cpuinfo > cpu : 82xx > revision: 16.20 (pvr 8081 1014) > bogomips: 166.29 > vendor : ** > machine : Amazon > processor : PVID: 0x80811014, vendor: Motorola Aha - that's the problem then. The initialisation code assumes that this file looks something like: processor : 0 vendor_id : GenuineIntel cpu family : 15 model : 4 model name : Intel(R) Pentium(R) 4 CPU 2.80GHz So it's looking for a line of the form processor : N to create the entry with index 'N' "processor : PVID: 0x80811014, vendor: Motorola" will be confusing it something rotten! What hardware are you running this on? What Linux distribution is it? Dave - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV ___ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users
RE: Continuously displaying the same error message on the screen
[EMAIL PROTECTED] root]# cat /proc/cpuinfo cpu : 82xx revision: 16.20 (pvr 8081 1014) bogomips: 166.29 vendor : ** machine : Amazon processor : PVID: 0x80811014, vendor: Motorola [EMAIL PROTECTED] root]# Thanks & Regards, Bharath Kumar -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dave Shield Sent: Wednesday, February 14, 2007 3:10 PM To: Bharath Yadlapalli (WT01 - Computing Systems & Storage) Cc: net-snmp-users@lists.sourceforge.net Subject: Re: Continuously displaying the same error message on the screen On 13/02/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > This is the output, I am seeing if I use -Dcpu flag while starting the > snmpd. > > /itasca/conf/etc/snmpd.conf: line 23: Warning: The separate port > argument to informsink is deprecated > Error: the agenx_sockets variable contains . > Error: the agenx_sockets variable contains /var/agentx/master. > NET-SNMP version 5.4 > cpu: /proc/stat buffer increased to 512 > cpu: /proc/stat buffer increased to 768 > cpu: cpu_get_byIdx -1 (found) > cpu: cpu_get_byIdx 0 (not found) Err... that doen't make sense. There should be debug lines for *creating* the CPU data structures as well. Since it's finding the overall (-1) instance, then this must be gettiing created - so why aren't you seeing a line of the form: registered debug token cpu, 1 cpu: cpu_get_byIdx -1 (created) ? Hmmm You've shown us what your /proc/stat file looks like. What does /proc/cpuinfo contain? Dave - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV ___ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users
Re: Continuously displaying the same error message on the screen
On 13/02/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > This is the output, I am seeing if I use -Dcpu flag while starting the > snmpd. > > /itasca/conf/etc/snmpd.conf: line 23: Warning: The separate port > argument to informsink is deprecated > Error: the agenx_sockets variable contains . > Error: the agenx_sockets variable contains /var/agentx/master. > NET-SNMP version 5.4 > cpu: /proc/stat buffer increased to 512 > cpu: /proc/stat buffer increased to 768 > cpu: cpu_get_byIdx -1 (found) > cpu: cpu_get_byIdx 0 (not found) Err... that doen't make sense. There should be debug lines for *creating* the CPU data structures as well. Since it's finding the overall (-1) instance, then this must be gettiing created - so why aren't you seeing a line of the form: registered debug token cpu, 1 cpu: cpu_get_byIdx -1 (created) ? Hmmm You've shown us what your /proc/stat file looks like. What does /proc/cpuinfo contain? Dave - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV ___ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users