Upgrade from 0.8.5a to 0.8.6f
Moderators: Developers, Moderators
Upgrade from 0.8.5a to 0.8.6f
Today i upgraded cacti from 0.8.5a to 0.8.6f. Since then the graphs to not update. I followed the direction on http://www.cacti.net/downloads/docs/html/upgrade.html.
When i run poller.php, i get this
php /var/www/html/cacti/poller.php
OK u:0.00 s:0.00 r:0.03
OK u:0.00 s:0.00 r:0.03
OK u:0.00 s:0.00 r:0.03
OK u:0.00 s:0.00 r:0.03
OK u:0.00 s:0.00 r:0.03
OK u:0.00 s:0.00 r:0.03
OK u:0.00 s:0.00 r:0.03
OK u:0.00 s:0.01 r:0.03
OK u:0.00 s:0.01 r:0.03
OK u:0.00 s:0.01 r:0.03
OK u:0.00 s:0.01 r:0.03
OK u:0.00 s:0.01 r:0.03
PHP Notice: Undefined offset: 4 in /var/www/html/cacti/scripts/query_host_partitions.php on line 19
PHP Notice: Undefined offset: 4 in /var/www/html/cacti/scripts/query_host_partitions.php on line 19
PHP Notice: Undefined offset: 4 in /var/www/html/cacti/scripts/query_host_partitions.php on line 19
PHP Notice: Undefined offset: 4 in /var/www/html/cacti/scripts/query_host_partitions.php on line 19
OK u:0.00 s:0.01 r:2.04
OK u:0.00 s:0.01 r:2.04
Content-type: text/html
X-Powered-By: PHP/4.3.4
---------------------
when i run CMD.php i get the following
php /var/www/html/cacti/cmd.php
Content-type: text/html
X-Powered-By: PHP/4.3.4
#!/usr/bin/php -q
PHP Notice: Undefined offset: 4 in /var/www/html/cacti/scripts/query_host_partitions.php on line 19
08/02/2005 03:57:55 PM - CMDPHP: Poller[0] Host[0] DS[10] WARNING: Result from CMD not valid. Partial Result:
PHP Notice: Undefined offset: 4 in /var/www/html/cacti/scripts/query_host_partitions.php on line 19
08/02/2005 03:57:55 PM - CMDPHP: Poller[0] Host[0] DS[10] WARNING: Result from CMD not valid. Partial Result:
PHP Notice: Undefined offset: 4 in /var/www/html/cacti/scripts/query_host_partitions.php on line 19
08/02/2005 03:57:55 PM - CMDPHP: Poller[0] Host[0] DS[11] WARNING: Result from CMD not valid. Partial Result:
PHP Notice: Undefined offset: 4 in /var/www/html/cacti/scripts/query_host_partitions.php on line 19
08/02/2005 03:57:56 PM - CMDPHP: Poller[0] Host[0] DS[11] WARNING: Result from CMD not valid. Partial Result:
-------------------
Should i be running cmd.php or poller.php?
Any idea of why i am getting these error messages? Thanks
When i run poller.php, i get this
php /var/www/html/cacti/poller.php
OK u:0.00 s:0.00 r:0.03
OK u:0.00 s:0.00 r:0.03
OK u:0.00 s:0.00 r:0.03
OK u:0.00 s:0.00 r:0.03
OK u:0.00 s:0.00 r:0.03
OK u:0.00 s:0.00 r:0.03
OK u:0.00 s:0.00 r:0.03
OK u:0.00 s:0.01 r:0.03
OK u:0.00 s:0.01 r:0.03
OK u:0.00 s:0.01 r:0.03
OK u:0.00 s:0.01 r:0.03
OK u:0.00 s:0.01 r:0.03
PHP Notice: Undefined offset: 4 in /var/www/html/cacti/scripts/query_host_partitions.php on line 19
PHP Notice: Undefined offset: 4 in /var/www/html/cacti/scripts/query_host_partitions.php on line 19
PHP Notice: Undefined offset: 4 in /var/www/html/cacti/scripts/query_host_partitions.php on line 19
PHP Notice: Undefined offset: 4 in /var/www/html/cacti/scripts/query_host_partitions.php on line 19
OK u:0.00 s:0.01 r:2.04
OK u:0.00 s:0.01 r:2.04
Content-type: text/html
X-Powered-By: PHP/4.3.4
---------------------
when i run CMD.php i get the following
php /var/www/html/cacti/cmd.php
Content-type: text/html
X-Powered-By: PHP/4.3.4
#!/usr/bin/php -q
PHP Notice: Undefined offset: 4 in /var/www/html/cacti/scripts/query_host_partitions.php on line 19
08/02/2005 03:57:55 PM - CMDPHP: Poller[0] Host[0] DS[10] WARNING: Result from CMD not valid. Partial Result:
PHP Notice: Undefined offset: 4 in /var/www/html/cacti/scripts/query_host_partitions.php on line 19
08/02/2005 03:57:55 PM - CMDPHP: Poller[0] Host[0] DS[10] WARNING: Result from CMD not valid. Partial Result:
PHP Notice: Undefined offset: 4 in /var/www/html/cacti/scripts/query_host_partitions.php on line 19
08/02/2005 03:57:55 PM - CMDPHP: Poller[0] Host[0] DS[11] WARNING: Result from CMD not valid. Partial Result:
PHP Notice: Undefined offset: 4 in /var/www/html/cacti/scripts/query_host_partitions.php on line 19
08/02/2005 03:57:56 PM - CMDPHP: Poller[0] Host[0] DS[11] WARNING: Result from CMD not valid. Partial Result:
-------------------
Should i be running cmd.php or poller.php?
Any idea of why i am getting these error messages? Thanks
OS Version
Sorry, i didn't say what OS i am on...
Fedora Core 2
Fedora Core 2
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
1) You should be running poller.php normally. Only run cmd.php for DEBUG purposes.
2) Do not copy over the old scripts last, but rather first. There are a few scripts that are in the base distribution that have been updated between versions. One of them is yours.
3) Lastly, reindex the Data Query
TheWitness
2) Do not copy over the old scripts last, but rather first. There are a few scripts that are in the base distribution that have been updated between versions. One of them is yours.
3) Lastly, reindex the Data Query
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?
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Little green circle, press (awk) it.
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?
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Migrate to the Script Server version of the query host disk and you should be Ok. Check the documentation 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?
Who is online
Users browsing this forum: No registered users and 2 guests