Cacti (home)ForumsDocumentation
Cacti: offical forums and support
It is currently Mon May 22, 2017 10:29 am

All times are UTC - 5 hours




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Ping latency values below zero
PostPosted: Tue Apr 25, 2017 8:46 am 
Offline
User avatar

Joined: Wed Jan 28, 2015 2:57 pm
Posts: 22
Hello,

I am trying to monitor a host via ping.pl As base i used the "unix - ping" template. The Graph is ok, but when the response time value is lower then 1.0, the graph shows for example not 0.632 ms but 632.12 ms. When I start the script on the console, I get the correct value back (0.632 ms).
I am dealing around with CDEFs an more, but I'm stuck. Can anybody help me?

Kindly regards

Attachment:
example_ping.jpg
example_ping.jpg [ 90.57 KiB | Viewed 297 times ]

_________________
Cacti 0.8.8f on Debian Wheezy


Top
 Profile  
 
 Post subject: Re: Ping latency values below zero
PostPosted: Tue Apr 25, 2017 4:22 pm 
Offline

Joined: Wed Mar 01, 2017 2:34 pm
Posts: 17
The graph is absolutely correct. The "m" stands for "milli" or thousandth.
In the picture, you see values from 0 to 2 (milliseconds).
A value of 0.64852 is 648.52 milli (milliseconds). 648.52 thousandth of a millisecond. This scaling through the unit parts is in the graph template. If you have ping values above 1000, it would display 1 k (kilo) milliseconds, not 1 second.


Top
 Profile  
 
 Post subject: Re: Ping latency values below zero
PostPosted: Wed Apr 26, 2017 3:26 am 
Offline
User avatar

Joined: Wed Jan 28, 2015 2:57 pm
Posts: 22
Hello,

thank you, tertius. I know what you mean. But, that's not what I want. With a graphics program I have changed the graph. It should look like this.

Based on this data:

Attachment:
cli_graph.jpg
cli_graph.jpg [ 72.5 KiB | Viewed 215 times ]


The graph should look like this:

Attachment:
wanted_graph.jpg
wanted_graph.jpg [ 88.49 KiB | Viewed 215 times ]

_________________
Cacti 0.8.8f on Debian Wheezy


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 7 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group