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

check_drbd: /proc/drbd is removed #2

Open
megabert opened this issue Mar 17, 2016 · 2 comments
Open

check_drbd: /proc/drbd is removed #2

megabert opened this issue Mar 17, 2016 · 2 comments

Comments

@megabert
Copy link

Hi,

just want to let you know that /proc/drbd is deprecated as of now and will no longer show resource information in drbd9, according to the documentation:

https://drbd.linbit.com/en/doc/users-guide-90/s-check-status#s-proc-drbd

A possible alternative for the agent part cat /proc/drbd would be...

resources= $(drbdsetup status| grep -E '^[^[:space:]]' | awk '{print $1}')

for res in $resources; do
drbdsetup status $res --statistics --verbose
done

@megabert
Copy link
Author

We are just a fork of check_mk repository, we are not check_mk team

Oops. Wrong place here...

@palli
Copy link

palli commented Mar 20, 2016

Unfortunately I am not running any drbd instances anymore so I have nothing
to update or test against. Are you up for patching the script and sending a
pull request to github.com/opinkerfi/nagios-plugins ?

On Thu, Mar 17, 2016 at 12:37 PM, megabert [email protected] wrote:

We are just a fork of check_mk repository, we are not check_mk team

Oops. Wrong place here...


You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
#2 (comment)

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