-
Notifications
You must be signed in to change notification settings - Fork 2
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
issue #30 - create cache dirs for local checks and plugins if required #31
Conversation
don't know how else but here goes. after those modifications it seems to work.
|
hmm.. moved stuff around now it isn't working anymore.. will get back to you. |
Sorry @crpb |
Now the playbook should work with a simplified declaration like opn_check_mk_local_checks:
- 600/crash_status.py
- 600/firmware_status.py
- 600/pkg_audit.py
- 600/pkg_check.sh
- 600/check_powerunit.sh
- gateways_status.py
- pfctl_status.sh
opn_check_mk_plugins:
- 60/wireguard no need to add the directories first, they should be created |
the filter |
The current problem was the lookup of the files in the root of ./files/ and not in a subdirectory. /ó\ nevermind that.... wrong terminal for results.. |
I could implement something like a |
It was just a thought as you might have hosts that should run the check every half hour and others that are fine if that is run like only once a day. |
sounds like a reasonable scenario have a look at 52b3618 and let me know if it fits you needs |
|
Thank you @crpb 👍 In general: looks like we have very similar scenarios ... opnsense in combination w/ checkmk, wireguard etc. |
Sure. if you have irc, i'm on OFTC as cb and Libera as crpb. |
relates to issue #30