This plugin is very easy to use as it provides no security there are no certificates or pre shared keys to setup. The intention is to use it in development and testing but **NOT IN PRODUCTION**
Installation
============
-----
* The source is on [GitHub](https://github.com/puppetlabs/mcollective-plugins/tree/master/security/none/).
Configuration
=============
-----
Set the following in both server and client config files:
The Ohai plugin enables mcollective to use [OpsCode Ohai](http://wiki.opscode.com/display/chef/Ohai) as a source for facts about your system.
This plugin uses a 3000 second cache for facts, after that it will reset Ohai and regenerate all the facts, this adds a few seconds or so overhead to discovery.
This plugin uses a 3000 second cache for facts, after that it will reset Ohai and regenerate all the facts, this adds a few seconds or so overhead to discovery.
This plugin is released as Apache License v2 same as the license of Ohai.
This plugin is released as Apache License v2 same as the license of Ohai.
#Installation
##Installation
If you are using MCollective 1.1.0 or newer you need the file `opscodeohai_facts.rb`. Otherwise, use `opscodeohai.rb`.
* The source for the plugin is [GitHub](https://github.com/puppetlabs/mcollective-plugins/tree/master/facts/ohai/)
#Configuration
##Configuration
You can set the following config options in the <em>server.cfg</em>
@@ -35,18 +35,18 @@ If you have Mcollective 1.1.x and newer:
* fact\_cache\_time - how long to cache for, defaults to 300
#Usage
##Usage
You should now be able to do use all your ohai facts in discovery and fact reporting.
<pre>
$ mc-facts platform_version
Report for fact: platform_version
Report for fact: platform_version
5.3 found 3 times
5.4 found 10 times
Finished processing 13 hosts in 5007.51 ms
</pre>
You can also use all these facts in your usual discovery lookups etc.
You can also use all these facts in your usual discovery lookups etc.
@@ -8,13 +8,13 @@ An agent that can be used for process management like the Unix _pgrep_, _kill_ a
**WARNING:** You should use the _kill_ and _pkill_ actions with extreme caution, you can do extensive damage to the availability of your infrastructure using these.
Installation
============
-----
* The source is on [GitHub](https://github.com/puppetlabs/mcollective-plugins/tree/master/agent/process/)
* You need to have the [sys-proctable](http://raa.ruby-lang.org/project/sys-proctable/) Gem installed
Usage
=====
-----
There is a bundled _pgrep_ utility:
@@ -24,11 +24,11 @@ There is a bundled _pgrep_ utility:
This plugin has been incorporated into the new Puppet agent, which can be found on [GitHub](https://github.com/puppetlabs/mcollective-puppet-agent#readme).
Helpers and utilities for the MCollective STOMP connector
Installation
============
-----
The source is on [GitHub](https://github.com/puppetlabs/mcollective-plugins/tree/master/agent/stomputil/)
Usage
=====
-----
###Connection Information
Connection Information:
-----------------------
The idea is that if you have a network with failover STOMP servers you might need some visibility about what is connected where, this agent and bundled utility will help you with that.
<pre>
@@ -26,7 +26,7 @@ Determining the amount of hosts matching filter for 2 seconds .... 1
@@ -39,25 +39,24 @@ You can also view all the nodes using the peer map utility.
<pre>
$ mc-peermap country
stomp1.your.net -+ 22 nodes with 16.08ms average ping [de]
stomp1.your.net -+ 22 nodes with 16.08ms average ping [de]
|-node1.your.net
<snip>
stomp3.your.net -+ 19 nodes with 123.07ms average ping [uk]
stomp3.your.net -+ 19 nodes with 123.07ms average ping [uk]
|-node10.your.net
<snip>
stomp2.your.net -+ 7 nodes with 363.30ms average ping [us]
stomp2.your.net -+ 7 nodes with 363.30ms average ping [us]
|-node20.your.net
<snip>
</pre>
Notice that I specified _country_ on the command line this causes the fact country for each STOMP server to be displayed in the output.
Reconnect:
----------
###Reconnect:
If you determined with the command above that you have nodes you'd rather reconnect to their primary STOMP server use this to disconnect and reconnect to the middleware, recreating all subscriptions and reloading all agents.
@@ -70,7 +69,7 @@ Determining the amount of hosts matching filter for 2 seconds .... 1