[TYPO3-caretaker] Another new test?

Martin Ficzel martin.ficzel at gmx.de
Mon May 17 12:46:04 CEST 2010


Am 17.05.10 09:19, schrieb Tommy Mühle:
> Hi,
>
> its posible to check the current typo3-db-connection from a instance
> with internal caretaker functions? Or only about own scripts?
>
> Regards, Tommy

Hi Tommy,

what do you want to monitor excatly? CaretakerInstance brings a lot of test methods and 
most of them will fail if there is no db-connection. So you will get an error if the db 
does not respond. At least if you use tests like "unwanted BE-Accounts" which are 
performing DB-Queries. But also a simple http-test for the root page should detect this 
error because it wo'nt return state 200. Or do you want to monitor the db-performance and 
load.

Regards, Martin

PS: Another option is the caretaker_rsml extension which calls a given url and takes the 
status and message from the xml result. So you can implement your own tests very simple in 
any language you like. The xml format is not yet documented but simple. If you want to use 
this i could write some lines in the wiki.



More information about the TYPO3-project-caretaker mailing list