Cacti (home)ForumsDocumentation
Cacti: offical forums and support
It is currently Wed Jun 26, 2019 3:20 pm

All times are UTC - 5 hours




Post new topic Reply to topic  [ 8 posts ] 
Author Message
 Post subject: PHP Errors after 1.2.3 upgrade seen
PostPosted: Sat Apr 27, 2019 12:30 am 
Offline

Joined: Wed Mar 13, 2019 3:37 pm
Posts: 27
Location: toronto
Hey Everyone,

I am seeing a PHP error since upgrading to 1.2.3
Everything seems to be working fine in terms of graphing and I am not seeing any errors
any one seen this issue ?


2019/04/27 01:27:03 - PHPSVR WARNING: Function does not exist INC: 'ss_poller.php' FUNC: 'ss_boost_timing' PARMS: ''
2019/04/27 01:27:03 - PHPSVR WARNING: PHP Script File to be included, does not exist
2019/04/27 01:27:03 - PHPSVR WARNING: Function does not exist INC: 'ss_poller.php' FUNC: 'ss_boost_table' PARMS: ''
2019/04/27 01:27:03 - PHPSVR WARNING: PHP Script File to be included, does not exist
2019/04/27 01:27:03 - PHPSVR WARNING: Function does not exist INC: 'ss_poller.php' FUNC: 'ss_boost_records' PARMS: ''
2019/04/27 01:27:03 - PHPSVR WARNING: PHP Script File to be included, does not exist
2019/04/27 01:27:03 - PHPSVR WARNING: Function does not exist INC: 'ss_poller.php' FUNC: 'ss_boost_avg_size' PARMS: ''
2019/04/27 01:27:03 - PHPSVR WARNING: PHP Script File to be included, does not exist
2019/04/27 01:27:03 - PHPSVR WARNING: Function does not exist INC: 'ss_poller.php' FUNC: 'ss_thold_time' PARMS: ''
2019/04/27 01:27:03 - PHPSVR WARNING: PHP Script File to be included, does not exist
2019/04/27 01:27:03 - PHPSVR WARNING: Function does not exist INC: 'ss_poller.php' FUNC: 'ss_syslog_stats' PARMS: ''
2019/04/27 01:27:03 - PHPSVR WARNING: PHP Script File to be included, does not exist
2019/04/27 01:27:03 - PHPSVR WARNING: Function does not exist INC: 'ss_poller.php' FUNC: 'ss_syslog_time' PARMS: ''
2019/04/27 01:27:03 - PHPSVR WARNING: PHP Script File to be included, does not exist
2019/04/27 01:27:03 - PHPSVR WARNING: Function does not exist INC: 'ss_poller.php' FUNC: 'ss_syslog_stats' PARMS: ''
2019/04/27 01:27:03 - PHPSVR WARNING: PHP Script File to be included, does not exist
2019/04/27 01:27:03 - PHPSVR WARNING: Function does not exist INC: 'ss_poller.php' FUNC: 'ss_export' PARMS: ''
2019/04/27 01:27:03 - PHPSVR WARNING: PHP Script File to be included, does not exist
2019/04/27 01:27:03 - PHPSVR WARNING: Function does not exist INC: 'ss_poller.php' FUNC: 'ss_export' PARMS: ''
2019/04/27 01:27:03 - PHPSVR WARNING: PHP Script File to be included, does not exist


My Environment

Cacti Version 1.2.3
Cacti OS unix
RSA Fingerprint 5f:c6:e7:c5:42:82:af:57:cb:65:cf:fb:38:d7:67:51
NET-SNMP Version NET-SNMP version: 5.7.3
RRDtool Version Configured 1.4.0+
RRDtool Version Found 1.5.5
Devices 6
Graphs 69
Data Sources Script/Command: 8
SNMP Get: 5
SNMP Query: 32
Script Server: 25
Total: 70


Top
 Profile  
 
 Post subject: Re: PHP Errors after 1.2.3 upgrade seen
PostPosted: Sun Apr 28, 2019 1:28 pm 
Offline
Cacti Guru User

Joined: Sun Aug 27, 2017 12:05 am
Posts: 2523
You are missing the ss_poller.php file. That contains the functions that are being reported as missing.

_________________
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: PHP Errors after 1.2.3 upgrade seen
PostPosted: Mon Apr 29, 2019 8:32 am 
Offline

Joined: Mon Apr 29, 2019 8:26 am
Posts: 1
Hello,


what is the directory where should I create the file to remove the error ?

