> Info on how to configure munin for courier is very difficult to find
> online.  I currently get the following:
>
> # munin-run courier_
> File /var/log/mail.log cannot be read.
>
> (I use metalog.)

I realized that I can use perldoc to get config info on munin plugins
and now I've configured the courier_ plugin like so:

[courier_]
env.logfile /var/log/mail/current
env.service imaplogin

Now I get:

# munin-run courier_
File /var/log/mail/current cannot be read.
connection.value 0
disconnected.value 0
login.value 0
logout.value 0

# ls -l /var/log/mail/current
-rw-r--r-- 1 root root 384278 Jun 19 02:58 /var/log/mail/current

# ls -l /var/log/
drwx------ 2 root    root       4096 Jun 19 01:48 mail

the postfix_* munin plugins can read the same file just fine.  Any ideas?

> # munin-run courier_mta_mailqueue
> Cannot cd to /var/lib/courier/msgq/
>
> (No such directory.)
>
> # munin-run courier_mta_mailstats
> delivered.value U
> # munin-run courier_mta_mailvolume
> volume.value U

I realize now that since I use postfix, the courier_mta_* plugins don't apply.

- Grant

------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Courier-imap mailing list
Courier-imap@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-imap

Reply via email to