Re: Continuously displaying the same error message on the screen
On 14/02/07, Dave Shield [EMAIL PROTECTED] wrote: 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 ); Confirmed - that does seem to do the trick. I've updated the CVS branches accordingly. 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.phpp=sourceforgeCID=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) etc, etc 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.phpp=sourceforgeCID=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) etc, etc 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.phpp=sourceforgeCID=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 etc, etc 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.phpp=sourceforgeCID=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 etc, etc 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.phpp=sourceforgeCID=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.phpp=sourceforgeCID=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.phpp=sourceforgeCID=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 etc, etc 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.phpp=sourceforgeCID=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.phpp=sourceforgeCID=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.phpp=sourceforgeCID=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
Help me please...! 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) Missing CPU info entry: No such file or directory cpu: cpu_get_byIdx -1 (found) cpu: cpu_get_byIdx -1 (found) cpu: cpu_get_byIdx 0 (not found) Missing CPU info entry: No such file or directory cpu: cpu_get_byIdx -1 (found) cpu: cpu_get_byIdx -1 (found) cpu: cpu_get_byIdx 0 (not found) Missing CPU info entry: No such file or directory cpu: cpu_get_byIdx -1 (found) cpu: cpu_get_byIdx -1 (found) cpu: cpu_get_byIdx 0 (not found) Missing CPU info entry: No such file or directory cpu: cpu_get_byIdx -1 (found) Reconfiguring daemon NET-SNMP version 5.4 restarted Turning on AgentX master support. /itasca/conf/etc/snmpd.conf: line 23: Warning: The separate port argument to informsink is deprecated Reconfiguring daemon NET-SNMP version 5.4 restarted Turning on AgentX master support. /itasca/conf/etc/snmpd.conf: line 23: Warning: The separate port argument to informsink is deprecated cpu: cpu_get_byIdx -1 (found) cpu: cpu_get_byIdx 0 (not found) Missing CPU info entry: No such file or directory cpu: cpu_get_byIdx -1 (found) cpu: cpu_get_byIdx -1 (found) cpu: cpu_get_byIdx 0 (not found) Missing CPU info entry: No such file or directory cpu: cpu_get_byIdx -1 (found) cpu: cpu_get_byIdx -1 (found) cpu: cpu_get_byIdx 0 (not found) Missing CPU info entry: No such file or directory cpu: cpu_get_byIdx -1 (found) Thanks Regards, Bharath Kumar -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dave Shield Sent: Monday, February 12, 2007 5:33 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 07/02/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I have downloaded the latest net-snmp 5.4 and loaded the agent on one of the devices. What I see is the Missing CPU info entry: No such file or directory continuously. Can you please try running the agent using the flag '-Dcpu' and report what debug output you get. Thanks Dave - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ 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 07/02/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I have downloaded the latest net-snmp 5.4 and loaded the agent on one of the devices. What I see is the Missing CPU info entry: No such file or directory continuously. Can you please try running the agent using the flag '-Dcpu' and report what debug output you get. Thanks Dave - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ 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
The device is a switch and runs on linux with kernel version 2.6. It contains two CPUs for fault tolerance. Here is the content of the /proc/stat [EMAIL PROTECTED] bin]# cat /proc/stat cpu 64948 0 82158 4591351 14 15126 47131 cpu0 64948 0 82158 4591351 14 15126 47131 intr 33572936 0 0 3798489 4198 0 0 0 0 0 0 12154350 8204160 0 0 0 0 0 0 0 0 0 0 0 3516505 5895234 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ctxt 14894703 btime 1170859144 processes 2510 procs_running 2 procs_blocked 0 [EMAIL PROTECTED] bin]# 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: Thomas Anders [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 07, 2007 10:44 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 [EMAIL PROTECTED] wrote: I have downloaded the latest net-snmp 5.4 and loaded the agent on one of the devices. What I see is the Missing CPU info entry: No such file or directory continuously. What's your exact platform, distro and Linux kernel version? What's the output of cat /proc/stat? +Thomas -- Thomas Anders (thomas.anders at blue-cable.de) - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ 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: I have downloaded the latest net-snmp 5.4 and loaded the agent on one of the devices. What I see is the Missing CPU info entry: No such file or directory continuously. What's your exact platform, distro and Linux kernel version? What's the output of cat /proc/stat? +Thomas -- Thomas Anders (thomas.anders at blue-cable.de) - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ 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