(i didn't upgrade cacti but i installed directly the version 1.2.3 on Ubuntu 18.04)


Top
 Profile  
 
 Post subject: Re: PHP Errors after 1.2.3 upgrade seen
PostPosted: Tue Apr 30, 2019 3:33 pm 
Offline

Joined: Wed Mar 13, 2019 3:37 pm
Posts: 27
Location: toronto
Interesting I have ss_poller.php in /var/www/html/cacti/scripts

Should it be in the /cacti main directory?


Top
 Profile  
 
 Post subject: Re: PHP Errors after 1.2.3 upgrade seen
PostPosted: Thu May 02, 2019 8:18 am 
Offline
Cacti Guru User

Joined: Sun Aug 27, 2017 12:05 am
Posts: 2523
If you look at the poller cache for that item, does it reference the correct path to that script? if so, does the permissions on that file allow the poller user to be able to run the script.

_________________
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: PHP Errors after 1.2.3 upgrade seen
PostPosted: Mon May 06, 2019 9:15 am 
Offline

Joined: Fri Jun 27, 2008 8:38 pm
Posts: 7
Same problem here. I did a clean install of version 1.2.3 and couldn't find ss_poller.php in the ../scripts/ directory. I'm thinking of getting the old ss_poller.php from archived files. Will that work?


Top
 Profile  
 
 Post subject: Re: PHP Errors after 1.2.3 upgrade seen
PostPosted: Tue May 07, 2019 9:04 am 
Offline

Joined: Fri Jun 27, 2008 8:38 pm
Posts: 7
ncariaga wrote:
Same problem here. I did a clean install of version 1.2.3 and couldn't find ss_poller.php in the ../scripts/ directory. I'm thinking of getting the old ss_poller.php from archived files. Will that work?


I tried copying the old file (MD5 sum 8a238dddf69161df65a7a70cbfdba5a7 )into the folder and found this warnings:

2019/05/07 21:57:06 - PHPSVR WARNING: Function does not exist INC: 'ss_poller.php' FUNC: 'ss_boost_timing' PARMS: ''
2019/05/07 21:57:06 - PHPSVR WARNING: Function does not exist INC: 'ss_poller.php' FUNC: 'ss_boost_table' PARMS: ''
2019/05/07 21:57:06 - PHPSVR WARNING: Function does not exist INC: 'ss_poller.php' FUNC: 'ss_boost_records' PARMS: ''
2019/05/07 21:57:06 - PHPSVR WARNING: Function does not exist INC: 'ss_poller.php' FUNC: 'ss_boost_avg_size' PARMS: ''
2019/05/07 21:57:06 - PHPSVR WARNING: Function does not exist INC: 'ss_poller.php' FUNC: 'ss_thold_time' PARMS: ''
2019/05/07 21:57:06 - PHPSVR WARNING: Function does not exist INC: 'ss_poller.php' FUNC: 'ss_syslog_stats' PARMS: ''
2019/05/07 21:57:06 - PHPSVR WARNING: Function does not exist INC: 'ss_poller.php' FUNC: 'ss_syslog_time' PARMS: ''
2019/05/07 21:57:06 - PHPSVR WARNING: Function does not exist INC: 'ss_poller.php' FUNC: 'ss_syslog_stats' PARMS: ''
2019/05/07 21:57:03 - PHPSVR WARNING: Function does not exist INC: 'ss_poller.php' FUNC: 'ss_boost_timing' PARMS: ''
2019/05/07 21:57:03 - PHPSVR WARNING: Function does not exist INC: 'ss_poller.php' FUNC: 'ss_boost_table' PARMS: ''
2019/05/07 21:57:03 - PHPSVR WARNING: Function does not exist INC: 'ss_poller.php' FUNC: 'ss_boost_records' PARMS: ''
2019/05/07 21:57:03 - PHPSVR WARNING: Function does not exist INC: 'ss_poller.php' FUNC: 'ss_boost_avg_size' PARMS: ''
2019/05/07 21:57:03 - PHPSVR WARNING: Function does not exist INC: 'ss_poller.php' FUNC: 'ss_thold_time' PARMS: ''
2019/05/07 21:57:03 - PHPSVR WARNING: Function does not exist INC: 'ss_poller.php' FUNC: 'ss_syslog_stats' PARMS: ''
2019/05/07 21:57:03 - PHPSVR WARNING: Function does not exist INC: 'ss_poller.php' FUNC: 'ss_syslog_time' PARMS: ''
2019/05/07 21:57:03 - PHPSVR WARNING: Function does not exist INC: 'ss_poller.php' FUNC: 'ss_syslog_stats' PARMS: ''
2019/05/07 21:57:03 - PHPSVR WARNING: Function does not exist INC: 'ss_poller.php' FUNC: 'ss_boost_timing' PARMS: ''
2019/05/07 21:57:03 - PHPSVR WARNING: Function does not exist INC: 'ss_poller.php' FUNC: 'ss_boost_table' PARMS: ''
2019/05/07 21:57:03 - PHPSVR WARNING: Function does not exist INC: 'ss_poller.php' FUNC: 'ss_boost_records' PARMS: ''
2019/05/07 21:57:03 - PHPSVR WARNING: Function does not exist INC: 'ss_poller.php' FUNC: 'ss_boost_avg_size' PARMS: ''
2019/05/07 21:57:03 - PHPSVR WARNING: Function does not exist INC: 'ss_poller.php' FUNC: 'ss_thold_time' PARMS: ''
2019/05/07 21:57:03 - PHPSVR WARNING: Function does not exist INC: 'ss_poller.php' FUNC: 'ss_syslog_stats' PARMS: ''
2019/05/07 21:57:03 - PHPSVR WARNING: Function does not exist INC: 'ss_poller.php' FUNC: 'ss_syslog_time' PARMS: ''
2019/05/07 21:57:03 - PHPSVR WARNING: Function does not exist INC: 'ss_poller.php' FUNC: 'ss_syslog_stats' PARMS: ''

I was wondering where can I download the updated ss_poller.php file. Thank you in advance.


Top
 Profile  
 
 Post subject: Re: PHP Errors after 1.2.3 upgrade seen
PostPosted: Fri May 17, 2019 3:58 pm 
Offline
Cacti Guru User

Joined: Sun Aug 27, 2017 12:05 am
Posts: 2523
I'll be honest, I dont even know where that file comes from as it isnt in our main github sources. It must be a third party script or one from a really old version of cacti.

_________________
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  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 8 posts ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 3 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