URGENT: Host Disk Fails After Upgrade to 0.8.7
Moderators: Developers, Moderators
- TheWitness
- Developer
- Posts: 17047
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Somehow your web server is unable to run these. That's all I can guess. No, you can not go back. Try restarting Apache and then do this again. Look in your apache error_log for more details.
TheWitness
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?
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?
0.8.7 must run by apache?TheWitness wrote:Somehow your web server is unable to run these. That's all I can guess. No, you can not go back. Try restarting Apache and then do this again. Look in your apache error_log for more details.
TheWitness
i have three cacti,one is windows 2003 iis6 0.8.6j updated 0.8.7 that's work well;one is cactiEZ0.3,it work well;one is new install cacti 0.8.7 buy windows2003&II6.
it config php have a issue:
i add windows system path environment variable as docment.but when i test php config(phpinfo();). it has find php.ini. i copy php.ini to windows\ folder.issue resovle.
Is it because PHP configuration?
i 0.8.6j's cacti han't this issue
IIS LOG files can be?
Last edited by looc on Thu Nov 15, 2007 11:14 pm, edited 1 time in total.
Cacti Version - 0.8.7 & spine
Plugin Architecture - 1.3
Server Info - Windows 2003 EP
Web Server -IIS6.0
PHP - 5.2.3
MySQL - 4.1.10
RRDTool - 1.2.15
SNMP - 5.4.1
--------------------------
plugins:
reportit 0.5.1|monitor 0.8.1|thold 0.3.8
Plugin Architecture - 1.3
Server Info - Windows 2003 EP
Web Server -IIS6.0
PHP - 5.2.3
MySQL - 4.1.10
RRDTool - 1.2.15
SNMP - 5.4.1
--------------------------
plugins:
reportit 0.5.1|monitor 0.8.1|thold 0.3.8
- TheWitness
- Developer
- Posts: 17047
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Sorry dont do Windows any more. I would look at Filemon when you run the dataquery and see if you have a permissions issue. IIS sucks when it comes to the log, unless they have changed something in IIS6.
TheWitness
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?
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?
surprise! i uninstall iis6 and install apach2.2.6,it can work well~!but php.ini have to in the c:\windowsTheWitness wrote:Sorry dont do Windows any more. I would look at Filemon when you run the dataquery and see if you have a permissions issue. IIS sucks when it comes to the log, unless they have changed something in IIS6.
TheWitness
Do I really certain IIS config or permissions issue ? !
Cacti Version - 0.8.7 & spine
Plugin Architecture - 1.3
Server Info - Windows 2003 EP
Web Server -IIS6.0
PHP - 5.2.3
MySQL - 4.1.10
RRDTool - 1.2.15
SNMP - 5.4.1
--------------------------
plugins:
reportit 0.5.1|monitor 0.8.1|thold 0.3.8
Plugin Architecture - 1.3
Server Info - Windows 2003 EP
Web Server -IIS6.0
PHP - 5.2.3
MySQL - 4.1.10
RRDTool - 1.2.15
SNMP - 5.4.1
--------------------------
plugins:
reportit 0.5.1|monitor 0.8.1|thold 0.3.8
-
- Posts: 9
- Joined: Sun Nov 19, 2006 5:34 pm
Hi
I've just upgraded from 0.8.6j to .0.8.7b and now have this problem with cpu and disk not updating.
Debian Etch
net-snmp 5.
rrdtool 1.2
I'm not seeing any errors in the logs, I get the below when I run verbose query
I'm also running the latest PIA
Thanks for your time
I've just upgraded from 0.8.6j to .0.8.7b and now have this problem with cpu and disk not updating.
Debian Etch
net-snmp 5.
rrdtool 1.2
I'm not seeing any errors in the logs, I get the below when I run verbose query
Code: Select all
+ Running data query [8].
+ Found type = '4 '[script query].
+ Found data query XML file at '/var/www/cacti-0.8.7b/resource/script_queries/host_disk.xml'
+ XML file parsed ok.
+ Executing script for list of indexes '/usr/bin/php -q /var/www/cacti-0.8.7b/scripts/query_host_partitions.php **.***.***.22 public 2 index'
+ Executing script query '/usr/bin/php -q /var/www/cacti-0.8.7b/scripts/query_host_partitions.php **.***.***.22 public 2 query index'
+ Executing script query '/usr/bin/php -q /var/www/cacti-0.8.7b/scripts/query_host_partitions.php **.***.***.22 public 2 query description'
+ Executing script query '/usr/bin/php -q /var/www/cacti-0.8.7b/scripts/query_host_partitions.php **.***.***.22 public 2 query sau'
+ Found data query XML file at '/var/www/cacti-0.8.7b/resource/script_queries/host_disk.xml'
+ Found data query XML file at '/var/www/cacti-0.8.7b/resource/script_queries/host_disk.xml'
+ Found data query XML file at '/var/www/cacti-0.8.7b/resource/script_queries/host_disk.xml'
+ Found data query XML file at '/var/www/cacti-0.8.7b/resource/script_queries/host_disk.xml'
+ Found data query XML file at '/var/www/cacti-0.8.7b/resource/script_queries/host_disk.xml'
+ Found data query XML file at '/var/www/cacti-0.8.7b/resource/script_queries/host_disk.xml'
Thanks for your time
-
- Posts: 9
- Joined: Sun Nov 19, 2006 5:34 pm
-
- Posts: 24
- Joined: Tue Oct 16, 2007 2:59 am
Hello everybody, same problem here. Monitoring network interfaces has never been a problem, but doing the same for disks and cpus seems to be pure luck. After upgrading to 0.8.7b re-queriing:
SNMP - Get Mounted Partitions
SNMP - Get Processor Information
always returns 0 results.
For the partitions:
For the cpu
So I've checked all files, they're from February 2008, including those in the ressource folder.
Filemon didn't show any denied accesses. But viewing the log I found the error on the attached screenshot. Host 12 is a remote dd-wrt router that doesn't have to be given any attention here. Host 1 is indeed one of the machines having the problem, but absolutely not the only one.
Might the SQL error be a clue to you? Raising the log-level shows only blue lines when executing the query.
What I should add:
For one host a cpu is still monitored, even if it doesn't show up under "Associated Data Queries". That's left from the past, I haven't deleted the data source, neither the graph. And it's still monitored successfully. Only the name can't be querried:
CPU Utilization - CPU|query_hrProcessorFrwID|
...what used to be CPU0. Maybe that's what's causing the log-error for host 1.
SNMP - Get Mounted Partitions
SNMP - Get Processor Information
always returns 0 results.
For the partitions:
Code: Select all
+ Running data query [8].
+ Found type = '6 '[script query].
+ Found data query XML file at 'E:/wwwroot/Php/cacti/resource/script_server/host_disk.xml'
+ XML file parsed ok.
+ Executing script for list of indexes 'c:\progra~1\php\php.exe -q E:\wwwroot\Php\cacti\scripts\ss_host_disk.php terminalserver.brainscanner.dyndns.org 7 1:161:500:public:::::: index'
+ Executing script query 'c:\progra~1\php\php.exe -q E:\wwwroot\Php\cacti\scripts\ss_host_disk.php terminalserver.brainscanner.dyndns.org 7 1:161:500:public:::::: query index'
+ Executing script query 'c:\progra~1\php\php.exe -q E:\wwwroot\Php\cacti\scripts\ss_host_disk.php terminalserver.mydomain 7 1:161:500:public:::::: query description'
+ Executing script query 'c:\progra~1\php\php.exe -q E:\wwwroot\Php\cacti\scripts\ss_host_disk.php terminalserver.mydomain 7 1:161:500:public:::::: query sau'
+ Found data query XML file at 'E:/wwwroot/Php/cacti/resource/script_server/host_disk.xml'
+ Found data query XML file at 'E:/wwwroot/Php/cacti/resource/script_server/host_disk.xml'
+ Found data query XML file at 'E:/wwwroot/Php/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 'E:/wwwroot/Php/cacti/resource/script_server/host_cpu.xml'
+ XML file parsed ok.
+ Executing script for list of indexes 'c:\progra~1\php\php.exe -q E:\wwwroot\Php\cacti\scripts\ss_host_cpu.php terminalserver.brainscanner.dyndns.org 7 1:161:500:public:::::: index'
+ Executing script query 'c:\progra~1\php\php.exe -q E:\wwwroot\Php\cacti\scripts\ss_host_cpu.php terminalserver.mydomain 7 1:161:500:public:::::: query index'
+ Found data query XML file at 'E:/wwwroot/Php/cacti/resource/script_server/host_cpu.xml'
+ Found data query XML file at 'E:/wwwroot/Php/cacti/resource/script_server/host_cpu.xml'
+ Found data query XML file at 'E:/wwwroot/Php/cacti/resource/script_server/host_cpu.xml'
Filemon didn't show any denied accesses. But viewing the log I found the error on the attached screenshot. Host 12 is a remote dd-wrt router that doesn't have to be given any attention here. Host 1 is indeed one of the machines having the problem, but absolutely not the only one.
Might the SQL error be a clue to you? Raising the log-level shows only blue lines when executing the query.
What I should add:
For one host a cpu is still monitored, even if it doesn't show up under "Associated Data Queries". That's left from the past, I haven't deleted the data source, neither the graph. And it's still monitored successfully. Only the name can't be querried:
CPU Utilization - CPU|query_hrProcessorFrwID|
...what used to be CPU0. Maybe that's what's causing the log-error for host 1.
- Attachments
-
- sql_error.png (20.11 KiB) Viewed 5499 times
- TheWitness
- Developer
- Posts: 17047
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
For those on 0.8.7x, please see the beta version of 0.8.7c. In there you will find a directory called "scripts". From there take both the ss_host_disk.php and ss_host_cpu.php and place those into your 0.8.7b scripts directory and re-index. This should fix things up nice.
TheWitness
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?
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?
Hm, ss_host_cpu.php not workTheWitness wrote:For those on 0.8.7x, please see the beta version of 0.8.7c. In there you will find a directory called "scripts". From there take both the ss_host_disk.php and ss_host_cpu.php and place those into your 0.8.7b scripts directory and re-index. This should fix things up nice.
TheWitness
- TheWitness
- Developer
- Posts: 17047
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Post "Query Verbose"
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?
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?
Code: Select all
+ 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 192.168.1.5 21 2:161:1000:public:::MD5::[None] index'
+ Executing script query '/usr/local/bin/php -q /usr/local/www/cacti/scripts/ss_host_cpu.php 192.168.1.5 21 2:161:1000:public:::MD5::[None] 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'
- TheWitness
- Developer
- Posts: 17047
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
What happens when you run this from the command line:
/usr/local/bin/php -q /usr/local/www/cacti/scripts/ss_host_cpu.php 192.168.1.5 21 2:161public:::MD5::[None] query index
TheWitness
/usr/local/bin/php -q /usr/local/www/cacti/scripts/ss_host_cpu.php 192.168.1.5 21 2:161public:::MD5::[None] query index
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?
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?
Who is online
Users browsing this forum: No registered users and 0 guests