BUG: 8.7c Get Processor Information - 0 Rows for w2k3 svr

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
syscev
Posts: 11
Joined: Wed May 21, 2008 8:50 pm

BUG: 8.7c Get Processor Information - 0 Rows for w2k3 svr

Post by syscev »

I am not sure this is already a known bug for 8.7c. Get Processor Information stopped working when I upgrade from 8.7b to 8.7c.

I have 2 linux fedora cacti servers one of the is still running 8.7b.

Below is the verbose query to the same windows server. Please advise if should provide more info.

cacti 8.7b

Code: Select all

Data Query Debug Information
+ Running data query [9].
+ Found type = '6 '[script query].
+ Found data query XML file at '/var/www/html/cacti/resource/script_server/host_cpu.xml'
+ XML file parsed ok.
+ Executing script for list of indexes '/usr/bin/php -q /var/www/html/cacti/scripts/ss_host_cpu.php 210.xxx.xxx.xxx 1518 1:161:500:SNMPxxxxx:::MD5::DES: index'
+ Executing script query '/usr/bin/php -q /var/www/html/cacti/scripts/ss_host_cpu.php 210.xxx.xxx.xxx 1518 1:161:500:SNMPxxxxx:::MD5::DES: query index'
+ Found item [hrProcessorFrwID='0'] index: 0
+ Found item [hrProcessorFrwID='1'] index: 1
+ Found data query XML file at '/var/www/html/cacti/resource/script_server/host_cpu.xml'
+ Found data query XML file at '/var/www/html/cacti/resource/script_server/host_cpu.xml'
+ Found data query XML file at '/var/www/html/cacti/resource/script_server/host_cpu.xml'
Cacti 8.7c

Code: Select all

Data Query Debug Information
+ Running data query [9].
+ Found type = '6 '[script query].
+ Found data query XML file at '/var/www/html/cacti/resource/script_server/host_cpu.xml'
+ XML file parsed ok.
+ Executing script for list of indexes '/usr/bin/php -q /var/www/html/cacti/scripts/ss_host_cpu.php 210.xxx.xxx.xxx 149 2:161:500:1:10:SNMPxxxxx:::MD5::DES: index'
+ Executing script query '/usr/bin/php -q /var/www/html/cacti/scripts/ss_host_cpu.php 210.xxx.xxx.xxx 149 2:161:500:1:10:SNMPxxxxx:::MD5::DES: query index'
+ Found data query XML file at '/var/www/html/cacti/resource/script_server/host_cpu.xml'
+ Found data query XML file at '/var/www/html/cacti/resource/script_server/host_cpu.xml'
+ Found data query XML file at '/var/www/html/cacti/resource/script_server/host_cpu.xml'
+ Found data query XML file at '/var/www/html/cacti/resource/script_server/host_cpu.xml'
+ Found data query XML file at '/var/www/html/cacti/resource/script_server/host_cpu.xml'
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

Patches come to fix this issue.

Please download the latest file from SVN for the 0.8.7 branch to fix it.
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
User avatar
dangul
Posts: 8
Joined: Tue Nov 25, 2003 4:48 am

Post by dangul »

Do I need any upgrade for this... Today I use 0.8.7c ?

//Daniel
syscev
Posts: 11
Joined: Wed May 21, 2008 8:50 pm

... Ugh...

Post by syscev »

rony wrote:Patches come to fix this issue.

Please download the latest file from SVN for the 0.8.7 branch to fix it.
I tried using all the files that was updated 2 days ago. It does not solve the problem.

Then I thought I should update my spine poller to the latest 8.7c version but seems like the 'configure' file is broken in the latest tar.

Code: Select all

[root@xxxx cacti-spine-0.8.7c]# ./configure
./configure: line 3: syntax error near unexpected token `<<<'
./configure: line 3: `<<<<<<< .mine'

Code: Select all

#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
<<<<<<< .mine
# Generated by GNU Autoconf 2.59 for Spine Poller 0.8.7a.
=======
# Generated by GNU Autoconf 2.59 for Spine Poller 0.8.7c-beta2.
>>>>>>> .r4885
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Known problem; we're working on it
Reinhard
syscev
Posts: 11
Joined: Wed May 21, 2008 8:50 pm

..

Post by syscev »

gandalf wrote:Known problem; we're working on it
Reinhard
Thanks for the update. Please give us the heads up when the code is updated.
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

We will publish a patch, then
Reinhard
syscev
Posts: 11
Joined: Wed May 21, 2008 8:50 pm

patches

Post by syscev »

gandalf wrote:We will publish a patch, then
Reinhard
Just wondering, will the patches take a long time to develop ?

If yes. Are you able to provide some tips on how to safely revert 8.7c to 8.7b for the time being.
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

087d is out now. Please retry
Reinhard
syscev
Posts: 11
Joined: Wed May 21, 2008 8:50 pm

...

Post by syscev »

gandalf wrote:087d is out now. Please retry
Reinhard
Thanks for the update. I will try it out later and feedback.
syscev
Posts: 11
Joined: Wed May 21, 2008 8:50 pm

Re: ...

Post by syscev »

syscev wrote:
gandalf wrote:087d is out now. Please retry
Reinhard
Thanks for the update. I will try it out later and feedback.
Ok so, far all looks good after the upgrade to 8.7d. Will monitor further.
Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests