Wrong ping values in Cacti graph issue.

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
cutehameed
Posts: 5
Joined: Tue Jul 05, 2022 8:30 am

Wrong ping values in Cacti graph issue.

Post by cutehameed »

Hi folks,
I am using Cacti as monitoring server and it is working pretty well. But i am facing wrong ping (output) value issue in cacti on only a few graphs. Kindly help me in this regards with thanks.
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: Wrong ping values in Cacti graph issue.

Post by TheWitness »

You need to provide a debug run of either cmd.php or spine for the device_id in question. You also did not state your version of Cacti. Some examples:

Code: Select all

./spine -R -V 3 -S -f device_id -l device_id
If you are using cmd.php, it's slightly different syntax.

Code: Select all

php -q cmd.php --first=device_id --last=device_id --debug
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?
cutehameed
Posts: 5
Joined: Tue Jul 05, 2022 8:30 am

Re: Wrong ping values in Cacti graph issue.

Post by cutehameed »

TheWitness wrote: Tue Jul 05, 2022 5:16 pm You need to provide a debug run of either cmd.php or spine for the device_id in question. You also did not state your version of Cacti. Some examples:

Code: Select all

./spine -R -V 3 -S -f device_id -l device_id
If you are using cmd.php, it's slightly different syntax.

Code: Select all

php -q cmd.php --first=device_id --last=device_id --debug
hi,
i am using CMD poller type and using Version 1.2.22 of cacti. I am unable to understand, how to run following command as i am a newbie.

"php -q cmd.php --first=device_id --last=device_id --debug".
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: Wrong ping values in Cacti graph issue.

Post by TheWitness »

Check the documentation on GitHub.
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?
cutehameed
Posts: 5
Joined: Tue Jul 05, 2022 8:30 am

Re: Wrong ping values in Cacti graph issue.

Post by cutehameed »

TheWitness wrote: Wed Jul 13, 2022 6:44 pm Check the documentation on GitHub.
What kind of documentation need to read, Cacti or PHP (on Github)?
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: Wrong ping values in Cacti graph issue.

Post by TheWitness »

Think about it. What number is a device_id? What are you trying to diagnose? It's a device right? What is it's device_id?
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?
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest