I'm trying to collect ICMP statistics for different hosts on the internet but i'm missing a "Min" value.
So I would like to know if it's possible to add another title within the ping plugin that monitors the "min ping value" for the selected hosts.
Avg, Last, Min would be all i need.
Can anyone help me with this or tell me if it's even possible ?
edit: I can see a "Min + Max value" when looking at the example graph @collectd wiki.
Why is this missing in my config ?
Installed packages: liboping 1.9.0-1, collectd-mod-ping 5.7.2-2
The defintion file @/usr/lib/lua/luci/statistics/rrdtool/definitions for ping looks like this:
The likely reason is the default setting in LuCI statistics that only average values are stored. You might toggle that, but that will increase the rrd database size.
Additionally, it might require modifying the graph definition in Luci, but I am not certain and can't test right now.
@hnyman
Thanks for your help...
I have unchecked "Only create average RRAs" @Statistics > Setup > Output Plugins > RRDTool and also checked "Show max values instead of averages" but i still get only Avg and Last values.
Also did /etc/init.d/collectd restart but still the same.
I'm searching the internet for the ping graph definition but no success so far...
Maybe i have to reboot the router but I cant do it right now because a few people are actively using my connection at the moment.
Got it working, a simple reboot got it done. Thanks @hnyman !
Also added "per_instance=true" to separate the graphs.
But now I have another problem, the individual graphs do not show the hostnames anymore (see screenshot)...
Any Idea how to fix this ?
As the graphs are now "per instance", you might need to change the title parameter. Instead of "%di" (data instance), try "%pi" (plugin instance). Not quite sure how that will play out with the exact parameters you have now, but worth testing in any case. (you might also try "%pi %di")
Thanks i will give it a try and let you know.
At the moment i've got everything deactivated cause i was running out of free memory and my router seems to reboot at random times.
But not sure if that was related to collectd...
I need to figure out how to collect and log everything on a USB stick to get rid of my free mem issue.