FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > CentOS > CentOS

 
 
LinkBack Thread Tools
 
Old 12-17-2009, 03:55 PM
"Joseph L. Casale"
 
Default Munin issue

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@centos.org
http://lists.centos.org/mailman/listinfo/centos
 
Old 12-17-2009, 04:23 PM
"Fábio Jr."
 
Default Munin issue

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.

[]s


--
Fábio da Silva Júnior - fjuniorlista@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@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>
>


_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 
Old 12-17-2009, 04:31 PM
"Joseph L. Casale"
 
Default Munin issue

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

Yup, looks like I am not going to get around asking Munin to retain data.

Oh well, thanks!

jlc
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 
Old 12-17-2009, 04:39 PM
Ryan Pugatch
 
Default Munin issue

Joseph L. Casale wrote:
>> 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.
>
> Yup, looks like I am not going to get around asking Munin to retain data.
>
> Oh well, thanks!
>
> jlc


Maybe something like bandwidthd will work for you.
http://bandwidthd.sourceforge.net/

- Ryan
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 

Thread Tools




All times are GMT. The time now is 01:18 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org