Success [0 Items, 0 Rows] for both CPU and HDD

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

Moderators: Developers, Moderators

Post Reply
misterbud
Posts: 2
Joined: Thu Mar 03, 2005 3:12 pm

Success [0 Items, 0 Rows] for both CPU and HDD

Post by misterbud »

Ok - I have been all through the fourms - and can not seem to find a fix for this?

FC3

cacti 0.8.6c
Operating System: unix
PHP SNMP Support: yes

php-4.3.10-3.2
mysql-3.23.58-14
rrdtool-1.0.49-1.1.fc3.rf
net-snmp-5.1.2-11

I have installed the patches for 8.6c

Debug gives me this;

Code: Select all

+ Running data query [8].
+ Found type = '6 '[script query].
+ Found data query XML file at '/var/www/html/cacti/resource/script_server/host_disk.xml'
+ XML file parsed ok.
+ Executing script for list of indexes '/usr/bin/php -q /var/www/html/cacti/scripts/ss_host_disk.php p4-24g.local.lan public 1 2 index'
+ Executing script query '/usr/bin/php -q /var/www/html/cacti/scripts/ss_host_disk.php p4-24g.local.lan public 1 2 query index'
+ Executing script query '/usr/bin/php -q /var/www/html/cacti/scripts/ss_host_disk.php p4-24g.local.lan public 1 2 query description'
+ Executing script query '/usr/bin/php -q /var/www/html/cacti/scripts/ss_host_disk.php p4-24g.local.lan public 1 2 query sau'
+ Found data query XML file at '/var/www/html/cacti/resource/script_server/host_disk.xml'
+ Found data query XML file at '/var/www/html/cacti/resource/script_server/host_disk.xml'
+ Found data query XML file at '/var/www/html/cacti/resource/script_server/host_disk.xml'

Code: Select all

+ 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 p4-24g.local.lan public 1 index'
+ Executing script query '/usr/bin/php -q /var/www/html/cacti/scripts/ss_host_cpu.php p4-24g.local.lan public 1 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'
I can snmpwalk just the machines in question, just fine;

Code: Select all

-sh-3.00$ snmpwalk -c public -v 1 192.168.1.101 1.3.6.1.2.1.25.3.3.1 
HOST-RESOURCES-MIB::hrProcessorFrwID.3 = OID: SNMPv2-SMI::zeroDotZero
HOST-RESOURCES-MIB::hrProcessorLoad.3 = INTEGER: 17

-sh-3.00$ snmpwalk -c public -v 1 192.168.1.101 .1.3.6.1.2.1.25.2.3.1.5
HOST-RESOURCES-MIB::hrStorageSize.1 = INTEGER: 0
HOST-RESOURCES-MIB::hrStorageSize.2 = INTEGER: 15012734
HOST-RESOURCES-MIB::hrStorageSize.3 = INTEGER: 0
HOST-RESOURCES-MIB::hrStorageSize.4 = INTEGER: 9914
HOST-RESOURCES-MIB::hrStorageSize.5 = INTEGER: 4086
-sh-3.00$ snmpwalk -c public -v 1 192.168.1.101 .1.3.6.1.2.1.25.2.3.1.6
HOST-RESOURCES-MIB::hrStorageUsed.1 = INTEGER: 0
HOST-RESOURCES-MIB::hrStorageUsed.2 = INTEGER: 3576673
HOST-RESOURCES-MIB::hrStorageUsed.3 = INTEGER: 0
HOST-RESOURCES-MIB::hrStorageUsed.4 = INTEGER: 3305
HOST-RESOURCES-MIB::hrStorageUsed.5 = INTEGER: 2524
If I run the scripts by hand they work;

Code: Select all

-sh-3.00$ /usr/bin/php -q /var/www/html/cacti/scripts/ss_host_disk.php p3-1000.local.lan public 1 2 query description     
1!A:
2!C: Label:  Serial Number 3f172e5f
3!D:
4!Virtual Memory
5!Physical Memory
Does anyone have an idea where to look? The network interface stuff works fine, the local box its running on is working fine for graphs.. I have not moved on to doing any queries to my linux machines yet, since I can not even get the the window ones to work - and clearly SNMP is working, etc..
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

There is some issue currently with FC3 that is affecting multiple users. If you can figure it out, you get the prize. Question: Did you install from RPM? If so, please install from source and see if you have better luck.

TheWitness
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?
misterbud
Posts: 2
Joined: Thu Mar 03, 2005 3:12 pm

Post by misterbud »

TheWitness wrote:There is some issue currently with FC3 that is affecting multiple users. If you can figure it out, you get the prize.
TheWitness
Yes I installed from RPM, guess I can try building it -- but if I had to guess, I would say it has something to do with the script and php 4.3.10?

If you run the command that is says its runs in the verbose debug - you do get info back - but debug does not show this.. So I would guess that is where the problem is. Looks to me like the script is not reading the response? when run from within cacti -- what would of changed?

I have only had it up and running for a day - so I have not figured out how it all works yet, I was hoping to find a quick fix for the issue?? Does anyone have a work around - I saw some mention of rolling back your php to 4.3.6? But could not tell if that actually fixed the issue or not?
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Have you tried cactid with any success?

TheWitness
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?
Linzer
Posts: 31
Joined: Tue Sep 24, 2002 12:26 pm

Post by Linzer »

TheWitness wrote:There is some issue currently with FC3 that is affecting multiple users. If you can figure it out, you get the prize. Question: Did you install from RPM? If so, please install from source and see if you have better luck.

TheWitness
I'm running successfully with FC3. A Synaptic "Mark All Upgrades" along the way broke things for me. I was able to successfully get things running again by running php-rrdtool-1.0.49-1.1.fc3.fr as opposed to php-rrdtool-1.0.49-1.1.fc3.rf (note the difference in the last two characters).

The apt RPM repositories I'm running are:

dag.list:rpm http://apt.sw.be/ fedora/3/en/i386 dag
dries.list:rpm http://apt.sw.be/ dries/fedora/fc3/i386 dries
freshrpms.list:rpm http://ayo.freshrpms.net/ fedora/linux/3/i386 freshrpms
newrpms.list:rpm http://newrpms.sunsite.dk/apt/ redhat/en/i386/fc3 newrpms
os.list:rpm http://ayo.freshrpms.net/ fedora/linux/3/i386 core updates

HTH
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest