Forum Discussion
There is, as the saying goes, more than one way to skin a cat. Or alert on a load balancer.n
nAnother way would be to add a virtual datapoint that returns the Services UP, if the state = up, but returns a static value that will not trigger the threshold if state = out of service.n
nSo youd add a complex datapoint to the datasource, and define it with an expression like:n
nif(eq(state,7),ServicesUp,100)n
nThis means if state = 7 (the service is up), then return the value of ServicesUp (a simple datapoint defined elsewhere in the datasource).n
nElse return the value of 100.n
nSo if the LBVS is not up, it will return 100.n
nThus if you set you thresholds to < 4 2 1n
nyoud get warning if less than 4 associated services were up for a LBVS; error if less than 2, and critical if less than 1. If the LBVS is not up, the value returned would be 100 - which would not trigger the alert.
Related Content
- 9 months ago
- 6 months ago
- 2 years ago
- 9 months ago