prometheus-rules #62

Merged
pz2891 merged 11 commits from prometheus-rules into master 2021-09-08 10:16:04 +02:00
11 changed files with 522 additions and 219 deletions

View file

@ -1,214 +1,218 @@
$ANSIBLE_VAULT;1.1;AES256
65616665376265626636393064366339323264623332323337356438303634646361303530626536
3134646236376339666130646239626333613866383766340a366465373839396639623862636436
34336636326332313432373162356565383034636366613135353037393138363466626235353261
3634306231333966350a323133396531626565633433313761343433303964316163643365626466
33376632643937663566386232383161303231326638356338383536626531313462636335363166
35353138393964663063613331386138363030356661633530313533336138336362306437626431
34613435383966333538363734613730386634393532653334393766613262666434303666386537
33643832653236313136663761613762656334356466623431383533333563646135336332653331
39376164363533383930343237366638323534313232613561643936336330353538393136363534
37353536623939386131616638623531326531316233656166383133316564393731623366353833
31613665303532303435363765373434653933386530356433653061623232306239316534653432
39663938616637363238623866303439326666303438613066633866343830303762633233383333
65343332616430613839636337396238666466666430383031663939323239383964346638356538
65306463303330373534316438313932373864626637643935636165333835373662623737613734
36373161386163383831623065323763356637313364303539343763653065383139623934353638
34373861616336363861363761373665393465623566393063346331333861326337316363373163
31633532373966656565303866653335356364633063313665386335663863363163303431656165
61383231666665346162303635393838323462613261663231356531393734313063663231616632
30343562366433363261393037313062343036663139353431663330383263316662313330636534
33666463393664636538376365663236613536633663303738373034303136383939343039316463
38363731333435333262383064336138303062303836303735383836626430623738666635383637
36383031646561666632666339616632366138383534393030636331323037643564306363303864
33616664326330656136336538363539623039376565383166373032386230383639326564343961
39623465366233383663383433313862306366643432623130363037643033366531376163386165
64353930386233373561356530316361623665643531333632376266633963303262346532386633
34363938363765313366636134636364616634393061333264386262386261383236386532393966
62636332633165383730313365366631303032336339346138633231656165646465643039666362
39613534303532616433646433616261653739663366383566303862386666383363633736306265
65366434626634303033616463316433393730373034666463663333376633656630386665313934
36626337383236373533623830326134303931653434613837353961366130623665623336303139
63616265366638393064666166343331306530313438636436306264636235643762623564653762
65393435363564366266313161393631383836396464643635643361363034306134626535353962
63393530313438383731303666343637303666616239643334626338393864613635363330653062
31633030396362666237376232306238373065616238373934313930313234353433343934363432
35633636656632643964613431333435656532653038373532343036396136636231306436326639
36376163656634303236396133316664613164346661346565646165303664343735303233636164
38393361343561396336333133326539346561373038613265666364316630363339336565363265
64623063346232346334373836346231353336383931393663373365623838363036643232646330
37303139663166653634336363626637653666363965383632313261326530323236303961343130
39663165303836346339396536313137636462373765313135303039386339393536303263636236
31333534323735373638666364643365396435636533393932643432386630663135633839643965
34346330613132383533393361626333636132616130343266663835616534616562646366366336
38303337373331303638643639373535633331626461613862333562653165306663383237383232
63303331656338656137613162323138333661613834323863633265353737633666336263636665
34393064376330306562343930376337626165373562336630633938316566343434633734613561
39363531383233666437373562663136303834373838383632356436643638306633346434316362
63343866353465396630383562306230313737353863363935346630396134393534353531336535
65366634316230323264366662376133303565626638386635616536303839363737663538353338
32663834636363643034316165303164386430346663303635323634373465326537653132366230
38376361663233646266663330363236666533663861303365303833386465653864656331616162
66323532643737643539643562653335393338643465373838656464326133393466373733343666
39613331376538653934333061376664323230636663336232333361623136393836326262336430
35663930336364376230356537326131323666343330373030303765653763323863646631666136
39623936613762393332303763633966303966396536643236366534316539386136633230653433
65326634323062313730376338343965386338306135393033333161313839333963326134653966
66363365353537323034646537633331336134363239393465363164663263313731666335613032
61643935623064626464346430353033313961326164316637316664363830633137383335316538
31646133623461386434343663313365376230613237326638393464366166633635646462373939
31313165616363373730393733386430633065373433643935643931363965393465323264626164
65333431653566646134646132626136323035323362313163303463393962306631363631383762
63333063633934646332303966666461663566626564643365643232323732646530303834616639
63616262316563636636613764663563323063636331643063373364373337373664333763363464
31346663633866653162323934613532333934626430643138613631653164343063323661383163
36633431376463633334306663346462373166613531663064323238323434346439333936313539
33663036663234383934626661383530666566323336363734336265346235306135336136373864
38313937663965313334653139366430316632313737303639636135666235346633303861626430
34373938633331666535336438313363626636363063333265316166333562616330306563386335
65366366303937376438313032643037656465393263393434623462336430393031373433383532
66306566656437323530323434353835303838303438613662356134343136386630643338333264
30643039666535323736303930336239643730653233393538633235303938623161343437616136
34613337383363656536373737396261396261653264373362313161336435623466366436623736
61313036383063656537613664633437336361396665633764313062396265323766346363656666
33656130316566633563353631323438343532393563633830343131653063353331323961343636
38303239623566383337356262313538316437323731326166366139623665356132313563663734
34353065316164653638313439303466316338373565323435343937653632313566656438333730
62373366333335643366356438613838373963363436393035623132626233373830666238323464
33356562636261376665303262633665323830316137306239626432323330393863613938313539
33613438373733633661633266353866373834346436383466636138393736373638623136383639
38653439373230353265386166663562633738306232623132636333396135343461646136303162
36343636306333376564383764356433653362356434306566376565653736643035336433303331
38626430623633313336653261633834323430323137313533333166393966633662613561643863
65653237636436373739633862313132623831623461643063626361613231343537383032346132
61383666383134373061643061656164366364656231343434616366356237303766343166613964
36376461366663373132326263616263316663323039626239643361363362306334633636343064
66336533626562323832633133653366323137616431363566653561363233626239616262346165
30396466343639383665383762383765396638323761653065356339343965373032306136656563
31353033343532366339303331366235373838356461353564623430333561356635336163396466
38303438616436383763386538663039393862636333326630623862353732343961646162653933
35633235303530353065343434333164306530363839663366316235333563663965623934383634
32616565313232373964366163323739353261643432363037666639663664303861383033333462
62333633626263393637306365353565306636386238613365643537353861396638643065616236
63303130313363326333663936393765623930636331663837313835333862386263303238386262
35646634663163626438356536346239666461306462326465613339653337326436356638323666
38323134396238356532623430303233303636343839646436363066383136366436336536313766
33373036386465623737316435643430616434336165343832386539666432613365326664663237
61333166343438313131643635663234626638623139363034616263643463356632353932383938
61383065343231633438313536633039633266323563336531663365326137666535623230336134
34646661306330653631383364343566386531313137643233376265313461396538373132396366
66313534386133346161373130386465383139623831653566326434646461306139633433656630
64623164376361643062396139356464373131653036336361623738633263326234323066613661
31306163313038333861656561356661383436363534366665376362346661616464633065303234
61616237313434363761636261313630356639346434636465363763373235636462666338343265
34336533376366393339306539633238326663656266373965623962623665626238366333393734
35646636666535396638373134376362396134353035633566336461326630323833383734356161
62303738343662633735663965336435316630653061373736643035653337363635623863626533
31306138313839616131363333326439323863646236613133333163366162353063366561656631
61623237633361313631633463666335643935616237656134383830393335346632393066666632
66326331653430633165333037316637303138353133313264643739626566353137383265366264
38353533613863353431656665363339633265303463613565636565393836616230643932333762
30353437343761613236613431626536666538336234633166623961363031393235333763626337
65623836323538653730393533383532626133393834376339303630626533613339623666353839
38613833623830306566333035336334383733626166363239356661353965353462393161626136
37336365663863393963653031303337396666653262646635386337386230383562616564653966
34393831383639303562333464653736363330326462623266383038326561323264363563623065
30366435323961613463653636666238383632353661326439346430356134643866396531623039
66663830353732663863393762626161383263663535333032393632633066363836363939316262
30373766363637316535306538663235656137363038623936366465376636393535326437666334
30343437326362613761376262383265313264383464383838386638653065313864353235373331
62646366333137643931316339373761663731633766363864633461323266663236613231656633
31653132343031313535656538663761386266333062646439383633336531373764366166646165
64343439386336323064616634363532353166353531633332663862653666666436666564356236
62336332386437626137386566333934393636313933386466366361633232383135383066396263
38343432323865353563363631646535633438336333316134343862336666313063643036343030
62323732353837363639376564336665343265663861303938316564646533346337306338623834
62353835356465303561346337366136396664383961663237653538643462666263346638303363
32663564646333343532613861336132396530363435626361643631666464383364613336383235
64376465636238633765643234383665663637643565626663393066316538313563393730396430
36373037396264613731353337393261346534343263393862376464393565353739393431313031
61353538366439383234316530326338633635393035376335616565356630633964636639386639
63356666653532666435663564393332303234363465636335316365326365633837663930616233
61343933653232666138613866666430376439396336353535663361373564366262646663653064
31353765386537656235613131323763323930363162646236333632663034356237363231313762
39323531333264633863363163333735303636333866653763373362626265396265356564303533
31353838333337393732633961353561633430616637396235626261316433366339356239633737
64333636333566366237303231376337613539643464663839303438313532323538643738353866
38626438303033346531323836336534633732366631376665663139323037643161326561363635
34633237623537383466316433336636633962623161383338656339613139346138366132356365
38363635666234616532316333366236396639353130646234626533666133363661393038353666
38343530306239336234336463646332356462356565376463383930656561336239656465303231
61323862333032343137636434643335383163366236373161653366323139646235306564366637
31313335653732633434616436636532343037383861393931323734383964346437323933653737
39653633663064313933346231663931343163336166663662333239376634386135666230393563
34333163653935326532386662613537373161366331633737653539333161386461313638643034
62323433613164383731653534383662316364333538613433623731376234306538663766363965
64376432396361636637343539393330323835353562393031616137393363333662346332616464
32643939663266343038356539656464393665616637383030666630333834613830373837353738
63623130653465386135636635643637366231383765623761356563323061343337306538633031
66326334303539623763636362333534643431383962383539613964613531353135663463373266
37326632353861383964653430656362613930353138316566636531323733396231333361663431
66356561366634323832386437336130363535343132333436633761613731636561333039303965
33336532373764303334636461646464633866656237656466613361613131613764366339336233
38373030366130613230636365303233393631383538316230366434326137336532333261383236
64306566343964643139646438633066373261363836386361316138326362373361316536313839
39663633343330663732376230633638626533313963306266363030306431373862633833383532
36623537323532373934613962613761376463363337393666316434383463393962616366643436
34326566383666663266396165613534633464656130313535383963353238623238393837353133
66396661626432313038306362393136616166653962363736363133303835376264616561343736
38383531623733326366333661393262613335653238343235353165613339393535316236353563
35663037363935386634623064636333666135313361303837383630643665613863373931626333
36316138343462636538616466383461353639613264653831323133333262626633353766643730
63343030346536616539643832303238393539383362316137386437356630313438623436636465
35363436306634393764386362616330373732623763373064306562326337303732333733346563
63356231343165653132303338343439356666646162626639646232623064656664336133666233
36366366363264663033333731616632383438306435663631613439646466663434343931663764
36623437666232323336366363333333373430303639393761636463333135626263333066656538
35336431623265663239633963353162366534653864653530623935333137653761336234616133
61643231663033393535383063373236363538623964303435623337383031653734626461623731
62306565303739313166333663363935313362356362303066323635626638393961623138613864
33626639323030306461326232323533303131633630316437333936653839626362613162336339
39373339626238303238306363356166646532623963306438626264633961643765353434326430
65323535306566343537663632393866616239613732643032356536303764636564306630383633
66356435616237376538653539366636636533343866623764316462346634313032333636336166
33653231336563363336303936336430343137653966393530393532323563393532353434393231
38363662613161626132383266323635613165363433623630653663396562366262376634326561
66643938306331663931386535613833613761313639363038616139343966656662646432663666
63393931373738373536323631353361303366343330306565393230396332373932303866333034
35396166633165396537373638333730303730613939386663653032626439363466623231303833
63656338656435383531613734643165613536353632393535646132303034663731396631303237
64376438373538373362353766303963396639333732373266343766363534623063313138616139
39313861616164613031643934313466633431316230656566306666303932343039383737313565
66356432336663636631666138636538323238303462376330663134616365323536386234666136
63343032383465616437303437303063626335363333656166393435343834646634313435653334
31366465386238393133366364376565656639656230343161613463393931373537383564353866
31313464663531353165646665356231646634383936643539323866376631666635306334616261
39383439366664386563386133356239333133306162316466343334356631616434623363643535
38663530623063373965666530386632323034623139303839323761376638313362316430373536
62363265366537656237633663663266653631653561303965616635363438613061306362336430
35303461633864353735613330643966396230623434323132383135623331353361633134663931
33333435306635313161613930656239346461623931356430306364383937353433626435633832
64613437313464323861356338643733386432656233663333343437353935353236346561366330
32396465333833343732653136616636663736623434363765336161383433356333313135313161
33373764393265376661613465626638353636653931323162363031666262653062626166363930
39613931356338393862356537343332633635366134343037633765616634316362386335663036
32666465323538356634346662383238326663333339623430376362306534363630613337626266
39326361383435623939663163373835626439643433393839383730666166666266356361633731
33336265613531303735613239316362633538386632343836613230326164366165616265313066
35333361303734343231633930346230343432336665383337343431303031383962383366343433
63363364333063313632663765633831323863626636643862323865356461366361343563383363
33363138646366333136326435376537356338633862623531393938373935353466376266333664
31633039336362363237376266346561313064393537613832663130653761636633313562316639
36633432613931663263343861396632356136366636336163343333323661666663346365626564
32613734313663656164333537653666313033643262336239623961313638306634343666303938
62636236353161336134323430336263643038623663353965656236623465326661633766363765
35653261663335313065383266383833393431333631653363363030363939323862653262316637
62343263623037643435656165623466326365363532353434643665336632383765313937666535
37663463303034363531386465383663393534393435633764646138313962373735393334326137
61653933316435363130333335323066386532626234626534396435383061333961363739333033
61656364313963303132623837666463633066653165316633373166373161343539393132316665
37646631643265333665643262666265653339616530336361333333633939373839323264613761
62643363356431306330313761623933623333383066333364663439646536333232386232623238
62356533636632396330353430653935613965383938643638353632643865323832623737646635
32636464343734653765396236653538343463373662653733326362363330643038663766383861
34316338343064393862353364613037393231343366633364393535343965623431
34353636353331626234623838643238343237306237313336663433326164313030646263393165
3964666632653139323634663061363763656533373538660a393464333663313633393866383432
31303736366665306465333037373835383266383035626666353461623435393438303861376435
3161393136653361610a336438393566393936633637613436366634353237313363653232333263
38643566626564656635316564363362386236356164646238336265663839363430623739366266
66333233666439656561626161653336633136396565336633356630303436303234613063396238
62363437306639343236636537303363313236633765363430623865323734316531383662353763
37636439356164303730323235346362393436656333393062333566336536316131343338663630
31613063313034396162323034313562356662653266636638633665376531663932653461636363
32653061386562376237653837333239326438656630646138393362383539616339393365343435
63616462363733623930623435333435333937336538353735626161666162333337633931333338
62316638373736326432373464326266373361613864633262656432313364343366373832643865
64343866393966346534623238386437373632326632376166396630613630613365393932333066
37663162656134346564353762383961386161343064373637373634353231653137383461626666
34666365656632333764613931643266613737393032366431323764623830666131386566613535
30346631396237336332636438653339613633636662663266663235613634346162316134336533
61353361353437626231393137653464363934383233363830373961373033653336323666313836
63643638353438363661653239346530366630336661343336303836383439613462333532653263
63643437323166386230663635333130333632376661393830646365333666323239323134386636
30656266323839633237663433376136313437366264633039376165633961656137363038616534
32393330656464373739353833646232633634333937613932393834356535396464613633653334
33386231313830656562366335333162386461616331333733343163313562636232646261383135
36376131333931303566343337343539323265313931346538343539363230643030646531373134
36636364326539356533363832333661396435363365633831346664393165626330356536343961
64613935636333333331633931313266633732663430373166393362373431353363316630663235
31353936343932386665366134643962313937366634396262386434396334383332343537383163
37323235326161636339323237643366323430623136323937353665383364306436616664356662
38616466636465313330303464343665333163626231613164663030623963626634383965613135
31336632366231613062366430393636646535616134383232386334343137333138643866393633
38636161623734613862313638666562393164356536613665303839633035636330353965356163
65646530383162323630633865363334306234383466383033663762633933653162356166376138
33343832323466333132386564336636323765383839366134636433613866623830626133303434
64643066366638316633663338333335313466366433313134306239393233663233333730333138
32666133633931393961323663353565653532323837316165653536396339316364623633613137
30626636623037396438636261633939643363326136613631376139396538623932356237313637
62656337663438623666633435373564313566636538373339663731393564653264623863353032
33613639616135623735393364623439393432316632626239313837653464623563393663346163
36303764343562376337366465643434646263383133336162376166383434633436633263303263
61656536363037666230393063336263363865356465616231333966396332383434366265343434
66363732313435656164613135333762306464373133343739636266346336346261366535316230
36663433616332386166323965643436393433666264343062393463653339646264353264366663
31653331613138316138383930336163616333666161386466616566323664346263396637393735
38386462313763346164613430653133316631633261356663613738663435313963303734373364
34353332643366353930633339373962376162383239316134346561336539643737656239336230
33613662646466383434303638343362323933643831653932393030383762323539346332333961
34616338386361353362366434663365663262383835383031393430633235393631666332623261
36393231366164303165336633663565376334643864323366666434383634353031326633313266
66346234323036396562313366346661333130363434643565333763316234353733383733623839
37663761656131363932333330663638323733666333336636613264363164643230343964643061
37633264313865373732653466356639653335313236646331623932303963326364343132656464
65636665616364373538613732643938323364626166316437623166383734316662386134316233
66313430626133303461336465333532373361616334393139663233363132393265643865656561
63303734313934343636333135373164636536663935323030366563623635616535616230363061
38653362343264626432373866313363373439333331333963333765356462323762333739313061
33626365663433396562633534643630326364346135383531343063373266633635353130363166
30363735386665346661343166373034663466636335323838666465613163353039366233386562
39626462383635356230343031633666346561376462376634636236323164626537396337323337
64653163623030326435623833383136386366613764623633303732613337373732386432303737
61303530356461343339333165663161343262613434306162653563643765323837303537653963
30383964336230326336313765333832323639626131303063363030313537346463393765303132
33376633313135613832616239343939363562363132666433373966616166383836376636363630
65376266323266636430383236616338373632323134626165393961383733363365383761653538
61386365363262623665313637333761626561643530376433326531313161303733626432333866
63663762313130336535666134343961353337653034643436363263306664666562356431313433
63333034623762663630323031653363356666366538323064363866366662656466666361373938
35653562383865363437346466663963326439316531396165376439383931366132386161346364
66633334666239393336383336376130663633613161306564336131356435396639336566636131
37653763373537353635393536363531626332313461626166373763613861346433653237306636
39393435633163386164356131636530623732316538646133316365383561653061376431333431
66356561333637353537316231616133646231306462626439326462393131633562393462396132
62396337626436336230636338373439343839646266613033633930383530363932616463633538
35646230393536396330383566346138633434333063333362313139643537346236313336376463
31363335633333333262316239383735633139383332303235623430626539626466336365306465
66396336323637613036616532363963363430383737343566366162663836396132353933346534
35366565336462646364643137323864656334336635376435623561666530386334623964323136
39653365646161366330376336353931633366653832383966656639393364386438363832333934
34616536653064363739333363663233376631636134323162626333343035396265666662636230
31343931323435373964383562616333333835326238623131646433366134343830616432643866
36353363356532383963623364636363393834343132303434393331653335313938393662376534
33376565613433373864666536313439656339306532643233336137363264303638346563643932
35343838616538343262613066343665386433386339373362313533643639326136663430363135
37393734306565613566663632643639343939353361656566663431386539333136393663656262
34363537333431356363633932373736383262343336396666383237616661353763643861376537
63306133353331653833346339663062353438356162356431333336373536623439366132343930
31623736353532323230373264363163386339346563313236633061313239663962623136323962
62333166636230363333633661336539373962623337666538636565643664396132613263633461
64663430666630303562323065613838666265653438383838363561303637663931613239326639
30663533376662333162613731636665646565336465396132663165613431343332313038613335
62643030376564306335633138373937613934653738396361303064306263353566336232346639
38323266373537646334633761643933653931646439353939326536383463373666646262353362
61356230333461646435353332656564616464363539373966333535653365326330333230373539
62613335363632393335306535643862653262363031356439386639656262353662656432656331
34323431356337646238353135326332346431383535643735646562386161353164393961646264
63396161316563323537396431646561633730373930306637623438323761613935396238363965
61613339353234626565653939643139626665343439626365656165616437653234326530316464
39303433333533643439313464623531646133316563306337386261356332393435613237653632
63386439353136383265323965646538316334343661376532323461636666363630613836366233
63326465633438633564396135386137383061663264373530313330666639333236343539653734
62323637313131613839363665633163316235306536343039626166396263383332363365373936
66356135646330373162346261326531616538303566663761626639363635633064623361663463
34373937653165376262643064653738396365353532343864653836306231306566386665343963
36353066346161323733346131386466653964653961343136643039653035383864653238663265
35623565303731636164353664666636303430333933616230336330393530633032353037626339
34326664373239663330356430346531663635646161356130623733303862613964613433393334
33303735333934343964363230326634653465623465366465386639616361316139323536363261
30313531363533356636303565303265363430363530356662313838646435316439363263346165
37666463393332323066376464313339383138343235613438663464613436376237333565616563
31363936393731623562363331666433626636396136636533353435386634336363613963636162
33306233616636363432316236363665333162393133616130313530313764643738336666316639
36613263303138633039376135396266613766666261373436626333373035393863376133386162
38633333353963313433636236636339666135376530323731663761303938313764356636363963
34393035333561626564313638656266313666643166633163636630633938346661653033643832
36393632633765656661353236376432383034343766643336353236623437356638336264326364
30616161633130653131373932303337616237656633346438323832623964323332613836326365
66666666663766653865636435623562643637363134333336636231356332356439396262386338
62643738326437343139616134386130616533653066666631633139653038646336306363373233
30626134623732393361653637313235363463336331666231336434363432646363373534336661
39623864643130613337336232313263323161313030353535313336393233643237343566373063
64633935366430316566306461313261633031656562356461376632373031333462323237646263
37343535393539393032653135653666393933326632653166666633613638333130623937383530
35323737363662346337326134366239666137343031326663356533353033633332633931333738
34383937316461313231313936626436633030373833306636643633343266343461363732373132
66396233396432336336623166653361646561313432383861313061376234656636663864616132
32336664636162346633376633353938613865323162356437373330306236383164376261613461
37313839363331653139623264336631663534643530663434393535333865353965343161636638
34653334373865356439333736366432323832323834633239333130386639366163643337303832
37383637366231613930633661316466346136333666343266393137663965653331303034356661
61643439383630353139613635636665616534396639643161653334626434616132333731323532
39363462313039336661636332623530363832316564343135343330323362366633333632646239
34633736383534653130343437376134616363363736613462326332643031376331636164623837
32316331663030383762333562373937663663633931623535303139306163613962643762353633
66643038633630633736316634316238643136363532396363323361323163363638653331616631
30303832363163346663613433646432326566613738356133386238386266376261336532356338
61383539336138666261636234316461646365373236383038363965626635393530346236666263
38636164336463393565613362626334346565653464663136316564646631323835626364333536
36633566613432346334656665636134386334663362633562623938343264396538656432366166
65626635336139306335366265616430366337656265346235653333646362383232386434663832
65636634646363323736323165666637373661333136636164613933396130633932373837393030
38303466303363623038336363633037666631356262396631396464383065343730346537303534
62383764653763313639313332386331653163313134303336396336323862323063643265383761
35633939626636613030653564366266346338346239356163383864383762393261396561613032
31313866356666666538613935653965373932366666303634636436633662333638396563336161
32303934373238323838366563623035663863393835353839343230626235353830336532306532
36303035613238656133643936353735646336396238363334326561336365666238363735633561
62616338336664366631336364636564393539363163626465613530343939303961353364666364
38666665326563333039386462656261666531646637306261316233336130343730663661336431
62666138343766393262313431386136613139386265623939613830646233666134386235326564
36353032383336353763363231313564396630363565666163316237323363633866323734326664
30316533383363363461613564646137646337303738373833373238396661656265626139333637
30353835363062393333646433356362613132653463656532366137356136306431633836653333
65326266303038393233373263313933323637303539353065663233356333326235633064353536
30626433356630316364386332393331626135656266376233363837303438636539386434613038
31313938653662306533663635333564653232306436396331386433343561313365633664383865
33356163343232626165353739386534346231336634656231613235383536616338383133383664
31303734363836326662633062396130343637343731613532353533323164353934383230626436
33356139303663326361333535306261386431343736396238616435633565613266306339363166
61646233353636303739353336336662633662303861623864323033376133623734373436646365
33626332366464393166613339623663346234653830386664396630376539656163633263663664
63646539353035323263306136396537373561646264363939613737313462643063663136623136
61643138623962383039313836633032323861313937643164343832303634643833393230656637
35393566396562343863323235333835353135323139613166303539306266636265363931336162
32363361356231326164376533346464613836373162323333336438333532333161633432343637
65356364636264313036643836643863396435663837393564393833303037643331363633643065
36396662626462303232386531653234373231306131353732656663353538356636646331646163
32306362366264343966393237633831633263383236336133343166633639366266316235386538
32623039366561643663653564633066306339613938386234666430666462316363373863626337
37366232633365653462613732353064396539356432393661626462313663363634613434376462
61316266366131343239616133613038303338323566633363666330336364393261636130313164
32336237383536363562663537343661306434313964373034376263373262643635316664646130
35333631626236653638633661363831323262336465323339356637356331313738666634656538
34363438633566393866313662386365313030646230393862343735356535633366666138623863
65306336356633326530303932373634613733643364336561653737363132343534333336376264
34663965373532393330393763646232623533376332323239376232303935393339656230356537
30306264636362353733656366363139613637303264323361333138666462666531323131663564
62616362303035613733386231316431326333643739373738666135363232616564346238636462
64623234363632613436636336323965383762626261626137386631393334666266343636323862
34326431303365393234616263653862376466363861353835316336633336613534373235353436
65663531303939386233353934376335643732373063666362343234353037363430356233356138
34663530643266343535333336643938326131366239333630336163363263613561393639333631
63333031643033623964303361383462343339353264656435626365393938613162623835646539
62626331393339373839316166613965373862316438636561306162376535633861396531396637
66623936323361616333326330616361323232343034343366643130623037653463333730316337
61383965663130646334343833333737383931363339326266666437353030626262633263626135
32626239383137303538623735343033633465653861316231636564653535646662646561333832
30613639353563363534663764376232643630626434626466306663303331643565313239353131
36303363306538393164663563313133636663653664616438346235646637636132373532393332
35633533346432616532653937636565363431323161336430323566363239373035616264373636
62306337323935336332663262396466323064633738306334386233663531313633656232373330
38656635636264353635356165343233643061363836396266386631393433366265646662633239
63303939363637663030663965626637336366666638386532666466613965396533373935346135
62623837643462356334323234633263636130653762636461353037396461623961383330613731
61626634383232313337313363363637623036653630396266623265363961303662366165373462
66656364633735626231323335373135663462373966396136653634653865316238393263316464
66663537383763386335383131303438353930366534616637636564313431346163353534366431
34356262653134656633636631373963393032393061353636363333313464386463616638663939
39306136373433346362613934626332316633353232373963633939336338656331366661666232
37646566393062643738383832363230393337363361653566303433666561643936313037653662
65666266353032313862666365313237323431666365613666373931383838383435663034343239
39323139336266373463323465656237366166653230373236613335616433363465613131326234
39393363386334303963613036333661373364633437386262363937333565316639313261643133
62626235303163666435333030353039316432316661383933353834313733326435613366313030
33303631323132323861613366313532333931623739623731353566373039656133653061633637
36366365653836346662616135303536613331656364306163633731376634313739633634646132
31396138663337656332653331616462333936313531646135663930616130623338323733663634
62373866353663336138346335383637333738363035393366613434306536643239356436396333
39333133366235666562383239363530343464353735666436356333313932613965613065663639
39383962376264643337633365386164353166343165306634376634646233626466363661666465
34306533616238616131306130323637656536663561306437346238303464616636306134366130
30386566326465323962396130336661613433613938633565363635356166643263383364636164
34643465353664386437316366396130383533626132363566656265353366663865616531386238
32633831623334643166356237353164356563646132656130363634343664663765373839616430
37346432616161636139643733346631643165313636323231643461313164646663623439663966
33323230376337663566636233333038633465323238636533336136363037633065336538383033
31356634363261643064326335656535356434373862663935316434613938663833626139646636
63333936363637356234373237326430376232623561663461633138363032616138343730663939
37353462326266636562373331326161646338623261303762316265323432313139356439306361
32336132376439616662386132363566363438313739313830393336393439343839

11
hosts
View file

@ -73,6 +73,9 @@ prometheus-federate.adm.auro.re
###############################################################################
# Les Jardins de Fleming
[fleming_server]
perceval.adm.auro.re
[fleming_pve]
freya.adm.auro.re
marki.adm.auro.re
@ -244,7 +247,6 @@ ps-4-3.borne.auro.re
# Emilie du Chatelet
[edc_server]
perceval.adm.auro.re
caradoc.adm.auro.re
[edc_pve]
@ -439,6 +441,7 @@ ovh_vm
# everything at fleming
[fleming:children]
fleming_server
fleming_pve
fleming_vm
fleming_unifi
@ -451,6 +454,7 @@ pacaterie_unifi
# everything at edc
[edc:children]
edc_server
edc_pve
edc_vm
edc_unifi
@ -483,6 +487,11 @@ edc_vm
gs_vm
rives_vm
# every server
[server:children]
fleming_server
edc_server
# every PVE
[pve:children]
ovh_pve

View file

@ -5,6 +5,8 @@
prometheus_alertmanager: docker-ovh.adm.auro.re:9093
snmp_unifi_password: "{{ vault_snmp_unifi_password }}"
snmp_switch_community: "{{ vault_snmp_switch_community }}"
snmp_pdu_user: "{{ vault_snmp_pdu_user }}"
snmp_pdu_password: "{{ vault_snmp_pdu_password }}"
# Prometheus targets.json
prometheus_targets:
@ -20,6 +22,8 @@
prometheus_alertmanager: docker-ovh.adm.auro.re:9093
snmp_unifi_password: "{{ vault_snmp_unifi_password }}"
snmp_switch_community: "{{ vault_snmp_switch_community }}"
snmp_pdu_user: "{{ vault_snmp_pdu_user }}"
snmp_pdu_password: "{{ vault_snmp_pdu_password }}"
# Prometheus targets.json
prometheus_targets:
@ -38,6 +42,8 @@
prometheus_alertmanager: docker-ovh.adm.auro.re:9093
snmp_unifi_password: "{{ vault_snmp_unifi_password }}"
snmp_switch_community: "{{ vault_snmp_switch_community }}"
snmp_pdu_user: "{{ vault_snmp_pdu_user }}"
snmp_pdu_password: "{{ vault_snmp_pdu_password }}"
# Prometheus targets.json
prometheus_ups_snmp_targets:
@ -58,6 +64,8 @@
prometheus_alertmanager: docker-ovh.adm.auro.re:9093
snmp_unifi_password: "{{ vault_snmp_unifi_password }}"
snmp_switch_community: "{{ vault_snmp_switch_community }}"
snmp_pdu_user: "{{ vault_snmp_pdu_user }}"
snmp_pdu_password: "{{ vault_snmp_pdu_password }}"
# Prometheus targets.json
prometheus_targets:
@ -67,6 +75,8 @@
- targets: "{{ groups['gs_unifi'] | list | sort }}"
prometheus_ups_snmp_targets:
- ups-gk-1.ups.auro.re
prometheus_pdu_snmp_targets:
- pdu-ga-1.ups.auro.re
roles:
- prometheus
@ -75,6 +85,8 @@
prometheus_alertmanager: docker-ovh.adm.auro.re:9093
snmp_unifi_password: "{{ vault_snmp_unifi_password }}"
snmp_switch_community: "{{ vault_snmp_switch_community }}"
snmp_pdu_user: "{{ vault_snmp_pdu_user }}"
snmp_pdu_password: "{{ vault_snmp_pdu_password }}"
# Prometheus targets.json
prometheus_ups_snmp_targets:
@ -94,6 +106,8 @@
prometheus_alertmanager: docker-ovh.adm.auro.re:9093
snmp_unifi_password: "{{ vault_snmp_unifi_password }}"
snmp_switch_community: "{{ vault_snmp_switch_community }}"
snmp_pdu_user: "{{ vault_snmp_pdu_user }}"
snmp_pdu_password: "{{ vault_snmp_pdu_password }}"
# Prometheus targets.json
prometheus_targets:
@ -126,6 +140,8 @@
prometheus_alertmanager: docker-ovh.adm.auro.re:9093
snmp_unifi_password: "{{ vault_snmp_unifi_password }}"
snmp_switch_community: "{{ vault_snmp_switch_community }}"
snmp_pdu_user: "{{ vault_snmp_pdu_user }}"
snmp_pdu_password: "{{ vault_snmp_pdu_password }}"
# Prometheus targets.json
prometheus_targets:
@ -144,6 +160,8 @@
vars:
prometheus_alertmanager: docker-ovh.adm.auro.re:9093
snmp_unifi_password: "{{ vault_snmp_unifi_password }}"
snmp_pdu_user: "{{ vault_snmp_pdu_user }}"
snmp_pdu_password: "{{ vault_snmp_pdu_password }}"
# Prometheus targets.json
prometheus_targets:

View file

@ -41,6 +41,7 @@
- django.rules.yml
- ups.rules.yml
- postgres.rules.yml
- environmental.rules.yml
notify: Restart Prometheus
- name: Make Prometheus snmp-exporter listen on localhost only
@ -50,14 +51,16 @@
line: "ARGS=\"--web.listen-address=127.0.0.1:9116\""
notify: Restart prometheus-snmp-exporter
# This file store SNMP OIDs
# These files store SNMP OIDs
- name: Configure Prometheus snmp-exporter
template:
src: snmp.yml.j2
dest: /etc/prometheus/snmp.yml
src: "{{ item }}.j2"
dest: "/etc/prometheus/{{ item }}"
owner: prometheus
group: prometheus
mode: u=r,g=r,o=
loop:
- snmp.yml
notify: Restart prometheus-snmp-exporter
# We don't need to restart Prometheus when updating nodes
@ -103,6 +106,13 @@
mode: 0644
when: prometheus_postgres_targets is defined
- name: Configure Prometheus apc_pdu monitoring
copy:
content: "{{ [{'targets': prometheus_pdu_snmp_targets }] | to_nice_json }}\n"
dest: /etc/prometheus/targets_apc_pdu_snmp.json
mode: 0644
when: prometheus_pdu_snmp_targets is defined
- name: Activate prometheus service
systemd:
name: prometheus

