|
|
| Author |
Message |
DinSoft
Joined: 07 Oct 2008 Posts: 1
|
Posted: Tue Oct 07, 2008 7:10 am Post subject: Weird issue _ |
|
|
Hi all,
I have an unexplained behaviour in Catci with the advanced ping plugin:
I am in Vietnam, and I am pinging a host in Switzerland.
There is no way that the RTT is less than 300 ms. It is actually very often over 500 ms. This is why I changed the ping timeout setting from the default 500 ms to 1000 ms.
But, on the graph, it looks like there are RTTs of < 100ms (around 16:00 and 18:00 - 18:20)
How can this happen ?
(I also paste here cacti's log file, without the SNMP data I gather from another device since it is probably irrelevant)
| Description: |
|
| Filesize: |
38.29 KB |
| Viewed: |
1068 Time(s) |

|
| Description: |
|
 Download |
| Filename: |
cacti-log.txt |
| Filesize: |
25.98 KB |
| Downloaded: |
25 Time(s) |
|
|
| Back to top |
|
 |
jhendrickson
Joined: 17 Oct 2008 Posts: 2
|
Posted: Fri Oct 17, 2008 2:17 pm Post subject: Inconsistent graphs |
|
|
I am getting inconsistent graphs using the Advanced Ping. I have a tcp ping to CNN on port 80 which doesn't graph anything but loss. I have other hosts like Yahoo and Google that graph just fine. I also have another graph that is not displaying anything.
Data Source Debug
/usr/bin/rrdtool create \
/usr/share/cacti/site/rra/cnn_tcp_loss_2277.rrd \
--step 300 \
DS:min:GAUGE:450:0:500 \
DS:dev:GAUGE:450:0:500 \
DS:max:GAUGE:450:0:500 \
DS:avg:GAUGE:450:0:500 \
DS:loss:GAUGE:450:0:100 \
RRA:AVERAGE:0.5:1:600 \
RRA:AVERAGE:0.5:6:700 \
RRA:AVERAGE:0.5:24:775 \
RRA:AVERAGE:0.5:288:797 \
RRA:MIN:0.5:1:600 \
RRA:MIN:0.5:6:700 \
RRA:MIN:0.5:24:775 \
RRA:MIN:0.5:288:797 \
RRA:MAX:0.5:1:600 \
RRA:MAX:0.5:6:700 \
RRA:MAX:0.5:24:775 \
RRA:MAX:0.5:288:797 \
RRA:LAST:0.5:1:600 \
RRA:LAST:0.5:6:700 \
RRA:LAST:0.5:24:775 \
RRA:LAST:0.5:288:797 \
/usr/bin/rrdtool create \
/usr/share/cacti/site/rra/sprint_kc_ds3_loss_1862.rrd \
--step 300 \
DS:min:GAUGE:450:0:500 \
DS:dev:GAUGE:450:0:500 \
DS:loss:GAUGE:450:0:100 \
DS:avg:GAUGE:450:0:500 \
DS:max:GAUGE:450:0:500 \
RRA:AVERAGE:0.5:1:600 \
RRA:AVERAGE:0.5:6:700 \
RRA:AVERAGE:0.5:24:775 \
RRA:AVERAGE:0.5:288:797 \
RRA:MIN:0.5:1:600 \
RRA:MIN:0.5:6:700 \
RRA:MIN:0.5:24:775 \
RRA:MIN:0.5:288:797 \
RRA:MAX:0.5:1:600 \
RRA:MAX:0.5:6:700 \
RRA:MAX:0.5:24:775 \
RRA:MAX:0.5:288:797 \
RRA:LAST:0.5:1:600 \
RRA:LAST:0.5:6:700 \
RRA:LAST:0.5:24:775 \
RRA:LAST:0.5:288:797 \
| Description: |
|
| Filesize: |
29.03 KB |
| Viewed: |
862 Time(s) |

|
| Description: |
|
| Filesize: |
28.51 KB |
| Viewed: |
862 Time(s) |

|
|
|
| Back to top |
|
 |
jhendrickson
Joined: 17 Oct 2008 Posts: 2
|
Posted: Fri Oct 17, 2008 2:52 pm Post subject: More Inconsistent Graphs |
|
|
Running from the command line to another host I get different results. Also, the data listed at the bottom of the graph doesn't seem to match the graph.
/usr/share/cacti/site/scripts/ss_fping.php ss_fping sl-gw34-fw-6-0-TS9.sprintlink.net 20 ICMP
min:7.5800 avg:9.6450 max:27.1100 dev:4.6313 loss:0.0000
| Description: |
|
| Filesize: |
40.04 KB |
| Viewed: |
857 Time(s) |

|
|
|
| Back to top |
|
 |
jug
Joined: 10 Oct 2008 Posts: 2 Location: Italy
|
Posted: Wed Oct 29, 2008 5:57 am Post subject: Changed Advanced Ping Templates |
|
|
Thanks a lot for this Template it gave me the base to have Latency graphs inside my CACTI installation. I changed them a bit so that all Comments are visible and also that the "smoke" is visible in both directions max -> avg -> min.
I also changed the ss_fping.php so that it can run with a non privileged user, using the fping binary which has to be installed (this is better than using normal ping).
If your interested in this changed graph templates and the modified ss_fping.php I will attach the files exported from a CACTI version 0.8.6j to this post.
ATTENTION: I have seen an error in the exported graph TEMPLATE and changed the attachement (just of the 1 person which already downloaded it Please have a look at the version number of the file!
| Description: |
| Cacti v0.8.6j Advanced Ping v2.1 Template |
|
 Download |
| Filename: |
cacti_graph_template_ping_advanced_ping_v2_1.xml |
| Filesize: |
41.26 KB |
| Downloaded: |
180 Time(s) |
| Description: |
| Modified ss_fping.php file using /usr/sbin/fping when called as not privileged user. |
|
 Download |
| Filename: |
ss_fping.zip |
| Filesize: |
1.56 KB |
| Downloaded: |
143 Time(s) |
|
|
| Back to top |
|
 |
ryusez
Joined: 28 Sep 2006 Posts: 20
|
Posted: Fri Oct 31, 2008 10:05 pm Post subject: |
|
|
can i import new advance ping 2.1 into 0.8.7b
or any one , had import experence ....
thank you
|
|
| Back to top |
|
 |
lozzd
Joined: 08 Dec 2005 Posts: 27
|
Posted: Wed Dec 03, 2008 9:30 am Post subject: Re: Changed Advanced Ping Templates |
|
|
| jug wrote: | | I also changed the ss_fping.php so that it can run with a non privileged user, using the fping binary which has to be installed (this is better than using normal ping). |
GOOD LORD I read this entire thread thinking "There is no way in hell I'm running the poller as root why the hell has no one used 'fping' when the script is called 'fping'" and here I am, last page, the first person with the necessary level of intelligence. Installed and it worked straight off with no problems. THANK YOU!
|
|
| Back to top |
|
 |
|