Cacti (home)ForumsDocumentation
Cacti: offical forums and support
It is currently Sun Nov 18, 2018 10:00 pm

All times are UTC - 5 hours




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: After Upgrading to 1.1.38 Certain Graphs no longer display
PostPosted: Fri Jun 08, 2018 7:17 am 
Offline

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


Top
 Profile  
 
 Post subject: Re: After Upgrading to 1.1.38 Certain Graphs no longer displ
PostPosted: Sat Jun 09, 2018 6:26 am 
Offline
Cacti Guru User

Joined: Sun Aug 27, 2017 12:05 am
Posts: 1693
You can try running the commands that are shown int he poller cache to see if that gives the result you expect.

_________________
Official Cacti Developer

Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation

My resources:
How to submit Pull Requests
Development Wiki and How To's
Updated NetSNMP Memory template for Cacti 1.x
Cisco SFP template for Cacti 0.8.8


Top
 Profile  
 
 Post subject: Re: After Upgrading to 1.1.38 Certain Graphs no longer displ
PostPosted: Sat Jun 09, 2018 3:09 pm 
Offline

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


Top
 Profile  
 
 Post subject: Re: After Upgrading to 1.1.38 Certain Graphs no longer displ
PostPosted: Sun Jun 10, 2018 10:02 am 
Offline

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


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 9 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group