Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to install ood-jobstats-helper #19

Open
dai542 opened this issue Dec 31, 2024 · 3 comments
Open

How to install ood-jobstats-helper #19

dai542 opened this issue Dec 31, 2024 · 3 comments

Comments

@dai542
Copy link

dai542 commented Dec 31, 2024

How can I install ood-jobstats-helper? My OOD version is 3.0.1, and the jobstats command-line tool is already functioning properly.

@plazonic
Copy link
Collaborator

plazonic commented Jan 9, 2025

Hullo,

we install it by dropping it in /var/www/ood/apps/sys/jobstats. I.e. we copy contents of ood-jobstats-helper/ into that location. The app presupposes that you already have grafana installed, with our (or compatible) dashboard, and that then OOD is configured with those grafana details (host, dashboard id, orgid).

One warning - I just updated jobstats/ood-jobstats-helper with a current version of the helper app - one compatible with 3.1 OOD. You may have to pull an older version of it from a previous commit - e.g. c7b15f5.

Let me know if you need further details as far as prereqs.

JP

@dai542 dai542 closed this as completed Jan 22, 2025
@dai542 dai542 reopened this Jan 22, 2025
@dai542
Copy link
Author

dai542 commented Jan 22, 2025

THKS.
For CentOS 7, I followed these steps for installation

scl -l | grep ruby
scl enable rh-ruby30 bash
ruby -v
cd /var/www/ood/apps/sys/ood-jobstats-helper
rm -rf vendor/bundle Gemfile.lock
gem install bundler -v 2.2.22
scl enable rh-ruby30 -- bundle install

I have also made some modifications:

  • Adjusted permissions to ensure that users can only input their own job IDs. However, this information is still visible on the Grafana dashboard.
Image
  • Displayed critical panels directly in OOD, such as CPU usage and memory usage, so users don’t need to open Grafana to view them.
Image

@plazonic
Copy link
Collaborator

I didn't realize you were on older version of OOD/OS - I updated the README.md with your suggestion, in case someone else hits this problem. Thanks!

As far as other suggestions why don't you submit it, either as a pull or attach a patch and we'll take a look.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants