Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Paste
P7791
servers that were too hot in the hour of 1700, Nov 12 2018, summarized
Active
Public
Actions
Authored by
CDanis
on Nov 12 2018, 5:53 PM.
Edit Paste
Archive Paste
View Raw File
Subscribe
Mute Notifications
Award Token
Flag For Later
Tags
None
Referenced Files
F27201173: servers that were too hot in the hour of 1700, Nov 12 2018, summarized
Nov 12 2018, 5:53 PM
2018-11-12 17:53:31 (UTC+0)
Subscribers
None
cdanis@neodymium:~$ sudo cumin 'mw1*' '[ $(grep "trip temperature" /var/log/syslog | grep "Nov 12 17:" | wc -l) -ge 10 ] && echo too hot || echo ok'
122 hosts will be targeted:
mw[1221-1235,1238-1258,1261-1290,1293-1348].eqiad.wmnet
Confirm to continue [y/n]? y
===== NODE GROUP =====
(96) mw[1228,1230,1239,1249-1250,1252,1254,1256-1258,1261-1290,1293-1348].eqiad.wmnet
----- OUTPUT of '[ $(grep "trip t...o hot || echo ok' -----
ok
===== NODE GROUP =====
(26) mw[1221-1227,1229,1231-1235,1238,1240-1248,1251,1253,1255].eqiad.wmnet
----- OUTPUT of '[ $(grep "trip t...o hot || echo ok' -----
too hot
================
Event Timeline
CDanis
created this paste.
Nov 12 2018, 5:53 PM
2018-11-12 17:53:31 (UTC+0)
Log In to Comment