On 16 Apr., 14:46, "Alec Thomas" <[EMAIL PROTECTED]> wrote:
> On 4/16/07, Ralf G. R. Bergs <[EMAIL PROTECTED]> wrote:
>
> > Of course such a check can't be perfect, but I imagine the check could
> > perform some SELECTs on the database and verify whether certain
> > required data is present, and return OK|NOT-OK in this case.
>
> I'd suggest fetching the timeline RSS feed. That will test
> functionality at a basic level of most of Trac's modules.
>
> If it errors out, Trac is dead. If it returns a valid RSS feed, Trac
> is (probably) alive.

Thanks for suggesting this.

In the meantime I have implemented a somewhat simpler solution: Create
a Wiki page that contains a known unique string, request that page
from within Nagios and check whether the unique string is present.

I guess your method checks even more Trac functionality, but it's also
harder to implement that check in Nagios (for me anyway, I'm sort of a
Nagios newbie.) Maybe I will implement your solution if I have more
time at hands, but for now my cheap-o solution must do.

Thanks!


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to