Hello,
We just built a new cacti server and I'm looking for the best way to graph latency to my remote routers. We previously ran a very old version of Cacti and used a template called "Advanced Ping" - it had a similar look and feel to SmokePing, this worked great. However on the new server, I get the error below when I try to use that same template:
2018/01/05 10:13:03 - CMDPHP PHP ERROR Backtrace: (/script_server.php: 223 call_user_func_array)(ss_fping)(/scripts/ss_fping.php: 72 split)(CactiErrorHandler)(/lib/functions.php: 4416 cacti_debug_backtrace)
2018/01/05 10:13:03 - ERROR PHP DEPRECATED: Function split() is deprecated in file: /var/www/html/cacti-1.1.27/scripts/ss_fping.php on line: 72
Are there any new templates that people would recommend to graph latency?
Any help is appreciated, thanks!
Pings - Cacti 1.1.27
Moderators: Developers, Moderators
Re: Pings - Cacti 1.1.27
In this case, the primary issue is that split is now depreciated in PHP in favour of implode/explode:
http://php.net/manual/en/function.split.php
If you can link me to the template or scripts that you have, I can test out bringing it to the modern era but no promises I will succeed
http://php.net/manual/en/function.split.php
If you can link me to the template or scripts that you have, I can test out bringing it to the modern era but no promises I will succeed
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
-
- Posts: 2
- Joined: Fri Jan 05, 2018 11:28 am
Re: Pings - Cacti 1.1.27
I was just coming back to say that I figured it out, came to same conclusion you did - thanks for the feedbacknetniV wrote:In this case, the primary issue is that split is now depreciated in PHP in favour of implode/explode:
http://php.net/manual/en/function.split.php
If you can link me to the template or scripts that you have, I can test out bringing it to the modern era but no promises I will succeed
Replaced two references of "split" with "explode" - works great now!
Who is online
Users browsing this forum: No registered users and 1 guest