Display the "Max of last 24h" instead of the latest value.

Support questions about the Network Weather Map plugin

Moderators: Moderators, Developers

Post Reply
Author
Message
Falken6
Posts: 3
Joined: Thu Jan 14, 2016 10:40 am

Display the "Max of last 24h" instead of the latest value.

#1 Post by Falken6 » Wed Sep 14, 2016 4:30 am

Hello,

To see if there was a peak on a link during the day, I would like to display the value "MAX" in a box.
I know that the info is available in the rrd (latest max value of the yearly vue)
Do you have an idea if this kind of info can be processed by a plugin ?

Example of my dream (plugin max:) :lol:

Code: Select all

NODE MaxBox
	LABEL MAX : {node:this:inpercent:%2d}%
	TARGET max:/var/www/cacti/rra/routerA_001.rrd
I don't ask to do all the job :)
Just some tips how to start or where to search...


Thank you,
Phil

(Sorry for my poor english) :oops:
Weatermap version : 0.98
Cacti version : 0.8.8h

User avatar
Howie
Cacti Guru User
Posts: 5333
Joined: Thu Sep 16, 2004 5:53 am
Location: United Kingdom
Contact:

Re: Display the "Max of last 24h" instead of the latest valu

#2 Post by Howie » Thu Sep 22, 2016 2:57 am

The good news is that it's already in weathermap :-)

The bad news is that I have apparently never written a manual page for it. So I will write some documentation and update this thread.
Weathermap 0.98 is out! & QuickTree 1.0. Superlinks is over there now (and built-in to Cacti 1.x).
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)

Falken6
Posts: 3
Joined: Thu Jan 14, 2016 10:40 am

Re: Display the "Max of last 24h" instead of the latest valu

#3 Post by Falken6 » Wed Sep 28, 2016 7:47 am

Hello Howie,

Thank you for your job.

In the meantime, I tried with the DSStat plugin.
In the map (attached below), I added the peak value of the day next to the "real time" value

The documentation to use the values of the DSStat plugin in Weathermap is there : https://network-weathermap.com/manual/0 ... ctidsstats


Regards,
Philippe
Attachments
WeathermapBackbonePeak.png
Map with Peak of the last 24h
WeathermapBackbonePeak.png (23.44 KiB) Viewed 1059 times

User avatar
Howie
Cacti Guru User
Posts: 5333
Joined: Thu Sep 16, 2004 5:53 am
Location: United Kingdom
Contact:

Re: Display the "Max of last 24h" instead of the latest valu

#4 Post by Howie » Tue Oct 04, 2016 3:47 am

Actually, if your time requirements fit with DSstats' time periods, then DSStats will give you a better result than the rrdtool method, usually, because rrdtool is aggregating and averaging.

(I will still write the docs for the other way! :-) )
Weathermap 0.98 is out! & QuickTree 1.0. Superlinks is over there now (and built-in to Cacti 1.x).
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)

Post Reply