7 years ago
Three hosts, one service check?
Hi,
I have a datasource that uses a regex to pull values out of some JSON and graphs numerous values. This runs on multiple hosts and the host goes critical if a particular value hits 0.
...
On 6/20/2018 at 9:47 PM, Kerry DeVilbiss said:@Tom S-L - using our internal website checks (with multiple collectors as checkpoints,) you could check the JSON path for that specific datapoint to make sure that '0' is not present - and alert if it is in fact found (on a certain number of collectors of those you have specified.) For example
I think that should work for the use case you've outlined. And just in case it's helpful, here's a set of links to the more advanced creation of scripted internal website checks:
- Documentation for Executing Internal Web Checks via Groovy Scripts
- Documentation on Groovy HTTP Access
- Documentation on Web Checks with Form-Based Authentication
- Blog post on Scripted Internal Website Checks
Cheers,
Kerry
Thanks Kerry, this is a good start.
As stated I need to check datapoints from multiple servers and alert if, say, 2/3 had an issue. If I can pass the result on to more steps then this will work as a website check.