What I would do is monitor the queue using qmail-qstat or one of the other
utilities like it. Perhaps a good idea would be to check for a number of
messages you think is too high, and if the queue has the same or greater
messages within x timeframe then send the page.
Can you share some of the scripts you use for paging? We use one called
'checknet' that was written here...it does a cycle of pings across our
network, then it prioritizes which sytems, hubs, etc and pages with the ip
addresses of the non-responsive item. We are interested in moving to a
paging system that checks services, not just network 'upness'.
Samuel Daffner
Mills College ITS
On Thu, 11 Mar 1999, Greg Moeller wrote:
> We're running a fairly big Qmail site and have all essential services
> monitored with paging and such. (SMTP, POP, PING, all that)
>
> Now, what happened last night was that qmail-send got stuck.
> Everything else was working perfectly, just the Email wasn't being sent
> anywhere. The only way we noticed it was clients complaining about not
> getting any mail they knew was sent. When I checked the system, the queue was
> at over 500 Meg.
> Telling qmail-send to quit didn't help, nor did a regular kill of it, I
> eventually had to kill -9 the process. When I started it up again, all was
> fine.
>
> The question is how best to monitor that qmail-send is alive and well?
> All the processes were there, just not doing anything.
>
> Ideas anyone?
>
> Greg
>
>
>