Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: Sparrow - your own script manager

by FreeBeerReekingMonk (Deacon)
on Mar 26, 2017 at 22:31 UTC ( [id://1186016]=note: print w/replies, xml ) Need Help??


in reply to Sparrow - your own script manager

I gave it a spin, but it did not work for me (Debian)

fbrm@host:~$ sparrow plg install http-status
public@http-status is uptodate (0.0.2)
Installing modules using /home/fbrm/sparrow/plugins/public/http-status/cpanfile
Complete! Modules were installed into /home/fbrm/sparrow/plugins/public/http-status/local

fbrm@host:~$ sparrow plg run http_status
unknown plugin at /home/fbrm/perl5/lib/perl5/Sparrow/Commands/Plugin.pm line 245.
Sparrow::Commands::Plugin::run_plugin("http_status") called at /home/fbrm/perl5/bin/sparrow line 38
fbrm@host:~$

feels very useful, if you can make your own hub, you could use it to pull monitoring to each machine, if required.

fbrm@host:~$ sparrow plg remove http_status
plugin is not installed at /home/fbrm/perl5/lib/perl5/Sparrow/Commands/Plugin.pm line 365.
fbrm@host:~$ sparrow plg install http_status
unknown plugin at /home/fbrm/perl5/lib/perl5/Sparrow/Commands/Plugin.pm line 198.
Sparrow::Commands::Plugin::install_plugin("http_status") called at /home/fbrm/perl5/bin/sparrow line 38

fbrm@host:~$ sparrow plg show http_status
unknown plugin at /home/fbrm/perl5/lib/perl5/Sparrow/Commands/Plugin.pm line 320.
fbrm@host:~$

any recovery from this? (apart from the rm -rf and reinstalling sparrow itself)

Replies are listed 'Best First'.
Re^2: Sparrow - your own script manager
by melezhik (Monk) on Mar 27, 2017 at 07:36 UTC
    Hi ! Look like you had a typo. You installed http-status ( right name ) , but run http_status , so this way should be fine : $ sparrow plg run http-status --param url=sparrowhub.org
      d'oh! Thanks for pointing that out!

      Thing I see so far:

      sparrow plg man needs an alias: sparrow plg help (and a info alias... for the ones that do not use man anymore)

      Trying to get tasks working. Need to read the manual first...

        Hi! Do you mean you want just alias for plg man command? for people used to use info or help? like:
        $ sparrow plg help http-status
        $ sparrow plg info http-status
        

        Please, pay attention that plg man command just print out README.md file shipped with plugin distribution and has no connection with real linux "man" command ...

        good! let me know if you need any help.
Re^2: Sparrow - your own script manager
by melezhik (Monk) on Mar 27, 2017 at 08:49 UTC
    "feels very useful, if you can make your own hub, you could use it to pull monitoring to each machine, if required."

    Yeah, I think one day I will release SparrowHub::Repository to make it possible host sparrow plugins in intranet, meanwhile you may use so called private sparrow plugins feature to host sparrow plugins on remote git repositories ... Let me know if it helps. Thanks
Re^2: Sparrow - your own script manager
by melezhik (Monk) on May 16, 2017 at 14:27 UTC
    On "make your own hub, you could use ... " - the very simple implementation of it, based on remote git repositories, available to test, please see this post - http://perlmonks.org/?node_id=1190375

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1186016]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (6)
As of 2024-04-16 08:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found