> ----- Original Message -----
> > From: "James Harper" <james.har...@bendigoit.com.au>
> > To: pacemaker@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"
> 

Yes that worked, although it's a little noisy. grepping additionally for 
"nv_pair" trimmed out the rest of the data.

Is there nothing that I can use to just get the value that I could use in a 
shell script or something? eg:

magic_get_value_prog --node=node1 --nvpair=ping_test

thanks

James

_______________________________________________
Pacemaker mailing list: Pacemaker@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

Reply via email to