monit-general
[Top][All Lists]
Advanced

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

Re: Monit and BackupPC


From: Martin Pala
Subject: Re: Monit and BackupPC
Date: Tue, 13 Oct 2015 13:30:34 +0200

I don’t use BackupPC, but it seems that you can set fixed port according to 
their documentation:

        $Conf{ServerPort}

Monit also supports unix sockets, which seems to be supported by BackupPC too.

Regards,
Martin


> On 12 Oct 2015, at 03:45, Mark Adams <address@hidden> wrote:
> 
> 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.
> --
> To unsubscribe:
> https://lists.nongnu.org/mailman/listinfo/monit-general




reply via email to

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