Smoke-ping 0.86c
Moderators: Developers, Moderators
- TheWitness
- Developer
- Posts: 17047
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Mlist,
This is a known issue with one of the aforementioned products. There was a fix posted. Unfortunately you have to google for it.
TheWitness
This is a known issue with one of the aforementioned products. There was a fix posted. Unfortunately you have to google for it.
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?
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?
The witness
after 2 hours of search I founded this post
http://forums.cacti.net/viewtopic.php?t=7582
in witch mpdsville1 speak about this problem and, at the end of post he says:
Thold release for 8.6d (version specific) release under thread
http://forums.cacti.net/viewtopic.php?t=6508
I hadn't associated this with Thold at the start, but clearly
that was the case. Thank you Ian/All for the help and pointers
Reading all replies at http://forums.cacti.net/viewtopic.php?t=6508
I didn't find someone speaking about this specific problem but...someone speak about thold patchs and version different from mine.
As result now I'm more confused!
Why?
Because now I'm not sure anymore if I have all correct files;
I have fedora c3 with:
cacti 0.8.6d + official patchs
thold2.1a (adesimone version)
plugin monitor from cigamit
No others files: just files listed above
The question is:
Need I some others patchs or thold version???
As I already asked to you in "future request", I sincerely hope that someone update the documentation or, at least, a brief list of all files, patchs etc... that need to be installed for a specific release because read all posts is very very frustrating.
Thanks
after 2 hours of search I founded this post
http://forums.cacti.net/viewtopic.php?t=7582
in witch mpdsville1 speak about this problem and, at the end of post he says:
Thold release for 8.6d (version specific) release under thread
http://forums.cacti.net/viewtopic.php?t=6508
I hadn't associated this with Thold at the start, but clearly
that was the case. Thank you Ian/All for the help and pointers
Reading all replies at http://forums.cacti.net/viewtopic.php?t=6508
I didn't find someone speaking about this specific problem but...someone speak about thold patchs and version different from mine.
As result now I'm more confused!
Why?
Because now I'm not sure anymore if I have all correct files;
I have fedora c3 with:
cacti 0.8.6d + official patchs
thold2.1a (adesimone version)
plugin monitor from cigamit
No others files: just files listed above
The question is:
Need I some others patchs or thold version???
As I already asked to you in "future request", I sincerely hope that someone update the documentation or, at least, a brief list of all files, patchs etc... that need to be installed for a specific release because read all posts is very very frustrating.
Thanks
No data in the graph
I have a similar problem described before. But I never found a working solution for it. I'm running cacti 0.8.6e and my smoke ping does not display anything. Obvously the host up because my normal ping graph shows data and smokeping is not red. However it does not graph anything for this host. I checked the rra for the smokeping graph and it gets updated. Any ideas what could be wrong or if someone can point to the right direction?
Just for info the situation was exactly the same with 0.8.6d
Thanks
Just for info the situation was exactly the same with 0.8.6d
Thanks
- Attachments
-
- 1.jpg (20.91 KiB) Viewed 14741 times
-
- 2.jpg (17.94 KiB) Viewed 14741 times
smokeping
Hi,
I have many problems with this templage.
First off all, there is no data collected and no graphs (rrd) will be automaticly
build. When I add it manuell, there is no date (actuell ~90% red since activiation).
I won't to smokeping ~200 hosts with ohne host (Smokeping - 127.0.0.0).
But cacti don't work with it (Many of the same graphs with different titles like www.microsoft.com).
Is there any way to add the hosts like with smokeping? I don't want two different graph systems...
Please help me
--> There are no logs, like there are no graphs (I have manuell add the rrds). No data will be collected by poller.php. But there are still ~40 graphs with smokeping added
--> Now it works, but the left side is red (must be fixed in 24hours =). But
another problem is, that the down side (under the green line) is complete white. I'll post a pic. next.
I have many problems with this templage.
First off all, there is no data collected and no graphs (rrd) will be automaticly
build. When I add it manuell, there is no date (actuell ~90% red since activiation).
I won't to smokeping ~200 hosts with ohne host (Smokeping - 127.0.0.0).
But cacti don't work with it (Many of the same graphs with different titles like www.microsoft.com).
Is there any way to add the hosts like with smokeping? I don't want two different graph systems...
Please help me
--> There are no logs, like there are no graphs (I have manuell add the rrds). No data will be collected by poller.php. But there are still ~40 graphs with smokeping added
--> Now it works, but the left side is red (must be fixed in 24hours =). But
another problem is, that the down side (under the green line) is complete white. I'll post a pic. next.
smokeping / CDEFS
Hello,
Is anyone familiar enough with CDEF's to expand the functionality to allow graphing of smaller loss? I.E.
0%-5% loss = color
5%-10% loss = another color
etc.
For me 1%-40% loss is just way too big of a span to give
enough info.
Thanks!
Is anyone familiar enough with CDEF's to expand the functionality to allow graphing of smaller loss? I.E.
0%-5% loss = color
5%-10% loss = another color
etc.
For me 1%-40% loss is just way too big of a span to give
enough info.
Thanks!
The smoke represents the overall jitter. The darker the smoke signifies that most of your ping pkts were in that latency range. The 2 darkest smoke colors are based on the deviation return by the ping test. The deviation is divided by 2 and stacked on top of the green avg line. The next 3 grays are based on the max ping, ie) max - (dev+avg) / 3, and stacked on top of the 2 darkest grays representing deviation. This was the closest approximation to the original smokeping created by Tobi O. Hope this helps.
hello to all
i have used roddie 's script
but sometimes i get gaps in graphs...
is there a possibility that the script has not enough time to be executed and then return its values?
I mean that maybe the data template cannot take input from script because of time.
How can i give a solution to this?
i have used roddie 's script
Code: Select all
#!/usr/bin/perl
$host = $ARGV[0];
$ping=`/usr/local/sbin/fping -c 10 -p 50 -i 20 -q $host`;
($x, $y) = split (",", $ping);
($xmt,$rcv,$loss) = ($x =~ /(\d+)\/(\d+)\/(\d+)/);
($min,$avg,$max) = ($y =~ /(\d+\.?\d*)\/(\d+\.?\d*)\/(\d+\.?\d*)/);
$dev1 = $avg - $min;
$dev2 = $max - $avg;
$dev = ($dev1 + $dev2)/2;
printf ("min:%.3f avg:%.3f max:%.3f dev:%.3f loss:%.0f", $min, $avg, $max, $dev, $loss);
is there a possibility that the script has not enough time to be executed and then return its values?
I mean that maybe the data template cannot take input from script because of time.
How can i give a solution to this?
- TheWitness
- Developer
- Posts: 17047
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Clear the unit's exponent on the Graph Template and see if it has any effect. The RPN itself looks Ok.
TheWitness
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?
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?
Dealing with the same issue here, that the 'g' DEF isn't defined. Any clues where to look for a solution?
/usr/local/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="01 - Smoke Ping" \
--base=1000 \
--height=120 \
--width=500 \
--upper-limit=10 \
--lower-limit=0 \
--vertical-label="milliseconds" \
--slope-mode \
DEF:a="/cacti/rra/01_min_2641.rrd":avg:AVERAGE \
DEF:b="/cacti/rra/01_min_2641.rrd":max:AVERAGE \
DEF:c="/cacti/rra/01_min_2641.rrd":min:AVERAGE \
DEF:d="/cacti/rra/01_min_2641.rrd":loss:AVERAGE \
DEF:e="/cacti/rra/01_min_2641.rrd":max: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#FFFFFF:"" \
AREA:cdefb#333333:"":STACK \
AREA:cdefb#555555:"":STACK \
AREA:cdefb#888888:"":STACK \
AREA:cdefb#AAAAAA:"":STACK \
AREA:cdefb#CCCCCC:"":STACK \
AREA:c#FFFFFF:"" \
AREA:cdefh#CCCCCC:"":STACK \
AREA:cdefh#AAAAAA:"":STACK \
AREA:cdefh#888888:"":STACK \
AREA:cdefh#555555:"":STACK \
AREA:cdefh#333333:"":STACK \
AREA:cdefbc#FFFFFF:"" \
LINE1:cdefbd#00CF00:"Up" \
AREA:cdefbe#4123A1:"Packet loss \: 1 -> 40 %" \
AREA:cdefbf#8F005C:"Packet loss 41 -> 80 %" \
AREA:cdefbg#FF0000:"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: a,g,-,0.2,*
Cheers, Joi
/usr/local/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="01 - Smoke Ping" \
--base=1000 \
--height=120 \
--width=500 \
--upper-limit=10 \
--lower-limit=0 \
--vertical-label="milliseconds" \
--slope-mode \
DEF:a="/cacti/rra/01_min_2641.rrd":avg:AVERAGE \
DEF:b="/cacti/rra/01_min_2641.rrd":max:AVERAGE \
DEF:c="/cacti/rra/01_min_2641.rrd":min:AVERAGE \
DEF:d="/cacti/rra/01_min_2641.rrd":loss:AVERAGE \
DEF:e="/cacti/rra/01_min_2641.rrd":max: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#FFFFFF:"" \
AREA:cdefb#333333:"":STACK \
AREA:cdefb#555555:"":STACK \
AREA:cdefb#888888:"":STACK \
AREA:cdefb#AAAAAA:"":STACK \
AREA:cdefb#CCCCCC:"":STACK \
AREA:c#FFFFFF:"" \
AREA:cdefh#CCCCCC:"":STACK \
AREA:cdefh#AAAAAA:"":STACK \
AREA:cdefh#888888:"":STACK \
AREA:cdefh#555555:"":STACK \
AREA:cdefh#333333:"":STACK \
AREA:cdefbc#FFFFFF:"" \
LINE1:cdefbd#00CF00:"Up" \
AREA:cdefbe#4123A1:"Packet loss \: 1 -> 40 %" \
AREA:cdefbf#8F005C:"Packet loss 41 -> 80 %" \
AREA:cdefbg#FF0000:"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: a,g,-,0.2,*
Cheers, Joi
- TheWitness
- Developer
- Posts: 17047
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Yea, this is odd in that I attempted to import a few different version, and must have missed the right one, cause none of them matched either one. So, if you can re-attach right template that would help.
I am uncertain what happened. Maybe a note to Rony, but repost the template wou;d be good.
TheWitness
I am uncertain what happened. Maybe a note to Rony, but repost the template wou;d be good.
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?
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?
- TheWitness
- Developer
- Posts: 17047
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
The mysql one is with an invalid character in the unit_?? in the graph template and is a quick fix.
This one on the other hand, should be a quick fix. I did notice that the DS definitions are optimal, but that the cdef's need to be updated. So, even though the graph is broken, the performance should be much better due to removing the garbadge from the template.
I suggest fixing the tmplate and leaving it at that.
Larry
This one on the other hand, should be a quick fix. I did notice that the DS definitions are optimal, but that the cdef's need to be updated. So, even though the graph is broken, the performance should be much better due to removing the garbadge from the template.
I suggest fixing the tmplate and leaving it at that.
Larry
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?
-
- Posts: 4
- Joined: Wed Aug 23, 2006 7:47 am
Who is online
Users browsing this forum: No registered users and 3 guests