check_wmi_plus options
Posted: Fri Dec 13, 2019 1:13 pm
Hello,
I am in the process of implementing the check_wmi_plus plugin for agentless active checking, and I was wondering if anyone here could help me with a couple of things.
Having read through the documentation at https://github.com/speartail/checkwmipl ... README.txt, there are two things I'm unsure of how to do that I'd like to be able to:
1) Boolean "and" for the warning/critical criteria. They give an example of how to use an inclusive "or" in lines 231 to 241 of the README file, but I'm not sure if they have a way to do this.
2) Pass arguments to the actual WMI check getting executed. I was wondering if it's possible (probably not, but worth the ask) to pass arguments like -filter "DriveType=3" to the wmi commands being run by the check.
Just wondering if anyone's had experience with these. If these aren't possible without extensive modification, I might just make my own checks using WMIC.
Thank you very much.
I am in the process of implementing the check_wmi_plus plugin for agentless active checking, and I was wondering if anyone here could help me with a couple of things.
Having read through the documentation at https://github.com/speartail/checkwmipl ... README.txt, there are two things I'm unsure of how to do that I'd like to be able to:
1) Boolean "and" for the warning/critical criteria. They give an example of how to use an inclusive "or" in lines 231 to 241 of the README file, but I'm not sure if they have a way to do this.
2) Pass arguments to the actual WMI check getting executed. I was wondering if it's possible (probably not, but worth the ask) to pass arguments like -filter "DriveType=3" to the wmi commands being run by the check.
Just wondering if anyone's had experience with these. If these aren't possible without extensive modification, I might just make my own checks using WMIC.
Thank you very much.