How to set threshold ranges for webinject check results?
Posted: Thu Apr 04, 2019 3:37 pm
Hello All!
I need to know how to set up the WARNING/CRITICAL/OK ranges for the webinject plugin.
I'm getting this metrics output from a url http://mysite.com/metrics
{"results":{"CardMigration":{"fifteenMinuteRate":2.5198877460086915E-4,"fiveMinuteRate":2.536528315894611E-9,"oneMinuteRate":1.2007435063312563E-33,"meanRate":4.944581105531638E-4,"seventyFifthPercentile":1902.842522,"nintyFifthPercentile":1902.842522,"nintyNinthPercentile":1902.842522,"nintyNinePointNinePercentile":1902.842522,"max":2403.063908,"min":1154.246251,"mean":1902.7940546531531,"median":1902.842522,"count":3},"CardMigrationFailureRate":{"fifteenMinuteRate":0.0,"fiveMinuteRate":0.0,"oneMinuteRate":0.0,"meanRate":0.0,"count":0},"ReportCredentialMigration":{"fifteenMinuteRate":7.596007032787999E-4,"fiveMinuteRate":7.521494333847917E-9,"oneMinuteRate":3.915250950752425E-33,"meanRate":0.0013209614260733997,"seventyFifthPercentile":338.641369,"nintyFifthPercentile":338.641369,"nintyNinthPercentile":338.641369,"nintyNinePointNinePercentile":338.641369,"max":2028.339908,"min":8.363896,"mean":225.19234794089795,"median":328.545247,"count":8}
What I need to do is to set my alarms for some of this values:
For example:
CardMigration.meanRate needs to be lower than 1000 to be OK, greater than 1000 to be CRITICAL.
CardMigrationFailureRate.mean rate needs to be lower than CardMigration.meanRate to be OK, greater than CardMigration.meanRate to be CRITICAL
Overall what I have to monitor is the values like meanRate (also there are more meanRate values in metrics url) to be lower/higher than an specific number
I need to know how to set up the WARNING/CRITICAL/OK ranges for the webinject plugin.
I'm getting this metrics output from a url http://mysite.com/metrics
{"results":{"CardMigration":{"fifteenMinuteRate":2.5198877460086915E-4,"fiveMinuteRate":2.536528315894611E-9,"oneMinuteRate":1.2007435063312563E-33,"meanRate":4.944581105531638E-4,"seventyFifthPercentile":1902.842522,"nintyFifthPercentile":1902.842522,"nintyNinthPercentile":1902.842522,"nintyNinePointNinePercentile":1902.842522,"max":2403.063908,"min":1154.246251,"mean":1902.7940546531531,"median":1902.842522,"count":3},"CardMigrationFailureRate":{"fifteenMinuteRate":0.0,"fiveMinuteRate":0.0,"oneMinuteRate":0.0,"meanRate":0.0,"count":0},"ReportCredentialMigration":{"fifteenMinuteRate":7.596007032787999E-4,"fiveMinuteRate":7.521494333847917E-9,"oneMinuteRate":3.915250950752425E-33,"meanRate":0.0013209614260733997,"seventyFifthPercentile":338.641369,"nintyFifthPercentile":338.641369,"nintyNinthPercentile":338.641369,"nintyNinePointNinePercentile":338.641369,"max":2028.339908,"min":8.363896,"mean":225.19234794089795,"median":328.545247,"count":8}
What I need to do is to set my alarms for some of this values:
For example:
CardMigration.meanRate needs to be lower than 1000 to be OK, greater than 1000 to be CRITICAL.
CardMigrationFailureRate.mean rate needs to be lower than CardMigration.meanRate to be OK, greater than CardMigration.meanRate to be CRITICAL
Overall what I have to monitor is the values like meanRate (also there are more meanRate values in metrics url) to be lower/higher than an specific number