Post upgrade to 1.1.38, most everything seems to be graphing as expected, except for the following Data Queries:
1) SNMP - Get Mounted Partitions Uptime Success [24 Items, 8 Rows]
2) SNMP - Get Processor Information Uptime Success [4 Items, 4 Rows]
The queries themselves are able to interrogate the remote system, however data is no longer displayed for these graph types.
Debug logging shows:
2018/06/08 07:04:02 - SPINE: Poller[1] Device[316] TH[1] DS[4995] SS[2] SERVER: /var/www/html/scripts/ss_host_disk.php ss_host_disk 'SERVER11' '316' '2:1611:40:ReadString::::::' 'get' 'used' '33', output: 0
2018/06/08 07:04:02 - PHPSVR DEBUG: PID[27730] CTR[0] INC: 'ss_host_disk.php' FUNC: 'ss_host_disk' PARMS: 'SERVER11', '316', '2:1611:40:ReadString::::::', 'get', 'used', '33'
2018/06/08 07:04:02 - SPINE: Poller[1] Device[316] TH[1] DS[4995] SS[1] SERVER: /var/www/html/scripts/ss_host_disk.php ss_host_disk 'SERVER11' '316' '2:1611:40:ReadString::::::' 'get' 'total' '33', output: 0
2018/06/08 07:04:02 - PHPSVR DEBUG: PID[27723] CTR[0] INC: 'ss_host_disk.php' FUNC: 'ss_host_disk' PARMS: 'SERVER11', '316', '2:1611:40:ReadString::::::', 'get', 'total', '33'
A constant output of 0 every time when trying to query HDD Space on a remote server.
Cacti Version 1.1.38
Cacti OS unix
NET-SNMP Version NET-SNMP version: 5.7.3
RRDtool Version RRDtool 1.6.x
Type SPINE 1.1.38 Copyright 2004-2017 by The Cacti Group
PHP Version 5.6.36
MySQL version 5.6.40
After Upgrading to 1.1.38 Certain Graphs no longer display
Moderators: Developers, Moderators
Re: After Upgrading to 1.1.38 Certain Graphs no longer displ
You can try running the commands that are shown int he poller cache to see if that gives the result you expect.
Cacti Developer & Release Manager
The Cacti Group
Director
BV IT Solutions Ltd
+--------------------------------------------------------------------------+
Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
The Cacti Group
Director
BV IT Solutions Ltd
+--------------------------------------------------------------------------+
Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
Re: After Upgrading to 1.1.38 Certain Graphs no longer displ
I did that as well; same empty result running the commands direct from the poller cache.
Running:
/usr/bin/php /var/www/html/scripts/ss_host_disk.php ss_host_disk 'HOSTNAME' '316' '2:1611:40:ReadString::::::' 'get' 'used' '31'
Returns nothing at all.
Seems to be something with the way PHP uses net-snmp / php-snmp but I can't seem to put my finger on it.
Running:
/usr/bin/php /var/www/html/scripts/ss_host_disk.php ss_host_disk 'HOSTNAME' '316' '2:1611:40:ReadString::::::' 'get' 'used' '31'
Returns nothing at all.
Seems to be something with the way PHP uses net-snmp / php-snmp but I can't seem to put my finger on it.
Re: After Upgrading to 1.1.38 Certain Graphs no longer displ
/sigh.
It appears that I had lost a module while performing the upgrade.
It makes it tough for PHP to perform any calculations without gmp installed.
yum install php-gmp; and good to go!
It appears that I had lost a module while performing the upgrade.
It makes it tough for PHP to perform any calculations without gmp installed.
yum install php-gmp; and good to go!
Who is online
Users browsing this forum: No registered users and 2 guests