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_drbd9.pl does not work with stacked resources #4

Open
losil opened this issue Dec 19, 2018 · 0 comments
Open

check_drbd9.pl does not work with stacked resources #4

losil opened this issue Dec 19, 2018 · 0 comments

Comments

@losil
Copy link

losil commented Dec 19, 2018

I'm working with a stacked resource on top of a synchronous resource. The stacked resource is in ansynchron sync mode.
Your script cannot handle this stacked resource and throws the state "critical".

In the command output you will find the errors. The resources are named tools, and tools-stacked.

root@linux [ /home/silvan ]
% /usr/lib64/nagios/plugins/check_drbd9.pl -d tools-stacked -l
DRBD: 1 crit, 0 okay|
-
version:    9.0.14-1 (api:2/proto:86-113)
transports: (api:16): tcp (9.0.14-1)
resources:  1
-
Use of uninitialized value in printf at /usr/lib64/nagios/plugins/check_drbd9.pl line 515.
Use of uninitialized value in printf at /usr/lib64/nagios/plugins/check_drbd9.pl line 515.
 role: (CRIT)
-
|

Can you make this running for stacked resources also?

mayasd added a commit to mayasd/nagios_check_drbd9 that referenced this issue Feb 3, 2022
If option -s is specified then we include stacked resources in resources list. See alaskacommunications#4
mayasd added a commit to mayasd/nagios_check_drbd9 that referenced this issue Feb 3, 2022
If option -s is specified then we include stacked resources in resources list. See alaskacommunications#4
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

1 participant