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

Support questions about the Network Weather Map plugin

Moderators: Developers, Moderators

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

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

Post by Falken6 »

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: 5508
Joined: Thu Sep 16, 2004 5:53 am
Location: United Kingdom
Contact:

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

Post by Howie »

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.98a 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

Post by Falken6 »

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
Map with Peak of the last 24h
Map with Peak of the last 24h
WeathermapBackbonePeak.png (23.44 KiB) Viewed 1569 times
User avatar
Howie
Cacti Guru User
Posts: 5508
Joined: Thu Sep 16, 2004 5:53 am
Location: United Kingdom
Contact:

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

Post by Howie »

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.98a 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

Who is online

Users browsing this forum: No registered users and 4 guests