Ad Widget

Collapse

Process Monitoring: Send & Receive Email

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • bytesize
    Member
    • Aug 2005
    • 71

    #1

    Process Monitoring: Send & Receive Email

    Hi guys,

    I was wondering if anyone has managed to monitor the entire process of email sending and delivery with Zabbix?

    I have a QMail / Vpopmail linux mailserver with both SMTP and POP on the same server. I have simple checks running to make sure the services are up, but I still don't know if something like SpamAssassin dies and maildelivery is not happening.

    Would it be possible to send an email to a mailbox on the server, then get Zabbix to check it arrives? Does anyone have any better thoughts on monitoring this process?

    Thanks in advance!

    John
  • elkor
    Senior Member
    • Jul 2005
    • 299

    #2
    well you could see if the process is running simply by checking the list for it and have zabbix check for it as a userparameter

    i.e. ps -ef | grep -v grep | grep spamassasin | wc -l

    would return a nonzero reply if it were running.

    or... you could also just use proc_cnt[spamassasin] ;-)

    personally I would write a script that counted items in the various queue directories and dumped those values to a status file; then set up a userparameter(s) that parses that file. That way you also gain historical information about queue size etc and you can set a trigger if there are too many items in the queue.

    Comment

    • infinity
      Junior Member
      • May 2005
      • 7

      #3
      Check on email return

      Hi There

      This is similar to the same check, however we want to check that an email is received.

      We have a system where an automatic response is returned on each mail that is received. We want to have a check that will know if the automated email is received or not.

      Any ideas?

      Cheers

      Comment

      • richardh
        Junior Member
        • Dec 2005
        • 3

        #4
        Hi John,

        I have 3 perl scripts being run by CRON, one to send an email, the second script connects via POP3 and counts the emails and outputs to a text file and the third deletes the mail... though they run in the reverse order...

        Now I'm just trying to set up the vfs.file.regmatch to check for the count in the text file

        Hope this helps

        Comment

        Working...