Fix your permission issues. See the second link in my signature.
TheWitness
100% loss with Advanced Ping 1.3
Moderators: Developers, Moderators
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Re: 100% loss with Advanced Ping 1.3
True understanding begins only when we realize how little we truly understand...
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Re: 100% loss with Advanced Ping 1.3
Thanks u the witness. It's work now. But i don't know why it work. i just reinstall cacti.
Re: 100% loss with Advanced Ping 1.3
Guys from our NOC team fond the solution of the problem.
1. File /usr/local/share/cacti/lib/ping.php.
Before:
After:
2. Input type - Script/Command.
3. Input string - <path_cacti>/scripts/ss_fping.php <hostname> <attempts> <protocol> <port>.
Now, it works correctly!
1. File /usr/local/share/cacti/lib/ping.php.
Before:
Code: Select all
else if (substr_count(strtolower(PHP_OS), "freebsd")) {
$result = shell_exec("ping -t " . ceil($this->timeout/1000) . " -c " . $this->retries . " " . $this->host["hostname"]);
Code: Select all
else if (substr_count(strtolower(PHP_OS), "freebsd")) {
$result = shell_exec("/sbin/ping -t " . ceil($this->timeout/1000) . " -c " . $this->retries . " " . $this->host["hostname"]);
3. Input string - <path_cacti>/scripts/ss_fping.php <hostname> <attempts> <protocol> <port>.
Now, it works correctly!
Who is online
Users browsing this forum: No registered users and 6 guests