An idea please ?Jey wrote:
What are the black/grey pixels ?
Green line = latency, but en top ...
EDIT: Advanced Ping Template Version 1.3 for Cacti 0.8.6g
Moderators: Developers, Moderators
http://forums.cacti.net/about24748.html ... ange+titleLevente wrote:Hi,
I was just wondering if I can set the graph name automatically to something like this.
The Default graph title is: |host_description| - Advanced Ping
I would like to change it to something like: |host_description| - <IP to ping> - <Ping type ICMP,UDP> - <Number of pings> - Advanced Ping
So, <IP to ping>, <Ping type ICMP,UDP,TCP>, <Number of pings>, are all variables that I use when I create each graph. Is there any way that I can use them in each graph title except manually adding them?
Short version:
Before
Graph title -> Advance Ping Host - Advanced Ping
After
Graph title -> Advance Ping Host - 12.34.56.78 - ICMP - 20 - Advanced Ping
Can I do that ?
I hope I made myself clear.
Thank you.
chang the Graph Template Title to use "per-graph" it allowed you to change the title on each graph
-
- Posts: 17
- Joined: Mon Feb 25, 2008 8:27 pm
- Location: Singapore
- Contact:
Localhost - Advanced Ping -Error "REFUSED"
06/23/2008 01:45:09 PM - SPINE: Poller[0] Host[15] DS[7016] SS[0] SERVER: /var/www/html/cacti/scripts/ss_fping.php ss_fping 172.27.253.121 20 UDP 23, output: ->refused->refused->refused->refused->refused->refused->refused->refused->refused->refusedmin:3.2400 avg:4.2920 max:5.6100 dev:0.8463 loss:50.0000
06/23/2008 01:45:04 PM - SPINE: Poller[0] Host[1] DS[7018] SS[0] SERVER: /var/www/html/cacti/scripts/ss_fping.php ss_fping 127.0.0.1 10 UDP 23, output: ->refused->refused->refused->refused->refused->refused->refused->refused->refused->refusedmin:0.0400 avg:0.0460 max:0.0700 dev:0.0102 loss:0.0000
any one know why the i get the above error....
06/23/2008 01:45:04 PM - SPINE: Poller[0] Host[1] DS[7018] SS[0] SERVER: /var/www/html/cacti/scripts/ss_fping.php ss_fping 127.0.0.1 10 UDP 23, output: ->refused->refused->refused->refused->refused->refused->refused->refused->refused->refusedmin:0.0400 avg:0.0460 max:0.0700 dev:0.0102 loss:0.0000
any one know why the i get the above error....
Hi folks,
I'm new on this forum, so first of all I would like to welcome everyone here. Also I would like to thank those who are involved in writing Cacti and its plugins.
I have a problem with Advanced Ping v1.3 running on recent Cacti 0.8.7b, Debian 4.0r1 with PHP 5.2.0-8+etch11.
Originally I was guessing that there is an issue with permissions and so I have to run it from root instead of cacti user. This unfortunately didn't solve the issue. Graphs are still empty, showing results NAN and in the logs I'm getting following:
When I'm trying to run script_server.php from command line and than ss_fping.php in it I'm getting similar results:
When trying to run the same script from command line I'm getting correct results:
Did someone here faced similar problem already and found solution/workaround?
I'd appreciate any help!
Regards,
Sergiusz
I'm new on this forum, so first of all I would like to welcome everyone here. Also I would like to thank those who are involved in writing Cacti and its plugins.
I have a problem with Advanced Ping v1.3 running on recent Cacti 0.8.7b, Debian 4.0r1 with PHP 5.2.0-8+etch11.
Originally I was guessing that there is an issue with permissions and so I have to run it from root instead of cacti user. This unfortunately didn't solve the issue. Graphs are still empty, showing results NAN and in the logs I'm getting following:
Code: Select all
06/24/2008 06:00:02 PM - PHPSVR: Poller[0] WARNING: Function does not exist
06/24/2008 06:00:02 PM - CMDPHP: Poller[0] Host[10] DS[85] WARNING: Result from SERVER not valid. Partial Result: WARNING: Function do
06/24/2008 06:00:02 PM - CMDPHP: Poller[0] Host[10] DS[85] SERVER: /var/lib/cacti/scripts/ss_fping.php xxx.xxx.xxx.xxx 20 ICMP , output: U
Code: Select all
stats:/var/lib/cacti# php script_server.php
PHP Script Server has Started - Parent is cmd
/var/lib/cacti/scripts/ss_fping.php xxx.xxx.xxx.xxx 20 ICMP
WARNING: Function does not exist
quit
PHP Script Server Shutdown request received, exiting
Code: Select all
stats:/var/lib/cacti# php /var/lib/cacti/scripts/ss_fping.php xxx.xxx.xxx.xxx 20 ICMP
min:11.0700 avg:12.6665 max:16.2900 dev:1.0137 loss:0.0000stats:/var/lib/cacti#
I'd appreciate any help!
Regards,
Sergiusz
I have a problem, i can send pings just fine, but when there is a problem, meaning 100% loss, I do not get the 100% in my graph, just an empty area.
I tried it manually and then I get 100% packet loss in my dos prompt.
does anyone have an idea?
When i check the log files, I don't find a rule where that rrd files gets updated. (if host is unreachable)
other hosts that are reachable i can find jsut fine
This problem occures with php and spine poller.
### UPDATE ###
I've noticed that when i disable downed host detection, I do get a result.
I have not tried this, but what happens when I run advanced ping without the script server.
Maybe I will try in a few days, but is someone can help me in the mean time, this would be great..
### UPDATE 2 ###
I've tested to make it run without a script server. This gives the same problem. It only makes the poll go slower...
I've attached a second pic of how the graph looks when it het no data...
I tried it manually and then I get 100% packet loss in my dos prompt.
does anyone have an idea?
When i check the log files, I don't find a rule where that rrd files gets updated. (if host is unreachable)
other hosts that are reachable i can find jsut fine
This problem occures with php and spine poller.
### UPDATE ###
I've noticed that when i disable downed host detection, I do get a result.
I have not tried this, but what happens when I run advanced ping without the script server.
Maybe I will try in a few days, but is someone can help me in the mean time, this would be great..
### UPDATE 2 ###
I've tested to make it run without a script server. This gives the same problem. It only makes the poll go slower...
I've attached a second pic of how the graph looks when it het no data...
- Attachments
-
- untitled2.JPG (34.41 KiB) Viewed 11076 times
-
- untitled.JPG (31.91 KiB) Viewed 11141 times
fozzy99999 wrote:Kinda noob to Advance Ping. I have modified my CDEFs from the original to change the latency percentages I am looking for, but now I would like to modify the way it shows periods of latency to change the color of the horizontal line from green to the color that represents the latency percentage. My users seem to be confused by the AREA blocks and are familiar with smokeping graphs.
Not looking for step by step howto but just a kick in the right direction would be apreciated
Hello "fozzy99999",
How did you change your CDEFs to get this graphs ?
Thanks in advance.
Good afternoon to you all
I know this subject has already been discussed on the forum, but I´ve still haven´t found an answer.
I´m not able to run ss_fping.php. I always get the error:
PHP Fatal error: Call to undefined function read_config_option() in /var/lib/cacti/scripts/ss_fping.php on line 38.
My php version is 5.2.4. I think the problem is that I haven´t enabled socket extension. Does anybody know of a way of doing it without reinstalling php?
Any help is apreciated
Thkx
I know this subject has already been discussed on the forum, but I´ve still haven´t found an answer.
I´m not able to run ss_fping.php. I always get the error:
PHP Fatal error: Call to undefined function read_config_option() in /var/lib/cacti/scripts/ss_fping.php on line 38.
My php version is 5.2.4. I think the problem is that I haven´t enabled socket extension. Does anybody know of a way of doing it without reinstalling php?
Any help is apreciated
Thkx
I would like to know to, because i think it's a great idea.Kalli wrote:fozzy99999 wrote:Kinda noob to Advance Ping. I have modified my CDEFs from the original to change the latency percentages I am looking for, but now I would like to modify the way it shows periods of latency to change the color of the horizontal line from green to the color that represents the latency percentage. My users seem to be confused by the AREA blocks and are familiar with smokeping graphs.
Not looking for step by step howto but just a kick in the right direction would be apreciated
Hello "fozzy99999",
How did you change your CDEFs to get this graphs ?
Thanks in advance.
fozzy99999: can you help us?
Thanks.
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Nope, it means the host is down.
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?
-
- Posts: 36
- Joined: Tue Jun 06, 2006 10:53 am
Just a simple doubt...
What do the grayscale means? In smokeping, each gray stack is the RTT of a single ping, and the line is the average.
However, in this template it doesn't seems to be the same. How are the different gray stacks calculated?
- Is the upmost graystack the maximum RTT, and the others are just evenly spaced steps?
- Is the standard deviation (or jitter) of all the packets show in any way?
I really like smokeping's graphs, and I needed to know if I can get the same information from these. Thanks for the help.
What do the grayscale means? In smokeping, each gray stack is the RTT of a single ping, and the line is the average.
However, in this template it doesn't seems to be the same. How are the different gray stacks calculated?
- Is the upmost graystack the maximum RTT, and the others are just evenly spaced steps?
- Is the standard deviation (or jitter) of all the packets show in any way?
I really like smokeping's graphs, and I needed to know if I can get the same information from these. Thanks for the help.
zarahel wrote:Good afternoon to you all
I know this subject has already been discussed on the forum, but I´ve still haven´t found an answer.
I´m not able to run ss_fping.php. I always get the error:
PHP Fatal error: Call to undefined function read_config_option() in /var/lib/cacti/scripts/ss_fping.php on line 38.
My php version is 5.2.4. I think the problem is that I haven´t enabled socket extension. Does anybody know of a way of doing it without reinstalling php?
Any help is apreciated
Thkx
I have the same problem. Have someone solved it? Php version 5.1.6
-
- Posts: 2
- Joined: Tue Sep 30, 2008 9:47 pm
I have the same issue
Any ideas how to fix?
-
- Posts: 1
- Joined: Fri Feb 15, 2008 2:34 am
Hi,
a few days ago my linux box crashed and i had to rebuild it from scratch because i had no working and current backup. i know, shame on me.
i have installed fedora core 9 with all needed packages and cacti 0.8.7b. after importing the template it was not working and no graph was build. from the command line and through script server everything looked fine. i replaced lib/ping.php and scripts/ss_fping.php with the files from the third page of this thread and know the template works just fine.
it seems to me that regardless what version of cacti one is using, you have to replace these ping scripts to get it work.
ct,
a few days ago my linux box crashed and i had to rebuild it from scratch because i had no working and current backup. i know, shame on me.
i have installed fedora core 9 with all needed packages and cacti 0.8.7b. after importing the template it was not working and no graph was build. from the command line and through script server everything looked fine. i replaced lib/ping.php and scripts/ss_fping.php with the files from the third page of this thread and know the template works just fine.
it seems to me that regardless what version of cacti one is using, you have to replace these ping scripts to get it work.
ct,
Who is online
Users browsing this forum: No registered users and 1 guest