Git Product home page Git Product logo

Comments (4)

driesvints avatar driesvints commented on July 30, 2024 1

Thanks @tobiasvielmetter!

from pulse.

jessarcher avatar jessarcher commented on July 30, 2024

Interesting idea. We'd wanted to do something similar, but our thought was to create a shell script (or something similar that would be easy to run on a server without PHP) that would run directly on the server being monitored. Your approach is probably easier to set up, but I'm not sure how I feel about continually shelling into a remote server every 15 seconds.

Have you considered creating a package?

from pulse.

tobiasvielmetter avatar tobiasvielmetter commented on July 30, 2024

Ah yes, the shell script approach is a good idea to reduce the amount of ssh requests and to deal with different architectures better. This was just the easiest way to get this working based on the existing server recorder and it does work fine for my current setup. Piping a shell script into the ssh command might also do the trick, so no script installation on the remote server is required (cat server-stats.sh | ssh 1.2.3.4).

Yes, unless you are working on a much better approach, I'd create a package for this. I guess my idea was to drop it here first to see what the response is.

from pulse.

tobiasvielmetter avatar tobiasvielmetter commented on July 30, 2024

I have created a package with the current code https://github.com/wrklst/pulse-remote-server.git
I will work on the package as time permits to improve the performance / reduce the ssh commands etc.
Feel free to close this if you don't see the need to further discuss here. Thanks so much for your input and this Laravel Pulse!

from pulse.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.