[CentOS] Munin issue

Thu Dec 17 17:23:56 UTC 2009
"Fábio Jr." <fjuniorlista at gmail.com>

Hi Joseph,

I'll try to help you with I understood.

I had to make a plugin for munin to graph the max req apache received, 
and keep graphing to have a "requisitions record" line.

To make this, I stored this value in a simple txt file, and make my 
plugin read this file. The value recorded on this file is verified from 
current req on apache.

If the current req in apache is bigger than the stored in the file, then 
I overwrite the value of the file, else I read existing value from the file.

If I understood you well, you want to keep the clients graphing in 
munin, even if they are not transmitting anything. If so, I think you 
can try the same line of reasoning of my plugin.

Hope you understand what I tried to explain, and it helped you.


Fábio da Silva Júnior - fjuniorlista at gmail.com
----- http://fabioojunior.wordpress.com -----

Joseph L. Casale escreveu:
> Hey Guys,
> I am trying to wrap some loose ends up before we close tomorrow and have one last
> thing. I have been asked to monitor tunnel bandwidth for vpn clients over the holidays
> and whipped up a quick Munin plugin to do this. It works well but one problem is that
> when a client disconnects, the plugin stops submitting graph data for it, so the png's
> don't show the user anymore, kinda hard to see what's been done over the time period
> they "were" connected.
> How can I tell Munin to retain the data it has seen? I would rather this approach then hardcode
> the users in, as I have to manually maintain that list then...
> Thanks!
> jlc
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos