Don't fear the penguin

Απριλίου 22, 2009

Integrating Munin with Mon

Κατηγορίες: System Administration — Tags:, — Sotiris Tsimbonis @ 1:18 πμ

Munin already integrates with Nagios .. But I didn’t find anything for mon ..

So I hacked check_munin.pl from Nagios Exchange to work with mon ..

Download munin.monitor and place it in mon.d/ of your mon installation.

Now you can monitor ANY munin value using mon.

Use something like the following in your systems_monitor.m4

watch system01
    service disk_root
        interval 5m
        monitor munin.monitor -M df -F _dev_cciss_c0d0p1 -w 90 -c 95 -H
        depend SELF:ping
        period _ANYTIME_
            alertevery 15m summary
            comp_alerts
            alertafter 3
            alert mail.alert _MY_EMAIL_
            upalert mail.alert _MY_EMAIL_
    service toomanyqueuedmails
        interval 5m
        monitor munin.monitor -M sendmail_mailqueue -F mails -w 50 -c 100 -H
        depend SELF:ping
        period _ANYTIME_
            alertevery 15m summary
            comp_alerts
            alertafter 3
            alert mail.alert _MY_EMAIL_
            upalert mail.alert _MY_EMAIL_
    service dnsresponse
        interval 5m
        monitor munin.monitor -M dnsresponse_193.92.110.1 -F avg -w 20 -c 50 -H
        depend SELF:ping
        period _ANYTIME_
            alertevery 15m summary
            comp_alerts
            alertafter 3
            alert mail.alert _MY_EMAIL_
            upalert mail.alert _MY_EMAIL_

Make sure that your MON server’s IP is allowed in munin-node.conf of your munin client.

2 σχόλια »

  1. [...] system01   service disk_root interval 5m monitor munin.monitor -M df -F _dev_cciss_c0d0p1 -w 90 -c 95 -H depend SELF:ping period _ANYTIME_ alertevery 15m [...]

    Pingback από Send mon alerts to twitter « Don’t fear the penguin — Απριλίου 28, 2009 @ 8:10 πμ

  2. [...] Integrating Munin with Mon Γράψτε ένα σχόλιο [...]

    Pingback από Munin – performance monitoring tool « Don’t fear the penguin — Ιουνίου 23, 2009 @ 9:51 πμ


Κανάλι RSS για τα σχόλια του άρθρου. TrackBack URI

Γράψτε ένα σχόλιο

Blog στο WordPress.com.