MailScanner & Zenoss

UxBoD uxbod at splatnix.net
Mon Oct 1 12:37:18 IST 2007


Hi Jules,

Still working on it, but no answer as of yet :(

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: "Julian Field" <MailScanner at ecs.soton.ac.uk>
To: "MailScanner discussion" <mailscanner at lists.mailscanner.info>
Sent: Monday, October 1, 2007 11:50:18 AM (GMT) Europe/London
Subject: Re: MailScanner & Zenoss

But can't it handle the situation in the same way it handles sendmail? 
Surely they have exactly the same problem there, as it changes its $0 too.

UxBoD wrote:
> Hi Jules,
>
> The problem is that it sees each description as a seperate process.  Zenoss automatically adds each one to the process list, and when it changes description it thinks that MailScanner has crashed/stopped :(
>
> 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: "Julian Field" <MailScanner at ecs.soton.ac.uk>
> To: "MailScanner discussion" <mailscanner at lists.mailscanner.info>
> Sent: Saturday, September 29, 2007 2:04:11 PM (GMT) Africa/Casablanca
> Subject: Re: MailScanner & Zenoss
>
> 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
>
>   

Jules

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

Need help customising MailScanner?
Contact me!
Need help fixing or optimising your systems?
Contact me!
Need help getting you started solving new requirements from your boss?
Contact me!

PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654


-- 
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

-- 
MailScanner mailing list
mailscanner at lists.mailscanner.info
http://lists.mailscanner.info/mailman/listinfo/mailscanner

Before posting, read http://wiki.mailscanner.info/posting

Support MailScanner development - buy the book off the website! 

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



More information about the MailScanner mailing list