I am trying to get mailping to work. When finished, I want it to be able to produce graphs in Munin for our three mail servers. At the moment, I am trying out the new-to-be-put-in-production-soon server: mail2a
I am monitoring it from a server (archive.sun.ac.za) which is not part of the mail gateway. I have the following in /etc/mailping: /etc/mailping/mail2a /etc/mailping/mail2a/admin /etc/mailping/mail2a/failtime /etc/mailping/mail2a/interval /etc/mailping/mail2a/to /etc/mailping/mail2a/from and 'to' contains [EMAIL PROTECTED] with 'from': [EMAIL PROTECTED] In /etc/aliases on mail2a I have: mailping: [EMAIL PROTECTED] The following exists in /var/lib/mailping |-- Maildir [error opening dir] `-- state `-- mail2a |-- failtime |-- incoming |-- pending |-- success `-- warntime 5 directories, 3 files 14:15:00 [EMAIL PROTECTED]:/var/lib/mailping$ sudo tree . . |-- Maildir | |-- cur | |-- new | `-- tmp `-- state `-- mail2a |-- failtime |-- incoming |-- pending |-- success `-- warntime 8 directories, 3 files When /var/lib/mailping/state/mail2a/success is a normal file, the error message is: $ sudo munin-run mailping-success fetch Traceback (most recent call last): File "/etc/munin/plugins/mailping-success", line 69, in ? dump() File "/etc/munin/plugins/mailping-success", line 61, in dump success = fileutil.getTime(os.path.join(statedir, 'state', dirname, 'success')) File "/usr/lib/python2.3/site-packages/MailPing/fileutil.py", line 16, in getTime return float(l) ValueError: empty string for float() When it is a directory the error message is: Traceback (most recent call last): File "/etc/munin/plugins/mailping-success", line 69, in ? dump() File "/etc/munin/plugins/mailping-success", line 61, in dump success = fileutil.getTime(os.path.join(statedir, 'state', dirname, 'success')) File "/usr/lib/python2.3/site-packages/MailPing/fileutil.py", line 8, in getTime f=open(path) IOError: [Errno 21] Is a directory The documentation is not very clear to me. I will appreciate some help. Regards Johann -- Johann Spies Telefoon: 021-808 4036 Informasietegnologie, Universiteit van Stellenbosch "He hath not dealt with us after our sins; nor rewarded us according to our iniquities. For as the heaven is high above the earth, so great is his mercy toward them that fear him. As far as the east is from the west, so far hath he removed our transgressions from us." Psalms 103:10-12 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]