>>>>> On Fri, 5 Apr 2019 09:22:33 -0400, Phil Stracchino said:
> 
> On 4/5/19 8:54 AM, Kern Sibbald wrote:
> > Hello Martin,
> > 
> > I added the Ping explicitly so that program such as Nagios could "ping" 
> > the FD.  I have never tried or used it myself, but it should work, and I 
> > think there is a nagios program in the src/examples directory that does 
> > so.  The main consideration is that the Ping must be sent using Bacula 
> > communications protocol.
> 
> Is there a document specifying the protocol that I can refer to in order
> to update checkhost to use it?

Try this:

$ perl -e 'print pack("N/a","Ping")' | nc localhost 9102
2000 Ping OK

__Martin


_______________________________________________
Bacula-devel mailing list
Bacula-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-devel

Reply via email to