[MUNIN Plugin] Mailadresses on Server - Printable Version +- ispCP - Board - Support (http://www.isp-control.net/forum) +-- Forum: ispCP Omega Contributions Area (/forum-40.html) +--- Forum: Snippets (/forum-42.html) +--- Thread: [MUNIN Plugin] Mailadresses on Server (/thread-5252.html) |
[MUNIN Plugin] Mailadresses on Server - Knut - 12-26-2008 05:35 PM Moin, ich persönlich schaue mir gerne die Entwicklung meines Servers via Munin grafisch an. Ob das nun die Anzahl der angelegten Sites oder Mailkonten ist. Für letzteres möchte ich hier gerne das entsprechende Plugin zur Verfügung stellen. Vielleicht setzt jemand ebenfalls Munin ein und kann es gebrauchen. Ich gehe dabei von einem fertig konfigurierten ispCP und Munin(-Node) aus. Mein verwendetes System ist ein Debian Etch. 1. Folgenden Code in /usr/share/munin/plugins/ispcp_mailuser speichern. Code: #!/bin/sh 2. Ausführbar machen. Code: chmod +x /usr/share/munin/plugins/ispcp_mailuser 3. Logischen Link setzen. Code: cd /etc/munin/plugins 4. Die Konfiguration des Nodes editieren. Code: pico /etc/munin/plugin-conf.d/ munin-node Code: [ispcp_mailuser] 5. Munin-Node über das neue Plugin informieren. (Meine Erfahrung hat gezeigt, dass es nicht ausreicht das/die Node neu zu starten. Code: dpkg-reconfigure munin-node Fertig. Du findest die Grafik des Plugin unter dem Abschnitt Postfix. Anfangs wird sicherlich nicht viel zu sehen sein, über das Jahr gesehen erhoffe ich mir interessantere Grafiken :-) Achja: Wem die Skalierung mit 1K (1000 Mailkonten) zu hoch ist braucht im Plugin einfach die Variable graph_args --upper-limit 1000 -l 0 ändern. Download-Link vom Script : http://addons.isp-control.net/unofficial/ispcp_mailuser_www.isp-control.net.tar.gz RE: [MUNIN Plugin] Mailadresses on Server - BeNe - 12-30-2008 10:19 PM Danke für deine Arbeit! Hab es nach SNIPPETS verschoben! Thanks for your work. Moved it to SNIPPETS! Greez BeNe RE: [MUNIN Plugin] Mailadresses on Server - DiXeoN - 12-31-2008 01:20 AM Shouldn't this be in english? Just a though i got.. RE: [MUNIN Plugin] Mailadresses on Server - BeNe - 12-31-2008 10:19 PM Of course it should be in English. But it was posted in the German Thread and i moved it to here. Maybe someone could translate if for all ? So many infos and small functions are in the (big) German Corner. And all get´s more and more lost for the rest of the Community here because they are all in german and not english Greez BeNe RE: [MUNIN Plugin] Mailadresses on Server - ancdix - 12-31-2008 11:21 PM little translation (12-26-2008 05:35 PM)Knut Wrote: Hi, the translation is not perfect i know, but i think it's possible to understand RE: [MUNIN Plugin] Mailadresses on Server - BeNe - 12-31-2008 11:52 PM Fine! Thanks man. Greez BeNe RE: [MUNIN Plugin] Mailadresses on Server - DaSilva - 02-16-2009 04:13 AM Thanks for the handy plugins! Can you make them dynamic like other plugins? So that the graph always fits to the highest number? Thanks. And how can I add graphs for a month/year? Currently I can only see daily and weekly graphs... RE: [MUNIN Plugin] Mailadresses on Server - Knut - 02-16-2009 04:33 AM (02-16-2009 04:13 AM)DaSilva Wrote: Can you make them dynamic like other plugins? Remove this line Code: echo 'graph_args --upper-limit 1000 -l 0' Code: dpkg-reconfigure munin-node (02-16-2009 04:13 AM)DaSilva Wrote: And how can I add graphs for a month/year? Currently I can only see daily and weekly graphs... Hmm... klick at the images ? EDIT: I think for monthly images wait a week, for yearly images wait a month. Knut RE: [MUNIN Plugin] Mailadresses on Server - DaSilva - 02-16-2009 05:14 AM Thanks RE: [MUNIN Plugin] Mailadresses on Server - Knut - 05-20-2009 01:56 AM Download Link for the Script : http://addons.isp-control.net/unofficial/ispcp_mailuser_www.isp-control.net.tar.gz |