>> Info on how to configure munin for courier is very difficult to find >> online. I currently get the following:
UPDATE: I have the courier plugin for munin executing without errors now but all values always come back as zero: # munin-run courier_imaplogin connection.value 0 disconnected.value 0 login.value 0 logout.value 0 Does anyone have this plugin working? - Grant >> # 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 ------------------------------------------------------------------------------ See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk _______________________________________________ Courier-imap mailing list Courier-imap@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-imap