monit-general
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Monit and BackupPC


From: Mark Adams
Subject: Monit and BackupPC
Date: Sun, 11 Oct 2015 16:37:49 -0600

Can anybody help with an implementation of Monit for BackupPC?

So far, I've tried this with some minor variations:


## BACKUP PC
check process backuppc with pidfile "/var/log/backuppc/BackupPC.pid"
start program "/usr/sbin/service backuppc start"
stop program "/usr/sbin/service backuppc stop"
if failed host adamsmdk port 16073 proto http then restart # change if not listening locally
###

Obvdiously, the last line in which I test for backuppc is not even close as the backuppc.socket starts on a random port every time.

Can anybody shed some light on this for me?

Thanks much.

--
Mark Adams

READ CAREFULLY. By reading this email, you agree, on behalf  of your employer, to release me from all obligations and waivers arising from any and all NON-NEGOTIATED agreements, licenses, terms-of-service, shrinkwrap, clickwrap, browsewrap,  confidentiality, non-disclosure, non-compete and acceptable use policies ("BOGUS AGREEMENTS") that I have entered into with your employer, its partners, licensors, agents and assigns, in perpetuity, without prejudice to my ongoing rights and privileges. You further represent that you have the authority to release me from any BOGUS AGREEMENTS on behalf of your employer. This disclaimer may not appear on subsequent messages in this thread.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]