Let's begin resource monitoring with munin 2011 1209 zem_distribution

67 %
33 %
Information about Let's begin resource monitoring with munin 2011 1209 zem_distribution
Technology

Published on December 12, 2011

Author: zembutsu

Source: slideshare.net

Description

Munin で始めるリソースモニタリング。Munin User Group Japan の紹介、自作プラグイン(迷惑メール数カウントフィルタ)のサンプル、各種リソースモニタのサンプル。おまけでMuninのインストール方法。

• クラウドは人生(キリッ – • • • – • • – •

#!/bin/sh## Plugin to monitor SAPM email detection and reject counter# 2011/11/28#%# family=auto#%# capabilities=autoconfif [ "$1" = "autoconf" ] ; then if [ -n "$SPAMS" ] ; then y echo "yes" else echo "¥$SPAMS not defined." fi exitfiif [ "$1" = "config" ] ; then " fi " h echo "graph_args --base 1000 -r --lower-limit 0"; #echo "graph_args --base 1000 -r --lower-limit 0 --units-exponent 3"; echo "graph_title SPAM E il Reject Counter, by type"; h " h titl E-mails R j t C t b t " echo "graph_category sendmail"; echo "graph_info This graph shows procmail filter counter."; echo graph printf %3 0lf graph_printf %3.0lf echo graph_vlabel SPAMs echo "graph_order $SPAM"

FIRSTSPAM=1; for SPAM in $SPAMS; do echo "${SPAM}.label $SPAM" echo "${SPAM}.info procmail recipe by $SPAM" echo "${SPAM}.type GAUGE" if [ $FIRSTSPAM -eq 1 ] ; then echo "${SPAM}.draw AREA" h "${SPAM} d export FIRSTSPAM=0; else echo "${SPAM} dra STACK" "${SPAM}.draw fi done ; exitfifor SPAM in $SPAMS ; do { grep $SPAM /var/lib/munin/plugin-state/SpamFiltered.state}done;

4,9,14,19,24,29,34,39,44,49,54,59 * * * */usr/share/munin/plugins/countSpamFiltered.sh > /var/lib/munin/plugin-state/SpamFiltered.state t t /S Filt d t t#!/bin/sh# by zembutsu@link co jp 2011/11/28 zembutsu@link.co.jp# env spam.body spam.from spam.receivedfor SPAM in body from received x info Subject Body null body Nov class mailer x-info Subject_Body_null body-Novmessageid reply return body-DotAsia RegacyAddress Subject-Word X-Mailer-Outlook-Forged body-Decdo echo -n "${SPAM}.value " grep ^Message- /var/spool/procmail/spam.${SPAM}.log | wc -ldone

• –• – 88

•• – • – • •

#echo presentations

Add a comment

Related presentations

Related pages

ペロペロ データベース 33

詳しくは、私の Slideshare の投稿をご覧下さぃ。 Let's begin resource monitoring with munin 2011 1209 zem_distribution.
Read more

ペロペロ データベース 52 - degu.ozumi.xyz

Let's begin resource monitoring with munin 2011 1209 zem_distribution. Resha Valentine 日記「ペロペロシタイゼララフェル!
Read more

Muninを(^ω^)ペロペロするスクリプト ...

先日、GitHub に Munin のデータを取得する CLI を公開しました。 ... Let’s begin resource monitoring with munin 2011 1209 zem ... 2011 ...
Read more

resource monitor 94

2011年12月12日 ... Munin ... おまけ でMuninのインストール方法。 Let's begin resource monitoring with munin 2011 1209 ...
Read more

mailer leads llc 5

Let's begin resource monitoring with munin 2011 1209 ... - Slideshare MailerLeads | Lead Generation Direct Mail Campaigns lead generation direct mail ...
Read more