Hi. I have written a custom plugin script that returns "0" or "1" if a particular application I am monitoring is operating correctly. I have written this as a server side script on the Pandora server, and configured it as a plugin. I added it as a plugin server module It is receiving data correctly, but I don't understand exactly how to set the Warning and Critical thresholds ? 0 means "down" i.e alert Critical 1 means "up" i.e. Normal. I dont have a warning state. Two questions;
- I configured the module as "Generic Boolean" as that's what it is, but that gives me ranges in the warning and critical boxes. Perhaps I should configure it as "Generic String" and put "0" in the critical and warning boxes ?
- If I leave it as Boolean, how do I configure the threshold ? 0-0.5 is critical and 0.51-0.99 warning ? i.e 0 will be Critical, 1 will be Normal and Warning will be ignored. This doesn't seem to work, and the edit box rounds up 0.99 to 1.00. How do I configure the Critical thresholds for Boolean values ?
Thanks. Jon.
