After Upgrading to 1.1.38 Certain Graphs no longer display

Post support questions that directly relate to Linux/Unix operating systems.

Moderators: Developers, Moderators

Post Reply
KS50
Posts: 3
Joined: Fri Jun 08, 2018 7:08 am

After Upgrading to 1.1.38 Certain Graphs no longer display

Post by KS50 »

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:161:2000:1: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:161:2000:1: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:161:2000:1: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:161:2000:1: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
netniV
Cacti Guru User
Posts: 3441
Joined: Sun Aug 27, 2017 12:05 am

Re: After Upgrading to 1.1.38 Certain Graphs no longer displ

Post by netniV »

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
KS50
Posts: 3
Joined: Fri Jun 08, 2018 7:08 am

Re: After Upgrading to 1.1.38 Certain Graphs no longer displ

Post by KS50 »

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:161:2000:1: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.
KS50
Posts: 3
Joined: Fri Jun 08, 2018 7:08 am

Re: After Upgrading to 1.1.38 Certain Graphs no longer displ

Post by KS50 »

/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!
Post Reply

Who is online

Users browsing this forum: cigamit and 0 guests