View file

@ -0,0 +1,52 @@
---
{{ ansible_managed | comment }}
{% macro raw(string) -%}
{{ "{{" }} {{ string }} {{ "}}" }}
{%- endmacro %}
groups:
- name: environmental.rules
rules:
- alert: EnvironmentalTemperature
expr: rPDU2SensorTempHumidityStatusTempC / 10 > 30
for: 10m
labels:
severity: warning
annotations:
summary: >-
Température environnementale à {{ raw('$value') }}°
- alert: EnvironmentalTemperature
expr: rPDU2SensorTempHumidityStatusTempC / 10 > 40
for: 10m
labels:
severity: critical
annotations:
summary: >-
Température environnementale à {{ raw('$value') }}°
- alert: EnvironmentalTemperature
expr: xupsEnvRemoteTemp > 30
for: 10m
labels:
severity: warning
annotations:
summary: >-
Température environnementale à {{ raw('$value') }}°
- alert: EnvironmentalTemperature
expr: xupsEnvRemoteTemp > 40
for: 10m
labels:
severity: critical
annotations:
summary: >-
Température environnementale à {{ raw('$value') }}°
...

View file

@ -123,4 +123,21 @@ scrape_configs:
- source_labels: [__param_target]
target_label: __address__
replacement: '$1:9187'
- job_name: apc_pdu_snmp
file_sd_configs:
- files:
- '/etc/prometheus/targets_apc_pdu_snmp.json'
metrics_path: /snmp
params:
module:
- apc_pdu
relabel_configs:
- source_labels: [__address__]
target_label: __param_target
- source_labels: [__param_target]
target_label: instance
- target_label: __address__
replacement: 127.0.0.1:9116
...

