Ask Your Question

How to collect all json output of mco command so that i can display the output in a table

asked 2014-01-09 01:56:52 -0600

James gravatar image

I have a custom mcollective agent which performs an action and returns few data (with -v i can retrieve that as json). I activate one of my agents action using mco command on set of nodes. I want to collect this json from all the nodes and display them in a table format. How do I achieve this? I use puppet enterprise 3.0

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2018-05-02 18:59:38 -0600

binford2k gravatar image

Rather than writing your own custom tooling to display a table of MCollective output, you should use the built in reporting functionality.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2014-01-09 01:56:52 -0600

Seen: 538 times

Last updated: May 02