check_mk icon indicating copy to clipboard operation
check_mk copied to clipboard

check_drbd: /proc/drbd is removed

Open megabert opened this issue 9 years ago • 2 comments

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 avatar Mar 17 '16 11:03 megabert

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

Oops. Wrong place here...

megabert avatar Mar 17 '16 11:03 megabert

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 https://github.com/opinkerfi/check_mk/issues/2#issuecomment-197838769

palli avatar Mar 20 '16 12:03 palli