Comments (6)
@ThomDietrich I absolutely have no problem with that. As long as you provide the necessasry if variable exists => show variable code
And also when I ever have the time and energy to convert FireMotD so i saves all the information in a .json file, you help me port this if neceassry.
Fyi, I'm heavily invested in Nagios and Elasticsearch and it's on my to do to add the Nagios Core, Elasticsearch, Logstash and Kibana versions too one day.
I should start working with a dev branch by the way, but I've never done that so I'm not sure how to start. Using a dev branch and syncing it every x time to the master branch would help prevent issue like you had this week. I'm a 'bit too busy' though atm to get started with this...
from firemotd.
Hey,
sure thing! I totally get your point. With this confirmation I'll look into this hopefully soon.
Nagios is also part of my setup (although not on the systems I'm using FireMotD on) and I've worked with the ELK stack for quite some time (not anymore). Both would be great additions.
Development: You could follow methods such as git flow but honestly I think it's too heavy for the FireMotD project. You could leave out the develop branch though and work with lightweight feature-branches and GitHubs PR feature. That's how a bunch of projects I'm contributing in are organized.
Here's what I'd suggest: Whoever wants to contribute something creates a PR (including you). Other interested developers can then review this PR. If no problems arise it can be merged. @dimon222 and myself are probably good candidates to mention for review.
Regarding the json: Could you elaborate? You want to generate all information upfront (e.g. via cron) and only show it upon login?
from firemotd.
Regarding the json: Could you elaborate? You want to generate all information upfront (e.g. via cron) and only show it upon login?
Correct, this has been on my to do for quite some time. Instead of using /var/tmp/updatecount.txt i would like to write to a .json file which contains all the info. On logon, only uptime, cpu usage, cpu load, memory, swap and disk usage, sessions and processes would have to be generated. The other info would be generated once a day with cron.
The big question is if and when I'll have time for this of course...
About the git flow options, I'll think about it and experiment with the pr's a bit. Again when I find some spare time, not making any promises.. :)
from firemotd.
@ThomDietrich The new JSON configuration file should allow you to easily add custom checks which could even require sudo permissions.
from firemotd.
Amazing!
I'm still willing to do these additions and with the new config this might become easier 👍
This will take me a few more weeks to look into...
from firemotd.
@ThomDietrich I made an example with Elasticsearch version.
- Add your custom addtion to FireMotD.json in FireMotD
- Create Explore function
- Regenerate FireMotD.json
- Add conditionals to theme functions
Feel free to comment if you have any ideas making it easier
from firemotd.
Related Issues (20)
- FireMotD v9.16.180717 fails to work after upgrading from v8.08.171007 HOT 5
- Slowness of themes based on theme files HOT 3
- Orange theme not there anymore HOT 1
- Advanced info only available through the 'Original' theme HOT 10
- after upgrade turn FireMotD slow on show up HOT 13
- Makefile issue line 42 HOT 3
- Error while reading the PostgreSQL version HOT 1
- Shellcheck Compliance HOT 2
- Kibana Version cache hardcoded HOT 1
- hostname is stil hardcoded in cache
- Feature request: Temperature reporting
- Feature Request: display available memory instead of used+buffers/cache
- Auto detect dnf
- Ubuntu 20.04 HOT 9
- Unable to parse ip
- syntax error, unexpected IDENT HOT 14
- Add java information HOT 3
- Highlighting noteworthy data HOT 3
- make uninstall do not remove the cron job HOT 4
- Fedora 27 - Unable to parse ip. Please debug HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from firemotd.