URGENT: Host Disk Fails After Upgrade to 0.8.7
Moderators: Developers, Moderators
Bugger - confirmed
Had a hunch I must've overlooked something simple - not sure how I managed to overwrite the 0.8.7 version though.
Replaced the XML with 0.8.7 version but didn't fix the problem - will wipe and rerun the upgrade from scratch (in case this isn't the only file I broke) and reply again shortly.
Had a hunch I must've overlooked something simple - not sure how I managed to overwrite the 0.8.7 version though.
Replaced the XML with 0.8.7 version but didn't fix the problem - will wipe and rerun the upgrade from scratch (in case this isn't the only file I broke) and reply again shortly.
Disk graphs broken (when using Non-standard SNMP port)
OK I started the upgrade again from scratch, but had the same problem. I then tried just installing anew (clean cacti dir as per zip contents only; dropped and recreated the cacti DB) and adding just this one new host, creating a couple of graphs and the problem occurred again ie.
10/27/2007 10:50:23 PM - CMDPHP: Poller[0] Host[2] DS[11] SERVER: c:\inetpub\wwwroot\cacti\scripts\ss_host_disk.php ss_host_disk 10.0.0.1 2 2500:public:::MD5::DES: get total 5, output: 0
I again tried replacing the ssh_host_disk and query_host_partitions scripts with the ones posted earlier, but they still have the same result.
Incidentally I was able to set up an outbound NAT+PAT rule for testing so the machine running Cacti could then talk using the standard port; the graphs started working straight away. Have you had any reports of others running 0.8.7, successfully being able to use disk graphs on a host they poll using a nonstandard SNMP port?
10/27/2007 10:50:23 PM - CMDPHP: Poller[0] Host[2] DS[11] SERVER: c:\inetpub\wwwroot\cacti\scripts\ss_host_disk.php ss_host_disk 10.0.0.1 2 2500:public:::MD5::DES: get total 5, output: 0
I again tried replacing the ssh_host_disk and query_host_partitions scripts with the ones posted earlier, but they still have the same result.
Incidentally I was able to set up an outbound NAT+PAT rule for testing so the machine running Cacti could then talk using the standard port; the graphs started working straight away. Have you had any reports of others running 0.8.7, successfully being able to use disk graphs on a host they poll using a nonstandard SNMP port?
Last edited by lordlynx on Mon Oct 29, 2007 3:22 am, edited 1 time in total.
- TheWitness
- Developer
- Posts: 17047
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Mybe that's it. I will have to look.
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 - No Windows Disks
I have done a fresh install of 0.8.7 and I have no disk statistics.. This worked under 8.6. I have replaced my .php files with those from the earlier posts.
I have Cacti running on Windows 2003 under Apache.
Anything I can do to help?
I have Cacti running on Windows 2003 under Apache.
Anything I can do to help?
- TheWitness
- Developer
- Posts: 17047
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Can you aford a gotoMeeting. It would have to be evenings EDT.
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?
fixed ss_host_disk.php
fixed file
- Attachments
-
- ss_host_disk.zip
- fixed file
- (1.24 KiB) Downloaded 634 times
- TheWitness
- Developer
- Posts: 17047
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Thanks for the post. Don't know how I missed those two.
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?
All fixed!
Confirmed fixed for me too - my broken disk/mem graphs started working immediately after I started using P0rter's modified ss_host_disk.php - no other action required.
I also checked all my "normal" disk/memory graphs just to be 100% sure, all are still working correctly.
Thanks to Witness for working on the problem, and P0rter for supplying the fix!
I also checked all my "normal" disk/memory graphs just to be 100% sure, all are still working correctly.
Thanks to Witness for working on the problem, and P0rter for supplying the fix!
HI,
I have still problems....updated
-query_host_cpu.php
-query_host_partitions.php
-ss_host_disk.php
running on cacti 0.87 (CactiEZ). When I create a new device I cannot get any partition and drive information - from an old running cacti I have no problems - so we can exclude host prolems.....
Here is the verbose query:
+ Running data query [8].
+ Found type = '6 '[script query].
+ Found data query XML file at '/var/www/html/resource/script_server/host_disk.xml'
+ XML file parsed ok.
+ Executing script for list of indexes '/usr/bin/php -q /var/www/html/scripts/ss_host_disk.php s0000935.ecdomain.net pkg-de-rheinau 2 6 index'
+ Executing script query '/usr/bin/php -q /var/www/html/scripts/ss_host_disk.php s0000935.ecdomain.net pkg-de-rheinau 2 6 query index'
+ Executing script query '/usr/bin/php -q /var/www/html/scripts/ss_host_disk.php s0000935.ecdomain.net pkg-de-rheinau 2 6 query description'
+ Executing script query '/usr/bin/php -q /var/www/html/scripts/ss_host_disk.php s0000935.ecdomain.net pkg-de-rheinau 2 6 query sau'
+ Executing script query '/usr/bin/php -q /var/www/html/scripts/ss_host_disk.php s0000935.ecdomain.net pkg-de-rheinau 2 6 query total'
+ Found data query XML file at '/var/www/html/resource/script_server/host_disk.xml'
+ Found data query XML file at '/var/www/html/resource/script_server/host_disk.xml'
+ Found data query XML file at '/var/www/html/resource/script_server/host_disk.xml'
Thanks in advance
Alex
I have still problems....updated
-query_host_cpu.php
-query_host_partitions.php
-ss_host_disk.php
running on cacti 0.87 (CactiEZ). When I create a new device I cannot get any partition and drive information - from an old running cacti I have no problems - so we can exclude host prolems.....
Here is the verbose query:
+ Running data query [8].
+ Found type = '6 '[script query].
+ Found data query XML file at '/var/www/html/resource/script_server/host_disk.xml'
+ XML file parsed ok.
+ Executing script for list of indexes '/usr/bin/php -q /var/www/html/scripts/ss_host_disk.php s0000935.ecdomain.net pkg-de-rheinau 2 6 index'
+ Executing script query '/usr/bin/php -q /var/www/html/scripts/ss_host_disk.php s0000935.ecdomain.net pkg-de-rheinau 2 6 query index'
+ Executing script query '/usr/bin/php -q /var/www/html/scripts/ss_host_disk.php s0000935.ecdomain.net pkg-de-rheinau 2 6 query description'
+ Executing script query '/usr/bin/php -q /var/www/html/scripts/ss_host_disk.php s0000935.ecdomain.net pkg-de-rheinau 2 6 query sau'
+ Executing script query '/usr/bin/php -q /var/www/html/scripts/ss_host_disk.php s0000935.ecdomain.net pkg-de-rheinau 2 6 query total'
+ Found data query XML file at '/var/www/html/resource/script_server/host_disk.xml'
+ Found data query XML file at '/var/www/html/resource/script_server/host_disk.xml'
+ Found data query XML file at '/var/www/html/resource/script_server/host_disk.xml'
Thanks in advance
Alex
- TheWitness
- Developer
- Posts: 17047
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Should look more like this:
TheWitness
Looks like you have an old resource file.+ Running data query [8].
+ Found type = '6 '[script query].
+ Found data query XML file at 'C:/wwwroot/cacti087/resource/script_server/host_disk.xml'
+ XML file parsed ok.
+ Executing script for list of indexes 'c:\progra~1\php\php.exe -q C:\wwwroot\cacti087\scripts\ss_host_disk.php localhost 1 1:161:5000:public:::MD5::DES: index'
+ Executing script query 'c:\progra~1\php\php.exe -q C:\wwwroot\cacti087\scripts\ss_host_disk.php localhost 1 1:161:5000:public:::MD5::DES: query index'
+ Found item [hrStorageIndex='1'] index: 1
+ Found item [hrStorageIndex='2'] index: 2
+ Found item [hrStorageIndex='3'] index: 3
+ Found item [hrStorageIndex='4'] index: 4
+ Found item [hrStorageIndex='5'] index: 5
+ Found item [hrStorageIndex='6'] index: 6
+ Found item [hrStorageIndex='7'] index: 7
+ Found item [hrStorageIndex='8'] index: 8
+ Found item [hrStorageIndex='9'] index: 9
+ Found item [hrStorageIndex='10'] index: 10
+ Found item [hrStorageIndex='11'] index: 11
+ Executing script query 'c:\progra~1\php\php.exe -q C:\wwwroot\cacti087\scripts\ss_host_disk.php localhost 1 1:161:5000:public:::MD5::DES: query description'
+ Found item [hrStorageDescr='C: Label:CDrive Serial Number 106ceb4'] index: 1
+ Found item [hrStorageDescr='D: Label:DDrive Serial Number e02f7da'] index: 2
+ Found item [hrStorageDescr='E:'] index: 3
+ Found item [hrStorageDescr='F:'] index: 4
+ Found item [hrStorageDescr='G:'] index: 5
+ Found item [hrStorageDescr='H: Label: Serial Number 423b2bd'] index: 6
+ Found item [hrStorageDescr='I: Label:Audio CD Serial Number 12970b'] index: 7
+ Found item [hrStorageDescr='J: Label:XRMPVOL_EN Serial Number d6647f4'] index: 8
+ Found item [hrStorageDescr='K:'] index: 9
+ Found item [hrStorageDescr='Virtual Memory'] index: 10
+ Found item [hrStorageDescr='Physical Memory'] index: 11
+ Executing script query 'c:\progra~1\php\php.exe -q C:\wwwroot\cacti087\scripts\ss_host_disk.php localhost 1 1:161:5000:public:::MD5::DES: query sau'
+ Found item [hrStorageAllocationUnits='4096'] index: 1
+ Found item [hrStorageAllocationUnits='4096'] index: 2
+ Found item [hrStorageAllocationUnits='0'] index: 3
+ Found item [hrStorageAllocationUnits='0'] index: 4
+ Found item [hrStorageAllocationUnits='0'] index: 5
+ Found item [hrStorageAllocationUnits='4096'] index: 6
+ Found item [hrStorageAllocationUnits='2048'] index: 7
+ Found item [hrStorageAllocationUnits='2048'] index: 8
+ Found item [hrStorageAllocationUnits='0'] index: 9
+ Found item [hrStorageAllocationUnits='65536'] index: 10
+ Found item [hrStorageAllocationUnits='65536'] index: 11
+ Found data query XML file at 'C:/wwwroot/cacti087/resource/script_server/host_disk.xml'
+ Found data query XML file at 'C:/wwwroot/cacti087/resource/script_server/host_disk.xml'
+ Found data query XML file at 'C:/wwwroot/cacti087/resource/script_server/host_disk.xml'
+ Found data query XML file at 'C:/wwwroot/cacti087/resource/script_server/host_disk.xml'
+ Found data query XML file at 'C:/wwwroot/cacti087/resource/script_server/host_disk.xml'
+ Found data query XML file at 'C:/wwwroot/cacti087/resource/script_server/host_disk.xml'
+ Found data query XML file at 'C:/wwwroot/cacti087/resource/script_server/host_disk.xml'
+ Found data query XML file at 'C:/wwwroot/cacti087/resource/script_server/host_disk.xml'
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?
i have two questions.
1.query_*.php work in windows disk&cpu xml?
2.can you get me a full fixed php files for get windows disk&cpu's scrpits.
thanks
1.query_*.php work in windows disk&cpu xml?
2.can you get me a full fixed php files for get windows disk&cpu's scrpits.
thanks
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:
Both in SVN.
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?
what mean "SVN"?TheWitness wrote:Both in SVN.
TheWitness
i download your ss_host_disk.php.in the cmd that's OK
but debug query it isn't work wellC:\>d:\php\php.exe -q E:\www\scripts\ss_host_disk.php 127.0.0.1 2 1:161:500:publ
ic:::MD5::DES: index
1
2
3
4
5
6
7
C:\>d:\php\php.exe -q E:\www\scripts\ss_host_disk.php 127.0.0.1 2 1:161:500:publ
ic:::MD5::DES: query description
1!C: Label: Serial Number 8c64713
2!D: Label: Serial Number e4dbac5
3!E: Label:cacti Serial Number fcfcbea
4!F: Label:backup Serial Number 50fda36
5!G:
6!Virtual Memory
7!Physical Memory
C:\>d:\php\php.exe -q E:\www\scripts\ss_host_disk.php 127.0.0.1 2 1:161:500:publ
ic:::MD5::DES: query sau
1!512
2!4096
3!4096
4!4096
5!0
6!65536
7!65536
C:\>
can i used 0.8.6j's xml&scripts to resovle this bug?+ Running data query [8].
+ Found type = '6 '[script query].
+ Found data query XML file at 'E:/www/resource/script_server/host_disk.xml'
+ XML file parsed ok.
+ Executing script for list of indexes 'd:\php\php.exe -q E:\www\scripts\ss_host_disk.php 127.0.0.1 2 1:161:500:public:::MD5::DES: index'
+ Executing script query 'd:\php\php.exe -q E:\www\scripts\ss_host_disk.php 127.0.0.1 2 1:161:500:public:::MD5::DES: query index'
+ Executing script query 'd:\php\php.exe -q E:\www\scripts\ss_host_disk.php 127.0.0.1 2 1:161:500:public:::MD5::DES: query description'
+ Executing script query 'd:\php\php.exe -q E:\www\scripts\ss_host_disk.php 127.0.0.1 2 1:161:500:public:::MD5::DES: query sau'
+ Found data query XML file at 'E:/www/resource/script_server/host_disk.xml'
+ Found data query XML file at 'E:/www/resource/script_server/host_disk.xml'
+ Found data query XML file at 'E:/www/resource/script_server/host_disk.xml'
you give me url,i find these files hard.
can you compress full files to give me?thank well
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
and i have a installed cactiEZ0.3.
can i copy cactiEZ0.3's resoure&scripts dir to this cacti folder?
can i copy cactiEZ0.3's resoure&scripts dir to this cacti folder?
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
Who is online
Users browsing this forum: No registered users and 1 guest