[Pacemaker] examine ping result

Jake Smith jsmith at argotec.com
Wed Oct 3 23:34:55 CEST 2012




----- Original Message -----
> From: "James Harper" <james.harper at bendigoit.com.au>
> To: pacemaker at oss.clusterlabs.org
> Sent: Wednesday, October 3, 2012 5:04:53 PM
> Subject: [Pacemaker] examine ping result
> 
> I have a ping resource defined like:
> 
> primitive p_ping_test ocf:pacemaker:ping \
>         params name="ping_test" host_list="192.168.200.253" \
>         op monitor interval="10s" timeout="60s" \
>         op start interval="0" timeout="60s"
> 
> How can I examine the result of "ping_test"?

Try something like this:

cibadmin --query --scope=status | grep "ping_test"

If that doesn't return what you are looking for try without defining a scope:

cibadmin --query | grep pingd

HTH

Jake

> 
> Thanks
> 
> James
> 
> _______________________________________________
> Pacemaker mailing list: Pacemaker at oss.clusterlabs.org
> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
> 
> Project Home: http://www.clusterlabs.org
> Getting started:
> http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
> Bugs: http://bugs.clusterlabs.org
> 
> 



More information about the Pacemaker mailing list