Ask Your Question
0

List available MCollective agents

asked 2014-10-13 18:04:15 -0600

banjer gravatar image

Is it possible to list all the available agents/plugins from the mco client? I've tried mco help and mco help rpc, but none of them list the available agent commands.

For example, I have the filemgr plugin installed, which is called like:

mco rpc filemgr status file=/etc/puppet/puppet.conf

However, mco help rpc doesn't list it or any agents for that matter. I know an agent being present on the admin client node doesn't mean it will be available on the servers, but I'm surprised there isn't a listing somewhere. Thanks.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2014-10-14 07:12:16 -0600

rnelson0 gravatar image

You want 'mco plugin doc' (from here). You should see something like this:

[rn7284@puppet ~]$ mco plugin doc
Please specify a plugin. Available plugins are:

Agents:
  puppet                    Run Puppet agent, get its status, and enable/disable it
  rpcutil                   General helpful actions that expose stats and internals to SimpleRPC clients

...
edit flag offensive delete link more

Comments

perfect, thanks!

banjer gravatar imagebanjer ( 2014-10-14 07:44:41 -0600 )edit

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

Stats

Asked: 2014-10-13 18:04:15 -0600

Seen: 107 times

Last updated: Oct 14 '14