EDIT: Advanced Ping Template Version 1.3 for Cacti 0.8.6g

Templates, scripts for templates, scripts and requests for templates.

Moderators: Developers, Moderators

Post Reply
netniV
Cacti Guru User
Posts: 3441
Joined: Sun Aug 27, 2017 12:05 am

Re: EDIT: Advanced Ping Template Version 1.3 for Cacti 0.8.6

Post by netniV »

The problem there is that template probably hasn't been updated to work with PHP 7.2 and above. Split was a depreciated function a while ago (replaced by explode) but there are other scenarios which will like cause errors unless it's properly reviewed. There may be a more updated version if you search the forums but I'm not aware of it as I haven't used that template.
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
ghost
Posts: 4
Joined: Mon Apr 22, 2019 2:37 am

Re: EDIT: Advanced Ping Template Version 1.3 for Cacti 0.8.6

Post by ghost »

netniV wrote:The problem there is that template probably hasn't been updated to work with PHP 7.2 and above. Split was a depreciated function a while ago (replaced by explode) but there are other scenarios which will like cause errors unless it's properly reviewed. There may be a more updated version if you search the forums but I'm not aware of it as I haven't used that template.
Thank you for your guide,
I use explode instead of split, then it had no error now.
densenator
Posts: 1
Joined: Tue Feb 08, 2022 8:24 am

Re: EDIT: Advanced Ping Template Version 1.3 for Cacti 0.8.6g

Post by densenator »

My cacti don't collect avg, max values.
I changed maximum to 5000
https://prnt.sc/26qwocq

in server i run
root@cacti:/var/www/html/scripts# php -q ss_fping.php my-server.com 20 ICMP
min:603.6110 avg:615.5208 max:629.1850 dev:5.7867 loss:0.0000
Result is
https://prnt.sc/26qx63u

What's wrong here?
Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests