Open megabert opened 8 years ago
We are just a fork of check_mk repository, we are not check_mk team
Oops. Wrong place here...
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 notifications@github.com 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
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