View file

@ -149,5 +149,11 @@ groups:
summary: >
Charge à {{ raw('$value') }}
- alert: UnhealthyDisk
expr: smartmon_device_smart_healthy < 1
for: 10m
labels:
severity: "critical"
annotations:
summary: "Le Disque {{ raw('$labels.disk') }} n'est pas en bonne santé !"
...

View file

@ -416,4 +416,70 @@ ubiquiti_unifi:
auth_protocol: SHA
priv_protocol: AES
priv_password: {{ snmp_unifi_password }}
apc_pdu:
walk:
- 1.3.6.1.4.1.318.1.1.26.10.2.2.1.8
- 1.3.6.1.4.1.318.1.1.26.4.3.1.4
- 1.3.6.1.4.1.318.1.1.26.4.3.1.5
- 1.3.6.1.4.1.318.1.1.26.4.3.1.6
- 1.3.6.1.4.1.318.1.1.26.6.3.1.9
- 1.3.6.1.4.1.318.1.1.26.9.4.3.1.7
metrics:
- name: rPDU2SensorTempHumidityStatusTempC
oid: 1.3.6.1.4.1.318.1.1.26.10.2.2.1.8
type: gauge
help: Sensor temperature reading in tenths of degrees Celsius - 1.3.6.1.4.1.318.1.1.26.10.2.2.1.8
indexes:
- labelname: rPDU2SensorTempHumidityStatusIndex
type: gauge
- name: rPDU2DeviceStatusLoadState
oid: 1.3.6.1.4.1.318.1.1.26.4.3.1.4
type: gauge
help: Indicates the present load status of the Rack PDU - 1.3.6.1.4.1.318.1.1.26.4.3.1.4
indexes:
- labelname: rPDU2DeviceStatusIndex
type: gauge
- name: rPDU2DeviceStatusPower
oid: 1.3.6.1.4.1.318.1.1.26.4.3.1.5
type: gauge
help: The power consumption of the Rack PDU load in hundredths of kilowatts -
1.3.6.1.4.1.318.1.1.26.4.3.1.5
indexes:
- labelname: rPDU2DeviceStatusIndex
type: gauge
- name: rPDU2DeviceStatusPeakPower
oid: 1.3.6.1.4.1.318.1.1.26.4.3.1.6
type: gauge
help: The peak power consumption of the Rack PDU load in hundredths of kilowatts
- 1.3.6.1.4.1.318.1.1.26.4.3.1.6
indexes:
- labelname: rPDU2DeviceStatusIndex
type: gauge
- name: rPDU2PhaseStatusPowerFactor
oid: 1.3.6.1.4.1.318.1.1.26.6.3.1.9
type: gauge
help: Indicates the load power factor, in hundredths, of the Rack PDU phase being
queried - 1.3.6.1.4.1.318.1.1.26.6.3.1.9
indexes:
- labelname: rPDU2PhaseStatusIndex
type: gauge
- name: rPDU2OutletMeteredStatusPower
oid: 1.3.6.1.4.1.318.1.1.26.9.4.3.1.7
type: gauge
help: Indicates the power draw of the load on the Rack PDU outlet being queried
- 1.3.6.1.4.1.318.1.1.26.9.4.3.1.7
indexes:
- labelname: rPDU2OutletMeteredStatusIndex
type: gauge
version: 3
auth:
security_level: authPriv
username: {{ snmp_pdu_user }}
password: {{ snmp_pdu_password }}
auth_protocol: SHA
priv_protocol: AES
priv_password: {{ snmp_pdu_password }}
...

View file

@ -0,0 +1,112 @@
# Set the command-line arguments to pass to the server.
ARGS="--log.level=debug --storage.tsdb.retention.time=120d"
# Prometheus supports the following options:
# --config.file="/etc/prometheus/prometheus.yml"
# Prometheus configuration file path.
# --web.listen-address="0.0.0.0:9090"
# Address to listen on for UI, API, and telemetry.
# --web.read-timeout=5m Maximum duration before timing out read of the
# request, and closing idle connections.
# --web.max-connections=512 Maximum number of simultaneous connections.
# --web.external-url=<URL> The URL under which Prometheus is externally
# reachable (for example, if Prometheus is served
# via a reverse proxy). Used for generating
# relative and absolute links back to Prometheus
# itself. If the URL has a path portion, it will
# be used to prefix all HTTP endpoints served by
# Prometheus. If omitted, relevant URL components
# will be derived automatically.
# --web.route-prefix=<path> Prefix for the internal routes of web endpoints.
# Defaults to path of --web.external-url.
# --web.local-assets="/usr/share/prometheus/web/"
# Path to static asset/templates directory.
# --web.user-assets=<path> Path to user asset directory, available at
# /user.
# --web.enable-lifecycle Enable shutdown and reload via HTTP request.
# --web.enable-admin-api Enable API endpoints for admin control actions.
# --web.console.templates="/etc/prometheus/consoles"
# Path to the console template directory,
# available at /consoles.
# --web.console.libraries="/etc/prometheus/console_libraries"
# Path to the console library directory.
# --web.page-title="Prometheus Time Series Collection and Processing Server"
# Document title of Prometheus instance.
# --web.cors.origin=".*" Regex for CORS origin. It is fully anchored.
# Example: 'https?://(domain1|domain2)\.com'
# --storage.tsdb.path="/var/lib/prometheus/metrics2/"
# Base path for metrics storage.
# --storage.tsdb.retention=15d
# [DEPRECATED] How long to retain samples in
# storage. This flag has been deprecated, use
# "storage.tsdb.retention.time" instead
# --storage.tsdb.retention.time=15d
# How long to retain samples in storage. When this
# flag is set it overrides
# "storage.tsdb.retention".
# If neither this flag nor "storage.tsdb.retention"
# nor "storage.tsdb.retention.size" is set, the
# retention time defaults to 15d.
# Units Supported: y, w, d, h, m, s, ms.
# --storage.tsdb.retention.size=
# [EXPERIMENTAL] Maximum number of bytes that can
# be stored for blocks. Units supported: KB, MB,
# GB, TB, PB. This flag is experimental and can be
# changed in future releases.
# --storage.tsdb.use-lockfile
# Create a lockfile in data directory.
# --storage.tsdb.allow-overlapping-blocks
# [EXPERIMENTAL] Allow overlapping blocks, which
# in turn enables vertical compaction and
# vertical query merge.
# --storage.tsdb.wal-compression
# Compress the tsdb WAL.
# --storage.remote.flush-deadline=<duration>
# How long to wait flushing sample on shutdown or
# config reload.
# --storage.remote.read-sample-limit=5e7
# Maximum overall number of samples to return via
# the remote read interface, in a single query. 0
# means no limit. This limit is ignored for
# streamed response types.
# --storage.remote.read-concurrent-limit=10
# Maximum number of concurrent remote read calls.
# 0 means no limit.
# --storage.remote.read-max-bytes-in-frame=1048576
# Maximum number of bytes in a single frame for
# streaming remote read response types before
# marshalling. Note that client might have limit on
# frame size as well. 1MB as recommended by
# protobuf by default.
# --rules.alert.for-outage-tolerance=1h
# Max time to tolerate prometheus outage for
# restoring "for" state of alert.
# --rules.alert.for-grace-period=10m
# Minimum duration between alert and restored "for"
# state. This is maintained only for alerts with
# configured "for" time greater than grace period.
# --rules.alert.resend-delay=1m
# Minimum amount of time to wait before resending
# an alert to Alertmanager.
# --alertmanager.notification-queue-capacity=10000
# The capacity of the queue for pending
# Alertmanager notifications.
# --alertmanager.timeout=10s
# Timeout for sending alerts to Alertmanager.
# --query.lookback-delta=5m The maximum lookback duration for retrieving
# metrics during expression evaluations and
# federation.
# --query.timeout=2m Maximum time a query may take before being
# aborted.
# --query.max-concurrency=20
# Maximum number of queries executed concurrently.
# --query.max-samples=50000000
# Maximum number of samples a single query can load
# into memory. Note that queries will fail if they
# try to load more samples than this into memory,
# so this also limits the number of samples a query
# can return.
# --log.level=info Only log messages with the given severity or
# above. One of: [debug, info, warn, error]
# --log.format=logfmt Output format of log messages. One of: [logfmt,
# json]

View file

@ -20,6 +20,15 @@
- alert.rules.yml
notify: Restart Prometheus
- name: Define Prometheus retention time
copy:
src: files/prometheus
dest: /etc/default/prometheus
owner: prometheus
group: prometheus
mode: u=r,g=r,o=
notify: Restart Prometheus
# We don't need to restart Prometheus when updating nodes
- name: Configure Prometheus Federate devices
copy:

View file

@ -36,7 +36,7 @@ scrape_configs:
- '{job="unifi_snmp"}'
- '{job="django"}'
- '{job="ups_snmp"}'
- '{job="django"}'
- '{job="apc_pdu_snmp"}'
- '{job="docker"}'
- '{job="switch_snmp"}'
...