good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
Sparrow - script manager. One can easily create and distributes scripts using Sparrow/Outthentic tool chain. Here are some examples. ( You may find a detailed information at Sparrow docs ) # install sparrow $ cpanm Sparrow # create useful script $ cat story.bash /etc/init.d/nginx status # tell me if nginx server is running $ touch story.check # upload script to SparrowHub repository $ cat sparrow.json { "name" : "nginx-check", "version" : "0.0.1", "description" : "nginx check script" } $ sparrow plg upload # run sparrow script at other host $ ssh 192.168.0.1 $ sparrow plg install nginx-check $ sparrow plg run nginx-check p> nginx-check at 2017-03-23 23:00:27 ● nginx.service - A high performance web server and a reverse proxy server Loaded: loaded (/lib/systemd/system/nginx.service; enabled) Active: active (running) since Thu 2017-03-23 23:00:20 MSK; 6s ago Process: 10062 ExecStart=/usr/sbin/nginx -g daemon on; master_process on; (code=exited, status=0/SUCCESS) Process: 10060 ExecStartPre=/usr/sbin/nginx -t -q -g daemon on; master_process on; (code=exited, status=0/SUCCESS) Main PID: 10064 (nginx) CGroup: /system.slice/nginx.service ├─10064 nginx: master process /usr/sbin/nginx -g daemon on; master_process on └─10065 nginx: worker process ok scenario succeeded STATUS SUCCEED Interested? You may know more - other plugins ready to use, tasks, cron jobs, check lists, YAML/JSON/Config::General configuration, other languages support and even more! Follow https://sparrowhub.org In reply to Sparrow - your own script manager by melezhik
|
|