On 10/12 09:41 , Holger Parplies wrote: > > Hmm, the stock monitrc file provides the following suggestion among others: > > # if failed url http://user:passw...@www.foo.bar:8080/?querystring > > # and content == 'action="j_security_check"' > > > > So perhaps monit could log into the BackupPC host and check one of bpc's > > output pages for certain content. > > The problem with that is that it checks for a running web server, not a > running BackupPC daemon (well, unless the requested web page in turn tries to > contact the server, in which case you'd have to parse the result out of the > web page).
The reason I suggested the above check is that it appears to parse content out of a web page. This could be configured to look for a text string that only appears when BackupPC is running. Monit is capable of just doing a simple test to see if a webserver is listening or even if just a TCP port is listening, but this test is more involved than those. -- Carl Soderstrom Systems Administrator Real-Time Enterprises www.real-time.com ------------------------------------------------------------------------------ _______________________________________________ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List: https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki: http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/