100% loss with Advanced Ping 1.3

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

Moderators: Developers, Moderators

Mdtdiop
Posts: 10
Joined: Tue Oct 05, 2010 6:00 pm

Re: 100% loss with Advanced Ping 1.3

Post by Mdtdiop »

Hi All,

I've the same problem.
I've got cacti-0.8.7.g.
see below cli command and the result

root@ma-desktop:/usr/share/cacti/scripts# php /usr/share/cacti/scripts/ss_fping.php 10.2.2.25 ICMP
loss:100.00
User avatar
TheWitness
Developer
Posts: 17048
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: 100% loss with Advanced Ping 1.3

Post by TheWitness »

do the following:

Code: Select all

ping -c 5 <some_host>
Post the results. Also, let me know the OS Name and version, plus the kernel level.

TheWitness
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?
Mdtdiop
Posts: 10
Joined: Tue Oct 05, 2010 6:00 pm

Re: 100% loss with Advanced Ping 1.3

Post by Mdtdiop »

it's ok when i add 20 between ip@ and icmp. But i have nothing on my graphes (graphes are white). My os is ubuntu 10 the lastest version. I dont now what kernel level mean. Thank u for u answer.
User avatar
TheWitness
Developer
Posts: 17048
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: 100% loss with Advanced Ping 1.3

Post by TheWitness »

Good point, you have to specify the number of ping packets to pass..
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?
Mdtdiop
Posts: 10
Joined: Tue Oct 05, 2010 6:00 pm

Re: 100% loss with Advanced Ping 1.3

Post by Mdtdiop »

Did u know why i've nothing on my advanced ping graphs?
My poller is running by root.
User avatar
TheWitness
Developer
Posts: 17048
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: 100% loss with Advanced Ping 1.3

Post by TheWitness »

I have not used the advanced ping in so long, I'm not 100% sure. Let me take a look...
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?
User avatar
TheWitness
Developer
Posts: 17048
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: 100% loss with Advanced Ping 1.3

Post by TheWitness »

You are calling it wrong. If from the script server, you should see the following in the poller cache

Code: Select all

<path_cacti>/scripts/ss_fping.php ss_fping <hostname> <ping_count> <ping_proto> {<port>}
If calling as a script:

Code: Select all

<path_php_binary> -q <path_cacti>/scripts/ss_fping.php <hostname> <ping_count> <ping_proto> {<port>}
You are not calling it correctly. Which means your template is hosed. In addition, the template is so old, you have to change the reference to "config.php" to "global.php".

TheWitness
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?
Mdtdiop
Posts: 10
Joined: Tue Oct 05, 2010 6:00 pm

Re: 100% loss with Advanced Ping 1.3

Post by Mdtdiop »

i 've this in my poller cache : <Hostname>- Advanced Ping Script: php -q /usr/share/cacti/scripts/ss_fping.php 10.230.12.1 20 ICMP
RRD: /var/lib/cacti/rra/108/339.rrd

And see atach my ss_fping.php file.
Attachments
ss_fping.php.gz
(1.06 KiB) Downloaded 142 times
Mdtdiop
Posts: 10
Joined: Tue Oct 05, 2010 6:00 pm

Re: 100% loss with Advanced Ping 1.3

Post by Mdtdiop »

I think it's general for all my new created graphs.
I upgrade from 0.8.7e to 0.8.7.g.
Exixting graphs work fine.
User avatar
TheWitness
Developer
Posts: 17048
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: 100% loss with Advanced Ping 1.3

Post by TheWitness »

Sounds like a permissions problem and has nothing to do with Cacti unless your poller is overrunning. You present your cacti log, validate permissions, and run your poller from the command line to validate. Make sure you use the force option.

TheWitness
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?
Mdtdiop
Posts: 10
Joined: Tue Oct 05, 2010 6:00 pm

Re: 100% loss with Advanced Ping 1.3

Post by Mdtdiop »

I don't understand. All files in rra directory are the same rights and are updated every five minutes but all the graphs i've been created after update my cacti version are blank (no data on graph)..
User avatar
TheWitness
Developer
Posts: 17048
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: 100% loss with Advanced Ping 1.3

Post by TheWitness »

Please follow through on 'all' instructions. Otherwise, this thread is dead.
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?
Mdtdiop
Posts: 10
Joined: Tue Oct 05, 2010 6:00 pm

Re: 100% loss with Advanced Ping 1.3

Post by Mdtdiop »

my cacti log is empty.
What u mean on validate permissions?
I have executed the poller in command line and no change.
User avatar
TheWitness
Developer
Posts: 17048
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: 100% loss with Advanced Ping 1.3

Post by TheWitness »

If your cacti log is empty, that's your first 'permission' problem.

TheWitness
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?
Mdtdiop
Posts: 10
Joined: Tue Oct 05, 2010 6:00 pm

Re: 100% loss with Advanced Ping 1.3

Post by Mdtdiop »

how to solve it?
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest