Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Paste
P8966
(An Untitled Masterwork)
Active
Public
Actions
Authored by
•
ema
on Aug 23 2019, 5:06 AM.
Edit Paste
Archive Paste
View Raw File
Subscribe
Mute Notifications
Award Token
Flag For Later
Tags
None
Referenced Files
F30075510: raw.txt
Aug 23 2019, 5:06 AM
2019-08-23 05:06:37 (UTC+0)
Subscribers
None
root@icinga1001:~# /usr/lib/nagios/plugins/check_prometheus_metric.py --url 'http://prometheus.svc.eqiad.wmnet/ops' -w '1' -c '1' -m 'gt' 'scalar(trafficserver_restart_count{instance=~"cp1076:.*",layer="backend"})'
usage: check_prometheus_metric.py [-h] [--url URL] [--timeout SECONDS] -c
FLOAT -w FLOAT [-m METHOD] [--nan-ok]
[--debug]
query [query ...]
check_prometheus_metric.py: error: Thresholds not consistent with method: 1.0 gt 1.0
Event Timeline
•
ema
created this paste.
Aug 23 2019, 5:06 AM
2019-08-23 05:06:37 (UTC+0)
Log In to Comment