Page MenuHomePhabricator
Paste P8967

(An Untitled Masterwork)
ActivePublic

Authored by ema on Aug 23 2019, 6:56 AM.
06:56:36 ema@icinga1001.wikimedia.org:~
$ /usr/lib/nagios/plugins/check_prometheus_metric.py --url 'http://prometheus.svc.eqiad.wmnet/ops' -w '2' -c '2' -m 'ge' 'scalar(trafficserver_restart_count{instance=~"cp1076:.*",layer="backend"})'
(C)2 ge (W)2 ge 1
06:56:38 ema@icinga1001.wikimedia.org:~
$ echo $?
0

Event Timeline

ema created this paste.Aug 23 2019, 6:56 AM