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

using snap with nagios, does that work? #1

Open
erik78se opened this issue Mar 22, 2022 · 8 comments
Open

using snap with nagios, does that work? #1

erik78se opened this issue Mar 22, 2022 · 8 comments

Comments

@erik78se
Copy link

I'm curious how you made nagios with with this snap as I've run into massive issues with snap + nagios

I've written about it here: https://forum.snapcraft.io/t/snapped-nagios-plugin-issues/29203

This is more of a question than an actual issue since I can't test this cgminer plugin really.

@dmp1ce
Copy link
Owner

dmp1ce commented Mar 23, 2022

I've never tested with the nagios user before or any user which doesn't have a $HOME directory in the /home. I'll do some testing and get back to you.

@dmp1ce
Copy link
Owner

dmp1ce commented Mar 24, 2022

I am going to add documentation to the README how to setup a bind mount for Snap users. That's as much as I can do for now until the Snap API is more robust for non /home users.

@erik78se
Copy link
Author

erik78se commented Mar 24, 2022 via email

@dmp1ce
Copy link
Owner

dmp1ce commented Mar 24, 2022

What didn't work for you? I was able to get sudo -u nagios check_cgminer --help to work. Previously it failed. Is that command working for you?

@dmp1ce
Copy link
Owner

dmp1ce commented Mar 24, 2022

I just tested with a real S9 miner and the cache files were created in the /home/nagios/snap directory as they should be.

@erik78se
Copy link
Author

erik78se commented Mar 24, 2022 via email

@dmp1ce
Copy link
Owner

dmp1ce commented Mar 24, 2022

If you can give me more information then I might be able to help.

@erik78se
Copy link
Author

erik78se commented Mar 24, 2022 via email

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