Data queries for Windows clients not working after upgrade

Post support questions that relate to the Windows 2003/2000/XP operating systems.

Moderators: Developers, Moderators

Post Reply
jets
Posts: 6
Joined: Thu Jun 23, 2005 2:26 am

Data queries for Windows clients not working after upgrade

Post by jets »

After upgrading from 0.8.6c to 0.8.6d all my data queries on "SNMP - Get Processor Information" and "SNMP - Get Mounted Partitions" on Windows clients stopped working. They just show "0 Items, 0 Rows" on the Device page. It results in the graphs being empty (just showing "NAN"). Weird enough "SNMP - Interface Statistics" still works.

Cacti is running on a Unix host, and I can still snmpwalk the Windows hosts. Since the interface traffic stuff still works, I doubt that SNMP is the problem. On the Windows clients all services under the tab "Agent" are ticked.

I have also tried upgrading to version 0.8.6e without any luck.

Any ideas? Below is the output from an snmpwalk:

> snmpwalk -Os -c cacti -v 2c winhost01 | grep ProcessorLoad
hrProcessorLoad.1 = INTEGER: 1
hrProcessorLoad.2 = INTEGER: 0
hrProcessorLoad.3 = INTEGER: 1
hrProcessorLoad.4 = INTEGER: 1
jets
Posts: 6
Joined: Thu Jun 23, 2005 2:26 am

Post by jets »

This is the debug output from the Processor Information:

+ Running data query [9].
+ Found type = '6 '[script query].
+ Found data query XML file at '/usr/local/www/cacti/resource/script_server/host_cpu.xml'
+ XML file parsed ok.
+ Executing script for list of indexes '/usr/local/bin/php -q /usr/local/www/cacti/scripts/ss_host_cpu.php winhost01 cacti 2 161 500 index'
+ Executing script query '/usr/local/bin/php -q /usr/local/www/cacti/scripts/ss_host_cpu.php winhost01 cacti 2 161 500 query index'
+ Found data query XML file at '/usr/local/www/cacti/resource/script_server/host_cpu.xml'
+ Found data query XML file at '/usr/local/www/cacti/resource/script_server/host_cpu.xml'
+ Found data query XML file at '/usr/local/www/cacti/resource/script_server/host_cpu.xml'
+ Found data query XML file at '/usr/local/www/cacti/resource/script_server/host_cpu.xml'
+ Found data query XML file at '/usr/local/www/cacti/resource/script_server/host_cpu.xml'
+ Found data query XML file at '/usr/local/www/cacti/resource/script_server/host_cpu.xml'
+ Found data query XML file at '/usr/local/www/cacti/resource/script_server/host_cpu.xml'
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Please take the scripts from the Cactid-0.8.6e zip file and overwrite the ones in you script directory and then perform a poller cache clear. We made some changes to those files and did not change the upgrade instructions.

TheWitness :D
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
jets
Posts: 6
Joined: Thu Jun 23, 2005 2:26 am

Post by jets »

That was the trick! Thanks :D

Maybe it should be stated in the UPGRADE docs in step 7. If you do as it explicitly says, it overwrites the new scripts, but you probably already thought of rewriting this ;)
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests