Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Mcollective agent allowing you to run arbitrary shell commands and get back their output

License

Notifications You must be signed in to change notification settings

chjohnst/shellcmd-agent

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

shellcmd agent for mcollective -- run arbitrary shell commands

shellcmd is licensed under the GPL, see the file COPYING for more information.

shellcmd agent is a very simple agent for running arbitrary shell commands on your mcollective machines.

Install

  • Grab it from github:

    git clone git://github.com/joemiller/shellcmd-agent.git
    
  • Copy shellcmd.rb to the mcollective agent directory on all of your mcollective-managed machines.

  • On your client machine, install the mc-shellcmd control script

  • Test it:

    mc-shellcmd 'echo i execute therefore i am'
    
    ===============================================================
    web01.dom.com exitcode: 0, output:
    I execute therefore I am
    ===============================================================
    web02.dom.com exitcode: 0, output:
    I execute therefore I am
    ===============================================================
    web03.dom.com exitcode: 0, output:
    I execute therefore I am
    ===============================================================
    db01.dom.com exitcode: 0, output:
    I execute therefore I am
    ===============================================================
    
    Finished processing 4 / 4 hosts in 221.02 ms
    

TODO

See the Issues page on github for more: http://github.com/joemiller/shellcmd-agent/issues

Author

Joe Miller, <joeym@joeym.net>, 9/13/2010

About

Mcollective agent allowing you to run arbitrary shell commands and get back their output

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
Morty Proxy This is a proxified and sanitized view of the page, visit original site.