Smoke-ping 0.86c
Moderators: Developers, Moderators
weell i have something :
- Attachments
-
- ?
- 0000.jpg (38 KiB) Viewed 14477 times
|Cacti Version - 0.8.6j||Plugin Architecture - 1.1||Poller Type - CMD.php|
|os - Red hat 4es | |Web Server - Apache/2.0.52 (Red Hat)|
|PHP - 4.3.9| |MySQL - 4.1.20| |RRDTool - 1.2.13||SNMP - 5.1.2|
|Plugins| Host Info (hostinfo - v0.1)
|os - Red hat 4es | |Web Server - Apache/2.0.52 (Red Hat)|
|PHP - 4.3.9| |MySQL - 4.1.20| |RRDTool - 1.2.13||SNMP - 5.1.2|
|Plugins| Host Info (hostinfo - v0.1)
well i have make corection of bc g so dowload the direct
link
ping-latency ------> <cacti>/scripts
import cacti_graph_template_smoke_ping.xml on your cacti
well and if you want use icmp make this :
if someon can try and tell me if is good or not??
link
ping-latency ------> <cacti>/scripts
import cacti_graph_template_smoke_ping.xml on your cacti
well and if you want use icmp make this :
if someon can try and tell me if is good or not??
- Attachments
-
- smokeping11-06-07.zip
- The last with correction
- (4.88 KiB) Downloaded 2042 times
|Cacti Version - 0.8.6j||Plugin Architecture - 1.1||Poller Type - CMD.php|
|os - Red hat 4es | |Web Server - Apache/2.0.52 (Red Hat)|
|PHP - 4.3.9| |MySQL - 4.1.20| |RRDTool - 1.2.13||SNMP - 5.1.2|
|Plugins| Host Info (hostinfo - v0.1)
|os - Red hat 4es | |Web Server - Apache/2.0.52 (Red Hat)|
|PHP - 4.3.9| |MySQL - 4.1.20| |RRDTool - 1.2.13||SNMP - 5.1.2|
|Plugins| Host Info (hostinfo - v0.1)
My optimizations
Hi everyone, this is my little optimization.
I use this script, but my cacti time is very high. For that reason i change ping_latency.pl like that:
Before edit:
open (PING, "ping -nqc 5 $host|");
After edit:
open (PING, "ping -q -l 3 -c 5 -i .2 -w 5 $host|");
This is my result!
Cacti log before changes:
SYSTEM STATS: Time:285.7572 Method:spine Processes:2 Threads:30 Hosts:83 HostsPerProcess:42 DataSources:2042 RRDsProcessed:1048
Cacti log after changes:
SYSTEM STATS: Time:24.9974 Method:spine Processes:2 Threads:30 Hosts:83 HostsPerProcess:42 DataSources:2042 RRDsProcessed:1048
Best regards,
TishoVo
I use this script, but my cacti time is very high. For that reason i change ping_latency.pl like that:
Before edit:
open (PING, "ping -nqc 5 $host|");
After edit:
open (PING, "ping -q -l 3 -c 5 -i .2 -w 5 $host|");
This is my result!
Cacti log before changes:
SYSTEM STATS: Time:285.7572 Method:spine Processes:2 Threads:30 Hosts:83 HostsPerProcess:42 DataSources:2042 RRDsProcessed:1048
Cacti log after changes:
SYSTEM STATS: Time:24.9974 Method:spine Processes:2 Threads:30 Hosts:83 HostsPerProcess:42 DataSources:2042 RRDsProcessed:1048
Best regards,
TishoVo
Is the CDEF right?
Hi,
I'm not sure if the CDEF is correct and I would be very interested in some explanation:
That's the current definition:
Unix - Smoke Ping - Loss 41 -> 80 %
d,40,GT,d,80,GT,UNKN,c,IF,UNKN,IF
And this one is what I think it would be:
Unix - Smoke Ping - Loss 41 -> 80 %
d,40,GT,d,81,LT,UNKN,c,IF,UNKN,IF
Thanks
EDIT: I had been able to follow the execution and I was wrong. It's correct.
I'm not sure if the CDEF is correct and I would be very interested in some explanation:
That's the current definition:
Unix - Smoke Ping - Loss 41 -> 80 %
d,40,GT,d,80,GT,UNKN,c,IF,UNKN,IF
And this one is what I think it would be:
Unix - Smoke Ping - Loss 41 -> 80 %
d,40,GT,d,81,LT,UNKN,c,IF,UNKN,IF
Thanks
EDIT: I had been able to follow the execution and I was wrong. It's correct.
Hi,
after reading all post I add a change to the ping script that I decided to use. I only initialized loss variable to 100. This way if the host is unreachable you get red graphics because you are losing all pings. That's also is good if you use thold template to trigger an alert.
I wish you like it
after reading all post I add a change to the ping script that I decided to use. I only initialized loss variable to 100. This way if the host is unreachable you get red graphics because you are losing all pings. That's also is good if you use thold template to trigger an alert.
I wish you like it
- Attachments
-
- smoke-ping.pl
- (723 Bytes) Downloaded 1139 times
RRD error
I am using: Version 0.8.7b
This is my output for the RRDTool, I"m not sure what is wrong:
RRDTool Command:
/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="Persephone - Smoke Ping - to go" \
--base=1000 \
--height=120 \
--width=500 \
--upper-limit=10 \
--lower-limit=0 \
--units-exponent=1 \
--vertical-label="milliseconds" \
--slope-mode \
--font TITLE:12: \
--font AXIS:8: \
--font LEGEND:10: \
--font UNIT:8: \
DEF:a="/var/lib/cacti/rra/persephone_min_68.rrd":avg:AVERAGE \
DEF:b="/var/lib/cacti/rra/persephone_min_68.rrd":max:AVERAGE \
DEF:c="/var/lib/cacti/rra/persephone_min_68.rrd":min:AVERAGE \
DEF:d="/var/lib/cacti/rra/persephone_min_68.rrd":loss:AVERAGE \
DEF:e="/var/lib/cacti/rra/persephone_min_68.rrd":max:MAX \
DEF:f="/var/lib/cacti/rra/persephone_min_68.rrd":loss:MAX \
DEF:g="/var/lib/cacti/rra/persephone_min_68.rrd":min:MAX \
DEF:h="/var/lib/cacti/rra/persephone_min_68.rrd":avg:MAX \
CDEF:cdefb=b,a,-,0.2,* \
CDEF:cdefh=a,g,-,0.2,* \
CDEF:cdefbc=e,0,* \
CDEF:cdefbd=bc,0,GT,UNKN,a,IF \
CDEF:cdefbe=bc,0,GT,bc,40,GT,UNKN,g,IF,UNKN,IF \
CDEF:cdefbf=bc,40,GT,bc,80,GT,UNKN,g,IF,UNKN,IF \
CDEF:cdefbg=bc,UN,1,EQ,TIME,300,+,NOW,GT,UNKN,INF,IF,bc,80,GT,INF,UNKN,IF,IF \
CDEF:cdefbh=d,UN,1,EQ,TIME,300,+,NOW,GT,100,0,IF,100,d,-,IF \
AREA:a#FFFFFFFF:"" \
AREA:cdefb#333333FF:"":STACK \
AREA:cdefb#555555FF:"":STACK \
AREA:cdefb#888888FF:"":STACK \
AREA:cdefb#AAAAAAFF:"":STACK \
AREA:cdefb#CCCCCCFF:"":STACK \
AREA:c#FFFFFFFF:"" \
AREA:cdefh#CCCCCCFF:"":STACK \
AREA:cdefh#AAAAAAFF:"":STACK \
AREA:cdefh#888888FF:"":STACK \
AREA:cdefh#555555FF:"":STACK \
AREA:cdefh#333333FF:"":STACK \
AREA:cdefbc#FFFFFFFF:"" \
LINE1:cdefbd#00CF00FF:"Up" \
AREA:cdefbe#4123A1FF:"Packet loss \: 1 -> 40 %" \
AREA:cdefbf#8F005CFF:"Packet loss 41 -> 80 %" \
AREA:cdefbg#FF0000FF:"Down\n" \
GPRINT:cdefbh:AVERAGE:"Success rate \:%8.2lf %%\n" \
COMMENT:"Response time \:" \
GPRINT:c:MIN:"Minimum \:%8.2lf ms" \
GPRINTAVERAGE:"Average \:%8.2lf ms" \
GPRINT:e:MAX:"Maximum \:%8.2lf ms\n"
RRDTool Says:
ERROR: invalid rpn expression in: bc,0,GT,UNKN,a,IF
This is my output for the RRDTool, I"m not sure what is wrong:
RRDTool Command:
/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="Persephone - Smoke Ping - to go" \
--base=1000 \
--height=120 \
--width=500 \
--upper-limit=10 \
--lower-limit=0 \
--units-exponent=1 \
--vertical-label="milliseconds" \
--slope-mode \
--font TITLE:12: \
--font AXIS:8: \
--font LEGEND:10: \
--font UNIT:8: \
DEF:a="/var/lib/cacti/rra/persephone_min_68.rrd":avg:AVERAGE \
DEF:b="/var/lib/cacti/rra/persephone_min_68.rrd":max:AVERAGE \
DEF:c="/var/lib/cacti/rra/persephone_min_68.rrd":min:AVERAGE \
DEF:d="/var/lib/cacti/rra/persephone_min_68.rrd":loss:AVERAGE \
DEF:e="/var/lib/cacti/rra/persephone_min_68.rrd":max:MAX \
DEF:f="/var/lib/cacti/rra/persephone_min_68.rrd":loss:MAX \
DEF:g="/var/lib/cacti/rra/persephone_min_68.rrd":min:MAX \
DEF:h="/var/lib/cacti/rra/persephone_min_68.rrd":avg:MAX \
CDEF:cdefb=b,a,-,0.2,* \
CDEF:cdefh=a,g,-,0.2,* \
CDEF:cdefbc=e,0,* \
CDEF:cdefbd=bc,0,GT,UNKN,a,IF \
CDEF:cdefbe=bc,0,GT,bc,40,GT,UNKN,g,IF,UNKN,IF \
CDEF:cdefbf=bc,40,GT,bc,80,GT,UNKN,g,IF,UNKN,IF \
CDEF:cdefbg=bc,UN,1,EQ,TIME,300,+,NOW,GT,UNKN,INF,IF,bc,80,GT,INF,UNKN,IF,IF \
CDEF:cdefbh=d,UN,1,EQ,TIME,300,+,NOW,GT,100,0,IF,100,d,-,IF \
AREA:a#FFFFFFFF:"" \
AREA:cdefb#333333FF:"":STACK \
AREA:cdefb#555555FF:"":STACK \
AREA:cdefb#888888FF:"":STACK \
AREA:cdefb#AAAAAAFF:"":STACK \
AREA:cdefb#CCCCCCFF:"":STACK \
AREA:c#FFFFFFFF:"" \
AREA:cdefh#CCCCCCFF:"":STACK \
AREA:cdefh#AAAAAAFF:"":STACK \
AREA:cdefh#888888FF:"":STACK \
AREA:cdefh#555555FF:"":STACK \
AREA:cdefh#333333FF:"":STACK \
AREA:cdefbc#FFFFFFFF:"" \
LINE1:cdefbd#00CF00FF:"Up" \
AREA:cdefbe#4123A1FF:"Packet loss \: 1 -> 40 %" \
AREA:cdefbf#8F005CFF:"Packet loss 41 -> 80 %" \
AREA:cdefbg#FF0000FF:"Down\n" \
GPRINT:cdefbh:AVERAGE:"Success rate \:%8.2lf %%\n" \
COMMENT:"Response time \:" \
GPRINT:c:MIN:"Minimum \:%8.2lf ms" \
GPRINTAVERAGE:"Average \:%8.2lf ms" \
GPRINT:e:MAX:"Maximum \:%8.2lf ms\n"
RRDTool Says:
ERROR: invalid rpn expression in: bc,0,GT,UNKN,a,IF
roe1234 - Please see Roddie's post from 2006:
Regards,
Adrian Goins - President/CEO
Arces Network, LLC
Arkes Sp. z o.o.
Your rrdtool output shows that you're experiencing the problem he describes, despite using 0.8.6b.roddie wrote: The fix is to edit each of the CDEFs (Graph Management/CDEFs) and replace the following values in each of the Custom Strings.
replace bc with d
replace g with c
Once this is done, the graphs should start displaying again.
Regards,
Adrian Goins - President/CEO
Arces Network, LLC
Arkes Sp. z o.o.
Adrian Goins - President / CEO
Arces Network, LLC
http://www.arces.net
Arces Network, LLC
http://www.arces.net
how to install Smoke-ping?
Hello all . Here much discussions about smoke ping but nobody has not written what install it. The import of the pattern cacti_graph_template_smoke_ping.xml i have understood. But what to do with ping-latency.pl ?
- nebj00la
- Cacti User
- Posts: 112
- Joined: Fri Feb 17, 2006 9:02 pm
- Location: Massachusetts, USA
- Contact:
For what it's worth, I couldn't get the perl script to work as written. Here's the script that works for me:
Code: Select all
#!/usr/bin/perl
$host = $ARGV[0];
open (PING, "ping -nqc 5 $host|");
while (<PING>)
{
if ($_ =~ /(\d+)% packet loss/)
{
$loss = $1;
}
if ($_ =~ /= (.+)\/(.+)\/(.+)\/(.+)/)
{
($min,$avg,$max,$dev) = ($1,$2,$3,$4);
}
};
close (PING);
print "min:$min avg:$avg max:$max dev:$dev loss:$loss\n";
Thanks,
nebj00la
nebj00la
- nebj00la
- Cacti User
- Posts: 112
- Joined: Fri Feb 17, 2006 9:02 pm
- Location: Massachusetts, USA
- Contact:
In my case, the existing regex was catching some garbage ("pipe 3").
This script works:
This script works:
Code: Select all
#!/usr/bin/perl
# Ping latency script used for "Smoke Ping" graph template within Cacti
$host = $ARGV[0];
# Ping the specified host with 11 ECHO_REQUEST packets, 3 of which don't wait for a reply,
# wait .2 seconds between each packet with a deadline of 2 seconds,
# display numeric output only, quietly, with summary only.
open (PING, "ping -nqc 11 -l 3 -i .2 -w 2 $host|");
while (<PING>)
{
# Oh noes, we has packet loss!
if ($_ =~ /(\d+)% packet loss/)
{
$loss = $1;
}
# Catch min avg max mdev, please.
if ($_ =~ /= (.+)\/(.+)\/(.+)\/(.+?)\s/)
{
($min,$avg,$max,$dev) = ($1,$2,$3,$4);
}
};
close (PING);
# Print the results
print "min:$min avg:$avg max:$max dev:$dev loss:$loss\n";
Thanks,
nebj00la
nebj00la
smokeping still hates me
Greetings;
I've followed the instructions below:
>>The fix is to edit each of the CDEFs (Graph Management/CDEFs) and replace >>the following values in each of the Custom Strings.
>>replace bc with d
>>replace g with c
>>Once this is done, the graphs should start displaying again.
And have exchanged one error for another. As usual, I'm missing something here.
I seem to be collecting data correcvtly so the script seems to work.
Debug on from graph management returns:
/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="Firewall - Smoke Ping" \
--base=1000 \
--height=120 \
--width=500 \
--upper-limit=10 \
--lower-limit=0 \
--units-exponent=1 \
--vertical-label="millisecondes" \
--slope-mode \
--font TITLE:12: \
--font AXIS:6: \
--font LEGEND:8: \
--font UNIT:6: \
DEF:a="/usr/share/cacti/rra/firewall_min_29.rrd":avg:AVERAGE \
DEF:b="/usr/share/cacti/rra/firewall_min_29.rrd":max:AVERAGE \
DEF:c="/usr/share/cacti/rra/firewall_min_29.rrd":min:AVERAGE \
DEF:d="/usr/share/cacti/rra/firewall_min_29.rrd":loss:AVERAGE \
DEF:e="/usr/share/cacti/rra/firewall_min_29.rrd":max:MAX \
DEF:f="/usr/share/cacti/rra/firewall_min_29.rrd":loss:MAX \
DEF:g="/usr/share/cacti/rra/firewall_min_29.rrd":min:MAX \
DEF:h="/usr/share/cacti/rra/firewall_min_29.rrd":avg:MAX \
CDEF:cdefb=b,a,-,0.2,* \
CDEF:cdefh=a,g,-,0.2,* \
CDEF:cdefbc=e,0,* \
CDEF:cdefbd=d,0,GT,UNKN,a,IF \
CDEF:cdefbe=d,0,GT,bc,40,GT,UNKN,c,IF,UNKN,IF \
CDEF:cdefbf=bc,40,GT,bc,80,GT,UNKN,g,IF,UNKN,IF \
CDEF:cdefbg=d,UN,1,EQ,TIME,300, +,NOW,GT,UNKN,INF,IF,d,80,GT,INF,UNKN,IF,IF \
CDEF:cdefbh=f,UN,1,EQ,TIME,300,+,NOW,GT,100,0,IF,100,f,-,IF \
AREA:a#FFFFFFFF:"" \
AREA:cdefb#333333FF:"":STACK \
AREA:cdefb#555555FF:"":STACK \
AREA:cdefb#888888FF:"":STACK \
AREA:cdefb#AAAAAAFF:"":STACK \
AREA:cdefb#CCCCCCFF:"":STACK \
AREA:c#FFFFFFFF:"" \
AREA:cdefh#CCCCCCFF:"":STACK \
AREA:cdefh#AAAAAAFF:"":STACK \
AREA:cdefh#888888FF:"":STACK \
AREA:cdefh#555555FF:"":STACK \
AREA:cdefh#333333FF:"":STACK \
AREA:cdefbc#FFFFFFFF:"" \
LINE1:cdefbd#00CF00FF:"Up" \
AREA:cdefbe#4123A1FF:"Perte \: 1 -> 40 %" \
AREA:cdefbf#8F005CFF:"Perte 41 -> 80 %" \
AREA:cdefbg#FF0000FF:"Down\n" \
GPRINT:cdefbh:AVERAGE:"Taux de réussite \:%8.2lf %%\n" \
COMMENT:"Temps de réponse \:" \
GPRINT:g:MIN:"Minimum \:%8.2lf ms" \
GPRINT:h:AVERAGE:"Moyenne \:%8.2lf ms" \
GPRINT:e:MAX:"Maximum \:%8.2lf ms\n"
RRDTool Says:
ERROR: invalid rpn expression in: d,0,GT,bc,40,GT,UNKN,c,IF,UNKN,IF
lol - What did I do wrong?
-tom
I've followed the instructions below:
>>The fix is to edit each of the CDEFs (Graph Management/CDEFs) and replace >>the following values in each of the Custom Strings.
>>replace bc with d
>>replace g with c
>>Once this is done, the graphs should start displaying again.
And have exchanged one error for another. As usual, I'm missing something here.
I seem to be collecting data correcvtly so the script seems to work.
Debug on from graph management returns:
/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="Firewall - Smoke Ping" \
--base=1000 \
--height=120 \
--width=500 \
--upper-limit=10 \
--lower-limit=0 \
--units-exponent=1 \
--vertical-label="millisecondes" \
--slope-mode \
--font TITLE:12: \
--font AXIS:6: \
--font LEGEND:8: \
--font UNIT:6: \
DEF:a="/usr/share/cacti/rra/firewall_min_29.rrd":avg:AVERAGE \
DEF:b="/usr/share/cacti/rra/firewall_min_29.rrd":max:AVERAGE \
DEF:c="/usr/share/cacti/rra/firewall_min_29.rrd":min:AVERAGE \
DEF:d="/usr/share/cacti/rra/firewall_min_29.rrd":loss:AVERAGE \
DEF:e="/usr/share/cacti/rra/firewall_min_29.rrd":max:MAX \
DEF:f="/usr/share/cacti/rra/firewall_min_29.rrd":loss:MAX \
DEF:g="/usr/share/cacti/rra/firewall_min_29.rrd":min:MAX \
DEF:h="/usr/share/cacti/rra/firewall_min_29.rrd":avg:MAX \
CDEF:cdefb=b,a,-,0.2,* \
CDEF:cdefh=a,g,-,0.2,* \
CDEF:cdefbc=e,0,* \
CDEF:cdefbd=d,0,GT,UNKN,a,IF \
CDEF:cdefbe=d,0,GT,bc,40,GT,UNKN,c,IF,UNKN,IF \
CDEF:cdefbf=bc,40,GT,bc,80,GT,UNKN,g,IF,UNKN,IF \
CDEF:cdefbg=d,UN,1,EQ,TIME,300, +,NOW,GT,UNKN,INF,IF,d,80,GT,INF,UNKN,IF,IF \
CDEF:cdefbh=f,UN,1,EQ,TIME,300,+,NOW,GT,100,0,IF,100,f,-,IF \
AREA:a#FFFFFFFF:"" \
AREA:cdefb#333333FF:"":STACK \
AREA:cdefb#555555FF:"":STACK \
AREA:cdefb#888888FF:"":STACK \
AREA:cdefb#AAAAAAFF:"":STACK \
AREA:cdefb#CCCCCCFF:"":STACK \
AREA:c#FFFFFFFF:"" \
AREA:cdefh#CCCCCCFF:"":STACK \
AREA:cdefh#AAAAAAFF:"":STACK \
AREA:cdefh#888888FF:"":STACK \
AREA:cdefh#555555FF:"":STACK \
AREA:cdefh#333333FF:"":STACK \
AREA:cdefbc#FFFFFFFF:"" \
LINE1:cdefbd#00CF00FF:"Up" \
AREA:cdefbe#4123A1FF:"Perte \: 1 -> 40 %" \
AREA:cdefbf#8F005CFF:"Perte 41 -> 80 %" \
AREA:cdefbg#FF0000FF:"Down\n" \
GPRINT:cdefbh:AVERAGE:"Taux de réussite \:%8.2lf %%\n" \
COMMENT:"Temps de réponse \:" \
GPRINT:g:MIN:"Minimum \:%8.2lf ms" \
GPRINT:h:AVERAGE:"Moyenne \:%8.2lf ms" \
GPRINT:e:MAX:"Maximum \:%8.2lf ms\n"
RRDTool Says:
ERROR: invalid rpn expression in: d,0,GT,bc,40,GT,UNKN,c,IF,UNKN,IF
lol - What did I do wrong?
-tom
Always swim upstream from the outhouse.
Re: Smoke-ping 0.86c
Hey guys!
Hope you can give me a hand on this
I've installed this template without a problem, and configured a host to monitor with it.
But it only graphs in red the down times (please see attached image)
Running the script from the shell returns this data:
And the Cacti LOG, in debug mode shows this:
This is the output of the graph debug:
Any clue??
Thanks in advance!!!
Hope you can give me a hand on this
I've installed this template without a problem, and configured a host to monitor with it.
But it only graphs in red the down times (please see attached image)
Running the script from the shell returns this data:
Code: Select all
administrator@cacti2:/opt/cacti/scripts$ perl ./ping-latency.pl 192.168.3.1
min:698.737 avg:842.841 max:946.425 dev:82.983 loss:25
administrator@cacti2:/opt/cacti/scripts$
And the Cacti LOG, in debug mode shows this:
Code: Select all
01/23/2011 09:15:06 PM - CMDPHP: Poller[0] Time: 3.7558 s, Theads: N/A, Hosts: 8
01/23/2011 09:15:06 PM - CMDPHP: Poller[0] Host[11] DS[48] CMD: perl /opt/cacti-0.8.7g/scripts/ping-latency.pl 192.168.3.1, output: min:735.785 avg:868.228 max:1025.337 dev:93.193 loss:33
01/23/2011 09:15:03 PM - CMDPHP: Poller[0] Host[11] PING: ICMP Ping Success (913.263 ms)
This is the output of the graph debug:
Code: Select all
RRDTool Command:
/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title='Cecilio - Smoke Ping' \
--base=1000 \
--height=120 \
--width=500 \
--upper-limit='10' \
--lower-limit='0' \
--units-exponent='1' \
--vertical-label='milliseconds' \
--slope-mode \
--font TITLE:12: \
--font AXIS:8: \
--font LEGEND:10: \
--font UNIT:8: \
DEF:a="/opt/cacti-0.8.7g/rra/cecilio_min_48.rrd":avg:AVERAGE \
DEF:b="/opt/cacti-0.8.7g/rra/cecilio_min_48.rrd":max:AVERAGE \
DEF:c="/opt/cacti-0.8.7g/rra/cecilio_min_48.rrd":min:AVERAGE \
DEF:d="/opt/cacti-0.8.7g/rra/cecilio_min_48.rrd":loss:AVERAGE \
DEF:e="/opt/cacti-0.8.7g/rra/cecilio_min_48.rrd":max:MAX \
DEF:f="/opt/cacti-0.8.7g/rra/cecilio_min_48.rrd":loss:MAX \
DEF:g="/opt/cacti-0.8.7g/rra/cecilio_min_48.rrd":min:MAX \
DEF:h="/opt/cacti-0.8.7g/rra/cecilio_min_48.rrd":avg:MAX \
CDEF:cdefb=b,a,-,0.2,* \
CDEF:cdefh=a,g,-,0.2,* \
CDEF:cdefbc=e,0,* \
CDEF:cdefbd=d,0,GT,UNKN,a,IF \
CDEF:cdefbe=d,0,GT,d,40,GT,UNKN,c,IF,UNKN,IF \
CDEF:cdefbf=d,40,GT,d,80,GT,UNKN,c,IF,UNKN,IF \
CDEF:cdefbg=d,UN,1,EQ,TIME,300,+,NOW,GT,UNKN,INF,IF,d,80,GT,INF,UNKN,IF,IF \
CDEF:cdefbh=f,UN,1,EQ,TIME,300,+,NOW,GT,100,0,IF,100,f,-,IF \
AREA:a#FFFFFFFF:"" \
AREA:cdefb#333333FF:"":STACK \
AREA:cdefb#555555FF:"":STACK \
AREA:cdefb#888888FF:"":STACK \
AREA:cdefb#AAAAAAFF:"":STACK \
AREA:cdefb#CCCCCCFF:"":STACK \
AREA:c#FFFFFFFF:"" \
AREA:cdefh#CCCCCCFF:"":STACK \
AREA:cdefh#AAAAAAFF:"":STACK \
AREA:cdefh#888888FF:"":STACK \
AREA:cdefh#555555FF:"":STACK \
AREA:cdefh#333333FF:"":STACK \
AREA:cdefbc#FFFFFFFF:"" \
LINE1:cdefbd#00CF00FF:"Up" \
AREA:cdefbe#4123A1FF:"Packet loss \: 1 -> 40 %" \
AREA:cdefbf#8F005CFF:"Packet loss 41 -> 80 %" \
AREA:cdefbg#FF0000FF:"Down\n" \
GPRINT:cdefbh:AVERAGE:"Success rate \:%8.2lf %%\n" \
COMMENT:"Response time \:" \
GPRINT:g:MIN:"Minimum \:%8.2lf ms" \
GPRINT:h:AVERAGE:"Average \:%8.2lf ms" \
GPRINT:e:MAX:"Maximum \:%8.2lf ms\n"
RRDTool Says:
OK
Any clue??
Thanks in advance!!!
- Attachments
-
- smokeping-template.png (23.43 KiB) Viewed 6020 times
Cacti 0.8.7g / PA 2.9 / Ubuntu Server 10.04.1 amd64 on VMWare ESXi
Re: Smoke-ping 0.86c
Sorry guys, any clue on this??
It was graphing now almost a week, and only showing the red bars... Also always shows "nan" as max, min, avg :S
Any help, please
Regards.-
LC
It was graphing now almost a week, and only showing the red bars... Also always shows "nan" as max, min, avg :S
Any help, please
Regards.-
LC
Cacti 0.8.7g / PA 2.9 / Ubuntu Server 10.04.1 amd64 on VMWare ESXi
Who is online
Users browsing this forum: No registered users and 1 guest