MailScanner & Zenoss

Julian Field MailScanner at ecs.soton.ac.uk
Sat Sep 29 15:04:11 IST 2007


Just seen your posting on the zenoss forums about this. All the 
MailScanner process names start with
    MailScanner:
so can't you just look for that instead of a complete line?
Zenoss must have the same problem with sendmail, as that does the same 
thing I do, change the ps listing depending on what it's doing. Any 
monitoring package that can't monitor something as common as sendmail is 
surely pretty broken :-(

Jules.

UxBoD wrote:
> Steve,
>
> The problem is that even though Zenoss can use regex and detect all instances of MailScanner running, but even with the parent process changing its description line it can sometimes see it as a failure.  Basically what it is doing is grabbing the process list from the SNMP tree.
>
> May have to write a zenoss script to do it, which is a pain, as clamd, postfix etc are all okay.  Perhaps if MailScanner kept its parent process static with respect to the name ie. MailScanner and the child processes can report their own state.
>
> I would imagine that this could also occur on other monitoring systems IMHO.
>
> Regards,
>
> --[ UxBoD ]--
> // PGP Key: "curl -s https://www.splatnix.net/uxbod.asc | gpg --import"
> // Fingerprint: C759 8F52 1D17 B3C5 5854  36BD 1FB1 B02F 5DB5 687B
> // Keyserver: www.keyserver.net Key-ID: 0x5DB5687B
> // Phone: +44 845 869 2749 SIP Phone: uxbod at sip.splatnix.net
>
> ----- Original Message -----
> From: "Steve Freegard" <steve.freegard at fsl.com>
> To: "MailScanner discussion" <mailscanner at lists.mailscanner.info>
> Sent: Monday, September 24, 2007 3:23:03 PM (GMT) Europe/London
> Subject: Re: MailScanner & Zenoss
>
> UxBoD wrote:
>   
>> Hi,
>>
>> Is anybody using Zenoss to monitor MailScanner ? The issue I am having is that due to MailScanner showing its current state on the process line ie. Checking with SpamAssassin, Waiting for Messages there is no one process line to check and ensure MailScanner is running.
>>
>> Any ideas ?
>>     
>
> How about:
>
> [root at mail soaplite]# ps axf | grep `cat /var/run/MailScanner.pid` | 
> grep -v grep
>    889 ?        Ss     0:00 MailScanner: master waiting for children, 
> sleeping
>
> Cheers,
> Steve.
>   

Jules

-- 
Julian Field MEng CITP
www.MailScanner.info
Buy the MailScanner book at www.MailScanner.info/store

MailScanner customisation, or any advanced system administration help?
Contact me at Jules at Jules.FM

PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
For all your IT requirements visit www.transtec.co.uk


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
For all your IT requirements visit www.transtec.co.uk



More information about the MailScanner mailing list