Merge branch 'master' into add-ssh-keys
This commit is contained in:
commit
deb4372588
10 changed files with 299 additions and 875 deletions
|
@ -1,178 +1,180 @@
|
|||
$ANSIBLE_VAULT;1.1;AES256
|
||||
37623034653164356337646538613665336362663764363537393937666637663864636365303266
|
||||
6636363032363834633231633262306633663064616537610a643361343233303438343266363633
|
||||
62646234633831656537616162303162653430373137633831316366363931306332373161303165
|
||||
3938323535386163660a396465653966313230613037653364646633346633353561313539383536
|
||||
61663061343130363363356163626264613636383364346534323331666632643235343231316166
|
||||
37313039633230376265313264383331613933303239623664646338396632363430336131646364
|
||||
38663736373732666466356162386338316366623061316362393266633831356661333137653361
|
||||
62626361653862633234336330623738373436363365643866323131653763636637336131343639
|
||||
62383061373138316535346239323465306632353334663633383361313365303466643333303430
|
||||
62313534623839303236613564663863653132623163376432303633333038386161346530363534
|
||||
63653135396262633230376464383530326634646466376534333633336363323462363234613834
|
||||
35313936343862613166616433366664356334626539616562353639363936613431636263316238
|
||||
33373334316539653130303563363130326564306538383565653065333034636436326362633735
|
||||
64626335333465396536373838626266613365613234643038383138653038313033316331326662
|
||||
66316536363562343330613437303434633134643162613365613966643562393731613065373937
|
||||
34353639646539396536303864373832313637316430323534613835313632653733316337383738
|
||||
30373737353039393831393334363738656364663266393330383039346634373537613335363138
|
||||
36303963663138393866326433376231323261616338643666323930393932663237313731313833
|
||||
32363132393234393165393363396163643961363635663030393235313436643037633032393935
|
||||
32633632633461383965363230383531316239313637313365613531663365336163343363643365
|
||||
63346366666433333736623533653264663538323562636565623134633634353234363163646639
|
||||
35633662336636326237336134663334353435323333656235383231326431633035623664326538
|
||||
39393961303031643831363634353730663836353464333536393838353133633765633238626630
|
||||
31323564323938373833303965626165303462363139366262636462333631313835653332383637
|
||||
63343263323861643863313237303864363630666464653834323736323563633162396232643439
|
||||
38303338323538653263616335386338336133653733333137343532353066363039633961323036
|
||||
32666439353734313738386535353966373963313534323666323633316338666139386130383262
|
||||
62303466616666343862396435633239636533613135343836333838626663316433343661636561
|
||||
61656361313165393932333932653539663464303564643931313736323864623233376339666266
|
||||
63656638633363343766376336356339623235623838326530663031383739333936633938663661
|
||||
65383334373736313134313961623732616339636466396130343233396630633464336631336364
|
||||
35326433306663343764656437343065323033356666316161383262623236626237383531623165
|
||||
36386434316230323239613266363862333134656331316166353631613464336164326365353738
|
||||
35346563653364373334343061346639363538616433396131646362393162663033643532313932
|
||||
65336536366132643861613065346530643061343939393533346331653235356530626431336364
|
||||
63396235383764343933316639363934366161323765346632346331313831386266303664363066
|
||||
36393235393861313333303734656634663634303133353131613630633231333935356262383161
|
||||
62313661323734386233396133353261663434353662353064386538663531613466616532646237
|
||||
31306362663139616266313765303562383163323333313435366536396633626261626632663135
|
||||
65646366636461626535616662363735396263323563356239373963353434373061386331353664
|
||||
31323662633433383738346532626463386535646363623961373466376132316265653833333766
|
||||
31336464343439343632393438326537373539663463636261333066313134656664363031663137
|
||||
62633336396162373736343737636565623038303362323261656365396130316132346436303637
|
||||
30313131366631666534356132353933336663396130393038623266356531373531303766333830
|
||||
37303765336435333161346339643065363165646538613165363634616362306466303063393566
|
||||
64626562383065653562646536386662663762653665353339316232363534643837656535326633
|
||||
30396134346432306135396337383765613361616331356433323766343139646631303861386263
|
||||
38333262383239336662633463356134613239393563356662313463646432306130383433363137
|
||||
35623231366238353062656333353565653366363735373433313337656364353232613832326433
|
||||
34313238666233623462336665383964623662363662326331383131313161376233633234616236
|
||||
36373831613132343236346263623732313233623533356264656439353465663866643161663461
|
||||
38356261333430373631656238336337343664663563356461663839393864396662623530623932
|
||||
35303038613261393132366262333463653935616362396262343530356637663630323431643762
|
||||
33623364363163366262643133633065383063343162383232323832316462326661396232303937
|
||||
39616133323561653435373666363264303737376430313966323362383933643433656236363039
|
||||
32316361303835316465633862653431623431346465666166316136326363303538383236386364
|
||||
63666666643065346635366131313037633233316363336161313761643163376163646561373936
|
||||
39313964343866666332333034333233616134656331306236386339643130623530626466626339
|
||||
31663435323633643231366265323766316438366130653434633530643231653864626639623334
|
||||
37613931363264363132383764346364393038333130303364313334316333306235616237653563
|
||||
30393962333332326137613963343734366230326163343132653830653733346435386639323363
|
||||
62363066396563393861623764623330343332633535633737393364646137653361303032333436
|
||||
35643936393734643533613137386430353337353536653333373535623630366333356633643034
|
||||
30373565666430323235373939613839333034363532343738326536303334396565613765333639
|
||||
66363064643264656163633430636563336430613634326265613934643433366134623339393437
|
||||
62303666323933646166363465623437396630643662656364303666336133396663613438376139
|
||||
66613965646639643337343137346537656465386337643864613637393664306436333063363830
|
||||
64396361666261666339653230386635633139616330666132333232303064383738353336346632
|
||||
63663064633631336231366266663737386137396636633039616165653339373831333338303736
|
||||
63653566383161373131343233303132306237656133333136656161653736336433363164393833
|
||||
35373363386232653036313635303862323838636433636565373135306466336562316232366537
|
||||
35303137386433326364366232643837386364376463666531633664333932653536373931396333
|
||||
37383931353465386636623637313063333933333062623361343835303634313439333862306436
|
||||
62643863343730353334333863633534313232333332376562626366343131636132393566356563
|
||||
30346666386539613864303537346636333534333534376439313164656634366465383131353335
|
||||
64343730666230636462656666373061643338376633386338623238636531333636313631333036
|
||||
37376337643739393934343362343865636362383638663630313831353963636364613138393136
|
||||
31366361376533363861393537323433663533316465383334656133623637343530323561303631
|
||||
30373534653437633765636664316364386139613565616464323735643333633962623665323831
|
||||
38343661373632313936616632353635623232343630346565346262313365336366393262336631
|
||||
36646430366531306665366465383530366432623737373662393263343336633837646630393139
|
||||
32633566653335636130386338633035636135316461396366313532363834653966653239636533
|
||||
32313039623433663861393832323564366337646161626632613563376131353265373938306430
|
||||
35323762393434303966623536356466383933333139336561666335663133356130386166653064
|
||||
65306137663938663162396265653439666562333766373132396434383365386338333635653166
|
||||
36366139643335303135626337363363633334633464326234666361333234383262363035346362
|
||||
31393538303961386465623437343766376565333564346338666365333865323537353731363262
|
||||
63386632383766303261666563323133616136306563623761653831663466326433306631643365
|
||||
61313862343235643963626331353465313734613930393163363236373438613939656164633137
|
||||
38343061633164623361353430373830616365646362383565353865663930343134393736643730
|
||||
36383439333032623233656565336666663539396531633865326166303837333736373333393836
|
||||
37616139303039343439303338653133393563316537626239613961363164303538636566663931
|
||||
30656236356230623734383662643735326264666362626239356565653361333266373132383365
|
||||
30373763333938613636383364643862343832633631336131626162326330653465353661313639
|
||||
35303434643534323731393665663930363163653965373832323966306335343562643334616333
|
||||
63643637303038623039396331313439663332646566326132306235653234633262336539656463
|
||||
64643336373535656462313462366337653862623131393230326532633035333864383936366332
|
||||
31333962336430663061356537323638656137343638643033316461353761303435363263323337
|
||||
34393235303630643265636338343430366232613831666662653162633333353262623331656339
|
||||
39303064393533323132653433316665366436316235663332646362666539656262353037313538
|
||||
35333239323736306434323435323236343634336337323364653862323932643130313737306339
|
||||
64333763316134383033353762353264393764653638616533623366313361363766666436633164
|
||||
34623266373130303437383635623763646165363538653666383966343063636435336462326233
|
||||
64633332613961333532666235303935646139626135323964346666353732653531356238393338
|
||||
39656231363935306533313632626134353439633131653537353466323565633532383031666364
|
||||
31356338313334383263616134643834373064316361313362366562656464656566633961336532
|
||||
31393931313633366630303931336137383732383533616163353361616336613863616462636230
|
||||
35656561313735313864353133663735376462666639323930663039373630613138343735643061
|
||||
35326665316465663834383766373366653464643263383662636134366161343532666265316632
|
||||
35313233346236356166306464306139306263376339336266303861386632623030666239373734
|
||||
34386330616335326339633761623366613931386366333138643236363338386435613036393732
|
||||
38306137353930383737663063393734306539613633316337386334326562643731356536393036
|
||||
64326363643162333561336364643034313735303761313233653865303638363766333066343862
|
||||
64393063336439323233656263343432336365333630303238376133336235613266306338653664
|
||||
36303761393036393964653962353164326432343731353861353432333738643365303032356534
|
||||
61623339623664343164666338383361633863336432613762386238323331633264653666313532
|
||||
38333165373738383539316663366437333733646561613232366130646565313063306631653331
|
||||
61396236333663393937303639643061383133346563343339346136636237383663623364303535
|
||||
30373562353531313630626533336431626539306137353331653430653737613462353739353936
|
||||
62333562636137363964303735623434333537396330386338386661346437353936633533353961
|
||||
34663532376636353233396362616361643164396539326339376237313737656161353032383566
|
||||
37363234393334616363323465343332373436613636643431326436316135383230633136353633
|
||||
37373564653033323034643661333733313431323133616639366230343433633366636261623039
|
||||
66663866326465666132333863666431653433616565343964613338636339643466613634363162
|
||||
66636464656135383231373135666661303761363964383538643738346136366339613264663663
|
||||
39316437393962333239333732326432616239656538663030613763326533646131653663326166
|
||||
32326365323630613339343263323133656361663131336230386664616561623033646535613736
|
||||
34393130376233333134323662646132616430353233396364653437353335313962363865666536
|
||||
66343239643131343730366562303061343061326139306165343931326166326435343236323064
|
||||
37306534373831356364306339333233633866633931383666363639336563363763336163336131
|
||||
39616464373630386164383033333530353866666531363361633430383335616161643139333964
|
||||
64633365616532396461373736616462313966326432363562353437383762326362323531623637
|
||||
64306638306633316533343766623136636331363439633031316366663063643262386566396633
|
||||
30306231633730643961303266343337343531386634363037303535643239376236343737393066
|
||||
31373765623732333736366434363865396366333165366362386132373536383730633766326564
|
||||
34356635333135616666303161656233373038353338376433336466346633663935626564396533
|
||||
62353432333637643665633766356534653735326662346466353737303131323934313433666335
|
||||
35653930356564336138626365383730313131346534616139313965313831393237353930613231
|
||||
63303034326463633335353064363438323839623533313637383236386535303663373930663234
|
||||
37343833323838343431626438366630663465653534373339306539656462643237396661346632
|
||||
35623261346463393037666266333835623664313938396239386461663230656239623534346537
|
||||
30336432393433346438316533646132636336613661623935303434646334626434636466636634
|
||||
37653532383538326666363864633165626266633331626239333536643663623335326262346232
|
||||
33393864646261643639663635343731336330366638633266373136346537373236336539356233
|
||||
33366536386463636462373865623861643466306331653938383934323232366463663935353830
|
||||
32633266613833666266646462393062336263633937396666653732306233613666376339353362
|
||||
62353236386337626663653064396564623933613535346264643630343766656462366164363864
|
||||
33386637373030336530363838346534636361373965613664386635313938343663653434323438
|
||||
65336433326661643864303738636362386239636239373265643139356563356166373161663064
|
||||
62633061393861316236653833353634616338333062393564373431636666613264646262663762
|
||||
30376334613639633233336536653631663866393535643039616333623636323764383862633235
|
||||
65636438316430383162663832353038313037623366386135393636323161303732646466373833
|
||||
31386463363265363161396330643539336566313763666136636265383531346638363964303762
|
||||
34633666323665666430333465396266626533353761373932666165393634313236396366326464
|
||||
32623963373638383133613535316461646632653831333862623536393531663536333161306664
|
||||
37366537646261333166633961656136386466643864623463643331396234386233316263303539
|
||||
30646234316437316633633761343361633234363661663465303164663662366562393539663666
|
||||
64373065313161333632313931386538306231303639393036316138613332376131663434366362
|
||||
37386262643366313465386332313335313434393134336134626265396164326430366466376331
|
||||
66616665313761366631366364346538323933373664643663616335363631346630626338343137
|
||||
63313833643262316664306261323839336666636361343032323938316232336136356139383061
|
||||
38373637386434653265636261616633636365303134653866643763333434643138373337383065
|
||||
62613335653332366566356537626266633334613766643666303261353239363034666639656463
|
||||
39363939653634646632373239616363316263386333326566383061323337363335643037353833
|
||||
61376364346164376333336131353638333032353034306361363536316134623535336363633531
|
||||
37343935643933666564663861306331663833656165666134646262373134643834373432326634
|
||||
66336431643164393336656161306333386437336133393062303231636130343464663434393332
|
||||
37373066646138353636656531363532366465626538333461353131613731363939303933616232
|
||||
35636261613433336232663532383065376137626266326161316530616666613437306361656134
|
||||
39363636633834303634333135643037626538383930383030633764316434303062346263646436
|
||||
33613662323735616563373330303965373033376166363136653761663864303761626665343063
|
||||
64343234363839623633363562633764656136383063346633386338626337616531656334646337
|
||||
36393331633938396439643032333136643766366437383934363333383466383738656333663633
|
||||
31656437386237666438373664623561333336383866613366616166313062366365303765646362
|
||||
33333930613961373036326639626364353133363933653739643935383966356130373437636564
|
||||
62313933623061336631323163653263393866363231623438623430303338656236353462333237
|
||||
65323334316136383236393234346261323638373536613165656233383535333062
|
||||
36323837313536343438346161633830326364666265343833323539626361653065363734393533
|
||||
3062363534346566626433663561313034323930623565640a363866396538623763393232383462
|
||||
61623430366665323931393339373665376536633631306639356435323939653434616163343365
|
||||
3463393937653666620a363639643662373365343261613831313165653837336461623135633062
|
||||
33313632363236633838303430656334383539323937333036396135313433306566353132386634
|
||||
35626431623730336635336136356437343639656331363462313064373038636439393631653264
|
||||
35666565626132653665336163363965326265356339623838326238303865643632663233313464
|
||||
64633434346635363033396265646661643766313339386337333030353561326165306663613834
|
||||
62393565343036366534666166323238653939616433343866326338313332623062366439346436
|
||||
38363930646639353263663666333332383632656261633038363030613334663239373134343138
|
||||
62386233653264623437656535316532306432626531623239323439666437643364643537666139
|
||||
36323262643662313261326434663931633031643061323438643335616534356464613837343632
|
||||
33643761306538623430633031626266363531353432373930343435613934626231363234336266
|
||||
33353962396435623836666664346666323564393135613865373966316266313336613538303263
|
||||
36646564623039366138306332383663363765653063313436366432333438386534616439326132
|
||||
36623234653633653931363939386265306439383030366539393836303164353232653939613231
|
||||
66383761373965663939613262323262373938663964373961633762356332663965363364623033
|
||||
31303236373864393039363366333732666438313061666534656434303634616235393336346532
|
||||
62613565396163313833383435656431663662626166666532396138636635643833303462623863
|
||||
62343634326536613030643663646134653131643232343033633234303234356239393264666435
|
||||
62323961346236366463613466376434333639373537376265356334623430633865353866616132
|
||||
33363437633365633062383939616134316165343939383730366231376338613638393633616634
|
||||
33313064346434343435313238333538363165333237653339653635643339623732656237343138
|
||||
33376231383832303561313633336533396139303666363365373765633836366434343466653736
|
||||
38653764353861333431633837646538303332613234633632363134313563663861326234663964
|
||||
39306364333031656634643737316562653738623436386366663034653230626632353162353565
|
||||
64613133356364366138636434333165666663633231626234326562636333666134626136656533
|
||||
33363830616637373831666230323432643863663166613061613839303538633133633466623161
|
||||
34373761313135616638336638353433393362633738313965333964376664616631333138383366
|
||||
66636463303637613263353038386436376331633539336639313264636261393037613536363233
|
||||
63363030323466316161623162626338353530326362653334326338366234316530336439356161
|
||||
61616161393966646235343064643934663830343738323231643165316338393233663432383235
|
||||
30393734643131326333626566303263313361653833363032373462386266616664636539303462
|
||||
37656566386236626564633065376666396261393132653639343931323637376333343966646666
|
||||
36643737396233653639356461666637346639663365396137336637343462616138643261636561
|
||||
66386433363734323363633135613636316537663139353838326139353966646431616135393730
|
||||
66353534313131646662323239353035636433306438326232633738343662643738373564653434
|
||||
39643636343530353664646565376161303139636264653431656630623761643234366538313135
|
||||
36633761623832306666316230313731306262333661313339623930636261663466636539643431
|
||||
66383464623433366462383363636239616635646533326531356635653664613737623636656164
|
||||
37363136323035333434646437366361356366313030353333666530366563343166636264323937
|
||||
63313033393264376138383437646235393938636466396333333561646330643438353931383033
|
||||
34383133616364666533333732613362646439373339616536353333656635666266356333373730
|
||||
38663036646530346635326337616630633031383766643832303565353162303364646365633831
|
||||
31623461323838366663643534323963643964363439356661373165643836383133663566623336
|
||||
61633431636635333239386662396663306130363864313362623832363065653265653332383537
|
||||
36353935656364396138336338383138393563363963393633616137613165333336656334633737
|
||||
33653739643438663665396165653430353535353866653563343336396461343036346534623531
|
||||
64303932643336393062343765346634663166663230343039366362326133393832313564316562
|
||||
36333733376664323531623031376138326663383037316435383938386561393030393061633738
|
||||
66386363383064353533306461393831646436396335313664303038316135373064646434336336
|
||||
66656135396662336461643266626537623533303761636166383761356339353533303631366461
|
||||
38396466323865616564656632623834376164623464323466613830313663633366376163656562
|
||||
64663662376264383330343863313134626637316133633531336534333261646631343532346436
|
||||
32616332653832613937393864316537363964373437393162653264643730326533623637353639
|
||||
66646265363463303562623935626166636463353966663233656335323338323466306334623464
|
||||
61626532356438393732646135373933636166326666316564336636313963336136373331636137
|
||||
63343964613663303665656237366463363264316134363063326263393233323263386230343761
|
||||
32656335353935313362323734613466633238386664346538356137343632623032366433393633
|
||||
65313435353334313730636264646237343230336262366163633232326639393330306637373534
|
||||
62343562343464326566326165653235353931326535626230656334353038623139643837346332
|
||||
35623133386336646535343435306538623962633030353136373831323063653261333930653166
|
||||
39326661323163636534633433663037363866646535353931336166653738306634386332646236
|
||||
39366139373933326538626166613634326333653330653636343230626138386466396466656532
|
||||
37383565366133626364393432313634303630316265373832656666623932363363613061316434
|
||||
62356239356531363236643039366437653762616364366332313833396661653863303138373262
|
||||
64323665656537333433346437613766613237356537646262353731653834373439343362356565
|
||||
61373530656134656134343763393263306165393635646538616635643136363636313030356562
|
||||
61326635373737376636383934366136396566623634653539346631333832343066373235613463
|
||||
64316536393433366336656563333733336461373033636466323936633138623465333239616538
|
||||
38383836303530356164333733333265396536333231313664633464313436653738616532363639
|
||||
33666133306562336637396133366230356162666639356238393265626164636631376539363738
|
||||
36383837636262373339313865663435643565343638313631666166636232613031306663653632
|
||||
37383430323366373163353235613138336666353430626262353830326362396265396639653635
|
||||
63383761623133383266653764613330646533396439646465343536313664666631633538626135
|
||||
32323437386531636435386161633437666133303565613139383839623530636137306531643765
|
||||
31326130376664613935613431356235656363306136643831663935383161313161303430386434
|
||||
31656364393534393666623935333237393264333839626136626531386364303431366432363037
|
||||
31663962633465353131663035656337636362313337303532396163316538613565626431623161
|
||||
66346533626135303937633364393533663134326139303661303239663332333637363866366631
|
||||
39663837393836303432383436643938613833653633663633373636623435663139303736666234
|
||||
66316365376266623235326265666438333735356638643332343438623436326561653634396638
|
||||
35393736393130373234316461336634323763396564613638393564366262376535666238353634
|
||||
66303964346537363161356238666135653666383534393338323331323364363439373839393335
|
||||
34363037306636363163626566366633336666396364646664346636613661346139326234636232
|
||||
37633033356438633833326231313733316531653137623263353765633432343637353931666437
|
||||
34336561316661393232613237353937366331643466363234383031303664386565303332663637
|
||||
64666364656166353938336665306232336338383161326331636363336634666436323532333361
|
||||
39313531633831633230656131306637356337346230343930663861383136303031666637636337
|
||||
36326439346566366461646561313665386163303634376361323033343538396138386166633166
|
||||
64393735313137653764323963323039306531656639306638663437353034363838393466353436
|
||||
34616335633235366634323233373537396130333938343133343265643665316438626635613136
|
||||
38383763646463356463326235313539356333633636303535333865393331623936633231616561
|
||||
64353337663665646333383830623966353134646563663832343839333039313130326634366162
|
||||
37363337303033393039313630333535616665643033616334646336366265373033626266383061
|
||||
39326366316663333530323632613462316538653966386463613439363137323139633232393565
|
||||
64373466333632613933356364333166303535643464393135366536326565333136656633313366
|
||||
61656361643866363931383231636636383434393637363965373836386433316564306430616233
|
||||
37653864363832363231643461343461323534616635663835386262383963376166666464313433
|
||||
65323231396162333937373261383336306665363936326237643537623235613337393738323037
|
||||
61653563333532626161343336643136663161663733346462343035373534363962616631333833
|
||||
63313633646166326538343366663865653737626162363463313862643661326231613437633964
|
||||
30643366346136653135626236663932303736643331323231366439306435643163633438353035
|
||||
32386434396638306465346165363938626135303134326335343739376563386566323964323661
|
||||
64636134306233383437656165626232643731313037316634633566646331383864343138386335
|
||||
61613562386138656339346665303962656330306261363330633161623063663433376537653037
|
||||
31633965633835366464373938343164396366393439626432336237353066376333623136333161
|
||||
34386537663964306434346364303637623264303063633531643361386437373766313336326330
|
||||
39326163633231663138393632343064306430396166663362316137616236306566663432373331
|
||||
65356661353133666138376137386363623133383338393561333365663337366637626132333735
|
||||
62383636383333323432363730353136333836636662656163323830643638623932353133313962
|
||||
33316563323865336239613466343034663730313633326364363432326433316233326166386132
|
||||
35393534343962353461303536386139373338336533653530383664303734656236646632353937
|
||||
31313563343439663461636336623364643130666330383932313839373161653433366564626530
|
||||
33303565333438323136343531313133653136633636346666316138356361326162393635376531
|
||||
36336463663863613661353664303135313233373561363866393832306333363361316462643165
|
||||
35666637663739613830386562646266643263633235623230336133653135376662643333363661
|
||||
30386531306335613538373635376664613434303833323835343235306230633038363339383432
|
||||
62623462313530393361323465353134623638363962383833373530346561303439363933646361
|
||||
39623037623835383366633635363636616330646164313664303037633665373463653233616432
|
||||
61303133663731646531616165376330333764313038353137666264346135353737613433363161
|
||||
32376365343265326239373764336466366131326661613730353536616639376364663139643138
|
||||
64353663643161653539336638336431393261343366343338396162666461356465303830363435
|
||||
30363330666563343732396262343034656264353237393238636436663661333431393332616561
|
||||
65653564353864646665306662393937623439353531613930643365313765313130336166363531
|
||||
35316537373237613364393263653764333736313563363362343436333162303464356637393261
|
||||
31376336373739626363613237633236356533646430653531656535333064313437613063383035
|
||||
63623333643461613364633538663462396138346537306538333132323231333864663632303364
|
||||
38343239613633666265303364353035313861323430666362333566363530626631333032633332
|
||||
33626364653239343436636234363934653730333839656333343161303633326530633432326231
|
||||
65303766633465396232306230343861363432393537306139663339316635643662306432373661
|
||||
37383361626261366561303632366663656135623730366462623964396332613764613636373736
|
||||
65386263353934653764636636316464303164363835313732383062356436366633616435616133
|
||||
62653361653965316332623266376636663131643464376362333061393964346265323034373962
|
||||
62333366643264656337366530303137656630666230376165633437653132303938616162346463
|
||||
31356235303039323937666134363133366632363937366662383561623764363132666634303030
|
||||
38616366666563613763623738393334363932393630303661626234626463633331643139366334
|
||||
65636661303730373264626132313835623436316561313064313062333137643737653130663835
|
||||
65323464383366393139646262626439656235306136663139323465363362633030363634636462
|
||||
32353536636538636637653834616566363833363639376666343864356231633737326130646433
|
||||
36613237323137356162386266373664653365653930623635393031386362633835383062613332
|
||||
34313166376362643338346630393132626364646539666530356637643864646136303164393130
|
||||
66616265653465626136333130653835636265383363666161316330396132356135396264323833
|
||||
31656434613535333138653733343432383331313766613966313834616665343732356430333135
|
||||
37336536363137373539303161346161343464613166663138373630646539316430633265643866
|
||||
33363335626232353736396531653065663735353039666434326465613139316266613239303263
|
||||
38646130356363643063653865656463643863396237656162303739343665333038383437663339
|
||||
39343161343666663731653265373531373465346438376463656535666136346334336431356536
|
||||
65656262383061386137373639356435323964613065613932386661386362363961656364633431
|
||||
31323037666465623466306430653133343836303330343337653131303630633231613161376636
|
||||
63386363373938396664633562313132643336353465303236313666653064626162323431303563
|
||||
62316366653735353038616537633036336430396365336433396138636465333061343164313464
|
||||
31306166396264303063366239333538366530333235646663656263613964613435326431303933
|
||||
65396137626634323432306439346364323039336366326562376531343938396632363330646538
|
||||
32386137333636323334666265383931653064303734316430393762333462396462396262343432
|
||||
39656437316564303833373132343162376238613531316465663634343934343564313336613330
|
||||
66633761353536313237363038336363376363623634373065383161666639323165383662373766
|
||||
39323361623930653764613566316462653730613632663130613039363330383533393865633233
|
||||
32613533306166633030313761376264646335356236616161666461363731313934346231376564
|
||||
31653065373237616562643739623432623132313965303161616162356439323064616331323136
|
||||
35666263373333336136336362626565363037643836346564336536633566636138396232333037
|
||||
63613134313130616432373838633964616634346132353061663337333662396339373665643030
|
||||
31323431366361643335386534393739656632386539356133613062653266643739313465653465
|
||||
63663438306362656436383634396461383233323766356632373133626139363165663734643835
|
||||
66613565353837373134373161656434396266316261643432323633393961633861313032623030
|
||||
32323830633038306166656164373465386334666266306361396266313764366136656139336562
|
||||
36326138636130383032663066363532303464386562643535383439363630643031386630373439
|
||||
31656636333034303131313433343236313661353961396533383839383734336461366164373539
|
||||
62386335623036646462306162326333666366366133633661353163386633663235646566333332
|
||||
65616533303636653066643339333765626139393561373663653663323536656433303561383738
|
||||
61636266643663363961636439303534316635383362616530656435643764383433323433613639
|
||||
36373864643164373364316536303962633533393866393965346261316632363338373065616436
|
||||
30653433386536386131643230333761363639326532333837623638643831383663333766616137
|
||||
34656665653239313936386337653435656435316261366137373138643663313630613863326261
|
||||
38336433633538393864356137616465343831626539323336626665663036653335616665323763
|
||||
32663661383966613362646431316333383466393531653364636462343634626564343438653332
|
||||
65656266626466323130363763346436333763343162373361326166636430333563373233313332
|
||||
37373032326665646265376135633765643466636533643965306161383962626533663333336536
|
||||
353133313336393639373965653035323366
|
||||
|
|
|
@ -84,11 +84,15 @@
|
|||
vars:
|
||||
prometheus_alertmanager: docker-ovh.adm.auro.re:9093
|
||||
snmp_unifi_password: "{{ vault_snmp_unifi_password }}"
|
||||
snmp_switch_community: "{{ vault_snmp_switch_community }}"
|
||||
|
||||
# Prometheus targets.json
|
||||
prometheus_targets:
|
||||
- targets: |
|
||||
{{ groups['aurore_pve'] + groups['aurore_vm'] | list | sort }}
|
||||
prometheus_switch_snmp_targets:
|
||||
- targets:
|
||||
- yggdrasil.switch.auro.re
|
||||
roles:
|
||||
- prometheus
|
||||
|
||||
|
@ -121,7 +125,6 @@
|
|||
- prometheus-rives.adm.auro.re
|
||||
- prometheus-aurore.adm.auro.re
|
||||
- prometheus-ovh.adm.auro.re
|
||||
- prometheus-federate.adm.auro.re
|
||||
roles:
|
||||
- prometheus_federate
|
||||
|
||||
|
|
|
@ -57,6 +57,13 @@
|
|||
mode: 0644
|
||||
when: prometheus_unifi_snmp_targets is defined
|
||||
|
||||
- name: Configure Prometheus Switchs
|
||||
copy:
|
||||
content: "{{ prometheus_switch_snmp_targets | to_nice_json }}"
|
||||
dest: /etc/prometheus/targets_switch_snmp.json
|
||||
mode: 0644
|
||||
when: prometheus_switch_snmp_targets is defined
|
||||
|
||||
- name: Configure Prometheus UPS SNMP devices
|
||||
copy:
|
||||
content: "{{ [{'targets': prometheus_ups_snmp_targets }] | to_nice_json }}\n"
|
||||
|
|
|
@ -8,7 +8,7 @@ global:
|
|||
# Attach these labels to any time series or alerts when communicating with
|
||||
# external systems (federation, remote storage, Alertmanager).
|
||||
external_labels:
|
||||
monitor: 'example'
|
||||
federated_instance: '{{ inventory_hostname }}'
|
||||
|
||||
# Alertmanager configuration
|
||||
# Use prometheus alertmanager installed on the same machine
|
||||
|
@ -81,6 +81,21 @@ scrape_configs:
|
|||
- target_label: __address__
|
||||
replacement: 127.0.0.1:9116
|
||||
|
||||
- job_name: switch_snmp
|
||||
file_sd_configs:
|
||||
- files:
|
||||
- "/etc/prometheus/targets_switch_snmp.json"
|
||||
metrics_path: /snmp
|
||||
params:
|
||||
module: [procurve_switch]
|
||||
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
|
||||
|
||||
- job_name: docker
|
||||
file_sd_configs:
|
||||
- files:
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
# {{ ansible_managed }}
|
||||
---
|
||||
{{ ansible_managed | comment }}
|
||||
|
||||
# TODOlist :
|
||||
# - Faire fonctionner le monitoring des switchs défini ici
|
||||
# * Configurer tous les switchs avec un compte SNMPv3
|
||||
|
@ -77,11 +79,12 @@ eatonups:
|
|||
auth:
|
||||
community: public
|
||||
|
||||
|
||||
procurve_switch:
|
||||
walk:
|
||||
- 1.3.6.1.2.1.31.1.1.1.10
|
||||
- 1.3.6.1.2.1.31.1.1.1.6
|
||||
- 1.3.6.1.2.1.31.1.1.1
|
||||
- 1.3.6.1.2.1.2.2.1.2
|
||||
- 1.3.6.1.2.1.31.1.1.1.18
|
||||
get:
|
||||
- 1.3.6.1.2.1.1.3.0
|
||||
- 1.3.6.1.2.1.1.5.0
|
||||
|
@ -90,36 +93,59 @@ procurve_switch:
|
|||
- name: sysUpTime
|
||||
oid: 1.3.6.1.2.1.1.3
|
||||
type: gauge
|
||||
help: The time (in hundredths of a second) since the network management portion
|
||||
of the system was last re-initialized. - 1.3.6.1.2.1.1.3
|
||||
help: The time (in hundredths of a second) since the network management
|
||||
portion of the system was last re-initialized. - 1.3.6.1.2.1.1.3
|
||||
- name: sysName
|
||||
oid: 1.3.6.1.2.1.1.5
|
||||
type: DisplayString
|
||||
help: An administratively-assigned name for this managed node - 1.3.6.1.2.1.1.5
|
||||
help: An administratively-assigned name for this managed node
|
||||
- 1.3.6.1.2.1.1.5
|
||||
- name: sysLocation
|
||||
oid: 1.3.6.1.2.1.1.6
|
||||
type: DisplayString
|
||||
help: The physical location of this node (e.g., 'telephone closet, 3rd floor')
|
||||
- 1.3.6.1.2.1.1.6
|
||||
help: The physical location of this node (e.g., 'telephone closet, 3rd
|
||||
floor') - 1.3.6.1.2.1.1.6
|
||||
- name: ifHCOutOctets
|
||||
oid: 1.3.6.1.2.1.31.1.1.1.10
|
||||
type: counter
|
||||
help: The total number of octets transmitted out of the interface, including framing
|
||||
characters - 1.3.6.1.2.1.31.1.1.1.10
|
||||
help: The total number of octets transmitted out of the interface,
|
||||
including framing characters - 1.3.6.1.2.1.31.1.1.1.10
|
||||
indexes:
|
||||
- labelname: ifIndex
|
||||
type: gauge
|
||||
lookups:
|
||||
- labels:
|
||||
- ifIndex
|
||||
labelname: ifDescr
|
||||
oid: 1.3.6.1.2.1.2.2.1.2
|
||||
type: DisplayString
|
||||
- labels:
|
||||
- ifIndex
|
||||
labelname: ifName
|
||||
oid: 1.3.6.1.2.1.31.1.1.1.1
|
||||
type: DisplayString
|
||||
- name: ifHCInOctets
|
||||
oid: 1.3.6.1.2.1.31.1.1.1.6
|
||||
type: counter
|
||||
help: The total number of octets received on the interface, including framing
|
||||
characters - 1.3.6.1.2.1.31.1.1.1.6
|
||||
help: The total number of octets received on the interface, including
|
||||
framing characters - 1.3.6.1.2.1.31.1.1.1.6
|
||||
indexes:
|
||||
- labelname: ifIndex
|
||||
type: gauge
|
||||
version: 3
|
||||
lookups:
|
||||
- labels:
|
||||
- ifIndex
|
||||
labelname: ifDescr
|
||||
oid: 1.3.6.1.2.1.2.2.1.2
|
||||
type: DisplayString
|
||||
- labels:
|
||||
- ifIndex
|
||||
labelname: ifName
|
||||
oid: 1.3.6.1.2.1.31.1.1.1.1
|
||||
type: DisplayString
|
||||
version: 2
|
||||
auth:
|
||||
username: prometheus
|
||||
community: "{{ snmp_switch_community }}"
|
||||
|
||||
ubiquiti_unifi:
|
||||
walk:
|
||||
|
@ -385,3 +411,4 @@ ubiquiti_unifi:
|
|||
auth_protocol: SHA
|
||||
priv_protocol: AES
|
||||
priv_password: {{ snmp_unifi_password }}
|
||||
...
|
||||
|
|
|
@ -23,7 +23,6 @@
|
|||
notify: Restart Prometheus
|
||||
loop:
|
||||
- alert.rules.yml
|
||||
- django.rules.yml
|
||||
|
||||
# We don't need to restart Prometheus when updating nodes
|
||||
- name: Configure Prometheus Federate devices
|
||||
|
@ -44,3 +43,4 @@
|
|||
src: update-motd.d/05-service.j2
|
||||
dest: /etc/update-motd.d/05-prometheus
|
||||
mode: 0755
|
||||
...
|
||||
|
|
|
@ -1,138 +1,16 @@
|
|||
# {{ ansible_managed }}
|
||||
{# As this is also Jinja2 it will conflict without a raw block #}
|
||||
{# Depending of Prometheus Node exporter version, rules can change depending of version #}
|
||||
{% raw %}
|
||||
groups:
|
||||
- name: alert.rules
|
||||
rules:
|
||||
---
|
||||
{{ ansible_managed | comment }}
|
||||
|
||||
# Alert for any instance that is unreachable for >3 minutes.
|
||||
- alert: InstanceDown
|
||||
expr: up == 0
|
||||
groups:
|
||||
- name: alert.rules
|
||||
rules:
|
||||
- alert: FederateInstanceDown
|
||||
expr: up{job="federate"} == 0
|
||||
for: 3m
|
||||
labels:
|
||||
severity: critical
|
||||
annotations:
|
||||
summary: "Federate : {{ $labels.exported_instance }} est invisible depuis plus de 3 minutes !"
|
||||
|
||||
# Alert for out of memory
|
||||
- alert: OutOfMemory
|
||||
expr: (node_memory_MemFree_bytes + node_memory_Cached_bytes + node_memory_Buffers_bytes) / node_memory_MemTotal_bytes * 100 < 10
|
||||
for: 5m
|
||||
labels:
|
||||
severity: warning
|
||||
annotations:
|
||||
summary: "Federate : Mémoire libre de {{ $labels.exported_instance }} à {{ humanize $value }}%."
|
||||
|
||||
# Alert for out of disk space
|
||||
- alert: OutOfDiskSpace
|
||||
expr: node_filesystem_free_bytes{fstype="ext4"} / node_filesystem_size_bytes{fstype="ext4"} * 100 < 10
|
||||
for: 5m
|
||||
labels:
|
||||
severity: warning
|
||||
annotations:
|
||||
summary: "Espace libre de {{ $labels.mountpoint }} sur {{ $labels.exported_instance }} à {{ humanize $value }}%."
|
||||
|
||||
# Alert for out of inode space on disk
|
||||
- alert: OutOfInodes
|
||||
expr: node_filesystem_files_free{fstype="ext4"} / node_filesystem_files{fstype="ext4"} * 100 < 10
|
||||
for: 5m
|
||||
labels:
|
||||
severity: warning
|
||||
annotations:
|
||||
summary: "Federate : Presque plus d'inodes disponibles ({{ $value }}% restant) dans {{ $labels.mountpoint }} sur {{ $labels.exported_instance }}."
|
||||
|
||||
# Alert for high CPU usage
|
||||
- alert: CpuUsage
|
||||
expr: (100 - avg by (instance) (irate(node_cpu_seconds_total{mode="idle"}[5m])) * 100) > 75
|
||||
for: 10m
|
||||
labels:
|
||||
severity: warning
|
||||
annotations:
|
||||
summary: "Federate : CPU sur {{ $labels.exported_instance }} à {{ humanize $value }}%."
|
||||
|
||||
# Check systemd unit (> buster)
|
||||
- alert: SystemdServiceFailed
|
||||
expr: node_systemd_unit_state{state="failed"} == 1
|
||||
for: 10m
|
||||
labels:
|
||||
severity: warning
|
||||
annotations:
|
||||
summary: "Federate : {{ $labels.name }} a échoué sur {{ $labels.exported_instance }}"
|
||||
|
||||
# Check load of instance
|
||||
- alert: LoadUsage
|
||||
expr: node_load1 > 5
|
||||
for: 2m
|
||||
labels:
|
||||
severity: warning
|
||||
annotations:
|
||||
summary: "Federate : la charge de {{ $labels.exported_instance }} est à {{ $value }} !"
|
||||
|
||||
# Check UPS
|
||||
- alert: UpsOutputSourceChanged
|
||||
expr: upsOutputSource != 3
|
||||
for: 1m
|
||||
labels:
|
||||
severity: warning
|
||||
annotations:
|
||||
summary: "Federate : La source d'alimentation de {{ $labels.exported_instance }} a changé !"
|
||||
|
||||
- alert: UpsBatteryStatusWarning
|
||||
expr: upsBatteryStatus == 3
|
||||
for: 2m
|
||||
labels:
|
||||
severity: warning
|
||||
annotations:
|
||||
summary: "Federate : L'état de la batterie de {{ $labels.exported_instance }} est faible !"
|
||||
|
||||
- alert: UpsBatteryStatusCritical
|
||||
expr: upsBatteryStatus == 4
|
||||
for: 10m
|
||||
labels:
|
||||
severity: warning
|
||||
annotations:
|
||||
summary: "L'état de la batterie de {{ $labels.exported_instance }} est affaibli !"
|
||||
|
||||
- alert: UpsHighLoad
|
||||
expr: upsOutputPercentLoad > 70
|
||||
for: 5m
|
||||
labels:
|
||||
severity: critical
|
||||
annotations:
|
||||
summary: "Federate : La charge de {{ $labels.exported_instance }} est de {{ $value }}% !"
|
||||
|
||||
- alert: UpsWrongInputVoltage
|
||||
expr: (upsInputVoltage < 210) or (upsInputVoltage > 250)
|
||||
for: 10m
|
||||
labels:
|
||||
severity: warning
|
||||
annotations:
|
||||
summary: "Federate : La tension d'entrée de {{ $labels.exported_instance }} est de {{ $value }}V."
|
||||
|
||||
- alert: UpsWrongOutputVoltage
|
||||
expr: (upsOutputVoltage < 220) or (upsOutputVoltage > 240)
|
||||
for: 10m
|
||||
labels:
|
||||
severity: warning
|
||||
annotations:
|
||||
summary: "Federate : La tension de sortie de {{ $labels.exported_instance }} est de {{ $value }}V."
|
||||
|
||||
- alert: UpsTimeRemainingWarning
|
||||
expr: upsEstimatedMinutesRemaining < 15
|
||||
for: 1m
|
||||
labels:
|
||||
severity: warning
|
||||
annotations:
|
||||
summary: "Federate : L'autonomie restante sur {{ $labels.exported_instance }} est de {{ $value }} min."
|
||||
|
||||
- alert: UpsTimeRemainingCritical
|
||||
expr: upsEstimatedMinutesRemaining < 5
|
||||
for: 1m
|
||||
labels:
|
||||
severity: critical
|
||||
annotations:
|
||||
summary: "Federate : L'autonomie restante sur {{ $labels.exported_instance }} est de {{ $value }} min."
|
||||
|
||||
|
||||
{% endraw %}
|
||||
summary: >-
|
||||
Federate : {{ "{{" }} $labels.instance {{ "}}" }} est invisible
|
||||
depuis plus de 3 minutes !
|
||||
...
|
||||
|
|
|
@ -1,106 +0,0 @@
|
|||
# {{ ansible_managed }}
|
||||
{# As this is also Jinja2 it will conflict without a raw block #}
|
||||
{% raw %}
|
||||
groups:
|
||||
- name: django.rules
|
||||
rules:
|
||||
- record: job:django_http_requests_before_middlewares_total:sum_rate30s
|
||||
expr: sum(rate(django_http_requests_before_middlewares_total[30s])) BY (job)
|
||||
- record: job:django_http_requests_unknown_latency_total:sum_rate30s
|
||||
expr: sum(rate(django_http_requests_unknown_latency_total[30s])) BY (job)
|
||||
- record: job:django_http_ajax_requests_total:sum_rate30s
|
||||
expr: sum(rate(django_http_ajax_requests_total[30s])) BY (job)
|
||||
- record: job:django_http_responses_before_middlewares_total:sum_rate30s
|
||||
expr: sum(rate(django_http_responses_before_middlewares_total[30s])) BY (job)
|
||||
- record: job:django_http_requests_unknown_latency_including_middlewares_total:sum_rate30s
|
||||
expr: sum(rate(django_http_requests_unknown_latency_including_middlewares_total[30s]))
|
||||
BY (job)
|
||||
- record: job:django_http_requests_body_total_bytes:sum_rate30s
|
||||
expr: sum(rate(django_http_requests_body_total_bytes[30s])) BY (job)
|
||||
- record: job:django_http_responses_streaming_total:sum_rate30s
|
||||
expr: sum(rate(django_http_responses_streaming_total[30s])) BY (job)
|
||||
- record: job:django_http_responses_body_total_bytes:sum_rate30s
|
||||
expr: sum(rate(django_http_responses_body_total_bytes[30s])) BY (job)
|
||||
- record: job:django_http_requests_total:sum_rate30s
|
||||
expr: sum(rate(django_http_requests_total_by_method[30s])) BY (job)
|
||||
- record: job:django_http_requests_total_by_method:sum_rate30s
|
||||
expr: sum(rate(django_http_requests_total_by_method[30s])) BY (job, method)
|
||||
- record: job:django_http_requests_total_by_transport:sum_rate30s
|
||||
expr: sum(rate(django_http_requests_total_by_transport[30s])) BY (job, transport)
|
||||
- record: job:django_http_requests_total_by_view:sum_rate30s
|
||||
expr: sum(rate(django_http_requests_total_by_view_transport_method[30s])) BY (job,
|
||||
view)
|
||||
- record: job:django_http_requests_total_by_view_transport_method:sum_rate30s
|
||||
expr: sum(rate(django_http_requests_total_by_view_transport_method[30s])) BY (job,
|
||||
view, transport, method)
|
||||
- record: job:django_http_responses_total_by_templatename:sum_rate30s
|
||||
expr: sum(rate(django_http_responses_total_by_templatename[30s])) BY (job, templatename)
|
||||
- record: job:django_http_responses_total_by_status:sum_rate30s
|
||||
expr: sum(rate(django_http_responses_total_by_status[30s])) BY (job, status)
|
||||
- record: job:django_http_responses_total_by_charset:sum_rate30s
|
||||
expr: sum(rate(django_http_responses_total_by_charset[30s])) BY (job, charset)
|
||||
- record: job:django_http_exceptions_total_by_type:sum_rate30s
|
||||
expr: sum(rate(django_http_exceptions_total_by_type[30s])) BY (job, type)
|
||||
- record: job:django_http_exceptions_total_by_view:sum_rate30s
|
||||
expr: sum(rate(django_http_exceptions_total_by_view[30s])) BY (job, view)
|
||||
- record: job:django_http_requests_latency_including_middlewares_seconds:quantile_rate30s
|
||||
expr: histogram_quantile(0.5, sum(rate(django_http_requests_latency_including_middlewares_seconds_bucket[30s]))
|
||||
BY (job, le))
|
||||
labels:
|
||||
quantile: "50"
|
||||
- record: job:django_http_requests_latency_including_middlewares_seconds:quantile_rate30s
|
||||
expr: histogram_quantile(0.95, sum(rate(django_http_requests_latency_including_middlewares_seconds_bucket[30s]))
|
||||
BY (job, le))
|
||||
labels:
|
||||
quantile: "95"
|
||||
- record: job:django_http_requests_latency_including_middlewares_seconds:quantile_rate30s
|
||||
expr: histogram_quantile(0.99, sum(rate(django_http_requests_latency_including_middlewares_seconds_bucket[30s]))
|
||||
BY (job, le))
|
||||
labels:
|
||||
quantile: "99"
|
||||
- record: job:django_http_requests_latency_including_middlewares_seconds:quantile_rate30s
|
||||
expr: histogram_quantile(0.999, sum(rate(django_http_requests_latency_including_middlewares_seconds_bucket[30s]))
|
||||
BY (job, le))
|
||||
labels:
|
||||
quantile: "99.9"
|
||||
- record: job:django_http_requests_latency_seconds:quantile_rate30s
|
||||
expr: histogram_quantile(0.5, sum(rate(django_http_requests_latency_seconds_bucket[30s]))
|
||||
BY (job, le))
|
||||
labels:
|
||||
quantile: "50"
|
||||
- record: job:django_http_requests_latency_seconds:quantile_rate30s
|
||||
expr: histogram_quantile(0.95, sum(rate(django_http_requests_latency_seconds_bucket[30s]))
|
||||
BY (job, le))
|
||||
labels:
|
||||
quantile: "95"
|
||||
- record: job:django_http_requests_latency_seconds:quantile_rate30s
|
||||
expr: histogram_quantile(0.99, sum(rate(django_http_requests_latency_seconds_bucket[30s]))
|
||||
BY (job, le))
|
||||
labels:
|
||||
quantile: "99"
|
||||
- record: job:django_http_requests_latency_seconds:quantile_rate30s
|
||||
expr: histogram_quantile(0.999, sum(rate(django_http_requests_latency_seconds_bucket[30s]))
|
||||
BY (job, le))
|
||||
labels:
|
||||
quantile: "99.9"
|
||||
- record: job:django_model_inserts_total:sum_rate1m
|
||||
expr: sum(rate(django_model_inserts_total[1m])) BY (job, model)
|
||||
- record: job:django_model_updates_total:sum_rate1m
|
||||
expr: sum(rate(django_model_updates_total[1m])) BY (job, model)
|
||||
- record: job:django_model_deletes_total:sum_rate1m
|
||||
expr: sum(rate(django_model_deletes_total[1m])) BY (job, model)
|
||||
- record: job:django_db_new_connections_total:sum_rate30s
|
||||
expr: sum(rate(django_db_new_connections_total[30s])) BY (alias, vendor)
|
||||
- record: job:django_db_new_connection_errors_total:sum_rate30s
|
||||
expr: sum(rate(django_db_new_connection_errors_total[30s])) BY (alias, vendor)
|
||||
- record: job:django_db_execute_total:sum_rate30s
|
||||
expr: sum(rate(django_db_execute_total[30s])) BY (alias, vendor)
|
||||
- record: job:django_db_execute_many_total:sum_rate30s
|
||||
expr: sum(rate(django_db_execute_many_total[30s])) BY (alias, vendor)
|
||||
- record: job:django_db_errors_total:sum_rate30s
|
||||
expr: sum(rate(django_db_errors_total[30s])) BY (alias, vendor, type)
|
||||
- record: job:django_migrations_applied_total:max
|
||||
expr: max(django_migrations_applied_total) BY (job, connection)
|
||||
- record: job:django_migrations_unapplied_total:max
|
||||
expr: max(django_migrations_unapplied_total) BY (job, connection)
|
||||
{% endraw %}
|
|
@ -1,50 +1,35 @@
|
|||
# {{ ansible_managed }}
|
||||
---
|
||||
{{ ansible_managed | comment }}
|
||||
|
||||
global:
|
||||
# scrape_interval is set to the global default (60s)
|
||||
# evaluation_interval is set to the global default (60s)
|
||||
# scrape_timeout is set to the global default (10s).
|
||||
|
||||
# Attach these labels to any time series or alerts when communicating with
|
||||
# external systems (federation, remote storage, Alertmanager).
|
||||
external_labels:
|
||||
monitor: 'example'
|
||||
monitor: '{{ ansible_fqdn }}'
|
||||
|
||||
# Alertmanager configuration
|
||||
# Use prometheus alertmanager installed on the same machine
|
||||
alerting:
|
||||
alertmanagers:
|
||||
- static_configs:
|
||||
- targets: ['{{ prometheus_alertmanager }}']
|
||||
|
||||
# Load rules once and periodically evaluate them according to the global 'evaluation_interval'.
|
||||
rule_files:
|
||||
- "alert.rules.yml" # Monitoring alerts, this is the file you may be searching!
|
||||
- "django.rules.yml" # Custom rules specific for Django project monitoring
|
||||
- 'alert.rules.yml'
|
||||
|
||||
# A scrape configuration containing exactly one endpoint to scrape:
|
||||
# Here it's Prometheus itself.
|
||||
scrape_configs:
|
||||
# The .json in file_sd_configs is dynamically reloaded
|
||||
|
||||
|
||||
- job_name: federate
|
||||
scrape_interval: 15s
|
||||
scrape_interval: 30s
|
||||
metrics_path: '/federate'
|
||||
honor_labels: true
|
||||
honor_timestamps: true
|
||||
file_sd_configs:
|
||||
- files:
|
||||
- '/etc/prometheus/targets.json'
|
||||
relabel_configs:
|
||||
# Do not put :9100 in instance name, rather here
|
||||
- source_labels: [__address__]
|
||||
target_label: __param_target
|
||||
- source_labels: [__param_target]
|
||||
target_label: instance
|
||||
- source_labels: [__param_target]
|
||||
target_label: __address__
|
||||
replacement: '$1:9090'
|
||||
params:
|
||||
'match[]':
|
||||
match[]:
|
||||
- '{job="servers"}'
|
||||
- '{job="prometheus"}'
|
||||
- '{job="unifi_snmp"}'
|
||||
|
@ -53,4 +38,4 @@ scrape_configs:
|
|||
- '{job="django"}'
|
||||
- '{job="docker"}'
|
||||
- '{job="switch"}'
|
||||
|
||||
...
|
||||
|
|
|
@ -1,387 +0,0 @@
|
|||
# {{ ansible_managed }}
|
||||
# TODOlist :
|
||||
# - Faire fonctionner le monitoring des switchs défini ici
|
||||
# * Configurer tous les switchs avec un compte SNMPv3
|
||||
# * Mettre l'inventaire des switchs dans Ansible
|
||||
# - Optimiser les règles pour les bornes Unifi,
|
||||
# on pourrait indexer avec les SSID
|
||||
|
||||
eatonups:
|
||||
walk:
|
||||
- 1.3.6.1.2.1.33.1.2
|
||||
- 1.3.6.1.2.1.33.1.3
|
||||
- 1.3.6.1.2.1.33.1.4
|
||||
- 1.3.6.1.4.1.534.1.6
|
||||
get:
|
||||
- 1.3.6.1.2.1.1.3.0
|
||||
metrics:
|
||||
- name: sysUpTime
|
||||
oid: 1.3.6.1.2.1.1.3
|
||||
type: gauge
|
||||
help: The time (in hundredths of a second) since the network management portion
|
||||
of the system was last re-initialized. - 1.3.6.1.2.1.1.3
|
||||
- name: upsBatteryStatus
|
||||
oid: 1.3.6.1.2.1.33.1.2.1
|
||||
type: gauge
|
||||
help: The indication of the capacity remaining in the UPS system's batteries -
|
||||
1.3.6.1.2.1.33.1.2.1
|
||||
- name: upsEstimatedMinutesRemaining
|
||||
oid: 1.3.6.1.2.1.33.1.2.3
|
||||
type: gauge
|
||||
help: An estimate of the time to battery charge depletion under the present load
|
||||
conditions if the utility power is off and remains off, or if it were to be
|
||||
lost and remain off. - 1.3.6.1.2.1.33.1.2.3
|
||||
- name: upsInputVoltage
|
||||
oid: 1.3.6.1.2.1.33.1.3.3.1.3
|
||||
type: gauge
|
||||
help: The magnitude of the present input voltage. - 1.3.6.1.2.1.33.1.3.3.1.3
|
||||
indexes:
|
||||
- labelname: upsInputLineIndex
|
||||
type: gauge
|
||||
- name: upsOutputSource
|
||||
oid: 1.3.6.1.2.1.33.1.4.1
|
||||
type: gauge
|
||||
help: The present source of output power - 1.3.6.1.2.1.33.1.4.1
|
||||
- name: upsOutputVoltage
|
||||
oid: 1.3.6.1.2.1.33.1.4.4.1.2
|
||||
type: gauge
|
||||
help: The present output voltage. - 1.3.6.1.2.1.33.1.4.4.1.2
|
||||
indexes:
|
||||
- labelname: upsOutputLineIndex
|
||||
type: gauge
|
||||
- name: upsOutputPower
|
||||
oid: 1.3.6.1.2.1.33.1.4.4.1.4
|
||||
type: gauge
|
||||
help: The present output true power. - 1.3.6.1.2.1.33.1.4.4.1.4
|
||||
indexes:
|
||||
- labelname: upsOutputLineIndex
|
||||
type: gauge
|
||||
- name: upsOutputPercentLoad
|
||||
oid: 1.3.6.1.2.1.33.1.4.4.1.5
|
||||
type: gauge
|
||||
help: The percentage of the UPS power capacity presently being used on this output
|
||||
line, i.e., the greater of the percent load of true power capacity and the percent
|
||||
load of VA. - 1.3.6.1.2.1.33.1.4.4.1.5
|
||||
indexes:
|
||||
- labelname: upsOutputLineIndex
|
||||
type: gauge
|
||||
- name: xupsEnvRemoteTemp
|
||||
oid: 1.3.6.1.4.1.534.1.6.5
|
||||
type: gauge
|
||||
help: The reading of an EMP's temperature sensor. - 1.3.6.1.4.1.534.1.6.5
|
||||
- name: xupsEnvRemoteHumidity
|
||||
oid: 1.3.6.1.4.1.534.1.6.6
|
||||
type: gauge
|
||||
help: The reading of an EMP's humidity sensor. - 1.3.6.1.4.1.534.1.6.6
|
||||
version: 1
|
||||
auth:
|
||||
community: public
|
||||
|
||||
|
||||
procurve_switch:
|
||||
walk:
|
||||
- 1.3.6.1.2.1.31.1.1.1.10
|
||||
- 1.3.6.1.2.1.31.1.1.1.6
|
||||
get:
|
||||
- 1.3.6.1.2.1.1.3.0
|
||||
- 1.3.6.1.2.1.1.5.0
|
||||
- 1.3.6.1.2.1.1.6.0
|
||||
metrics:
|
||||
- name: sysUpTime
|
||||
oid: 1.3.6.1.2.1.1.3
|
||||
type: gauge
|
||||
help: The time (in hundredths of a second) since the network management portion
|
||||
of the system was last re-initialized. - 1.3.6.1.2.1.1.3
|
||||
- name: sysName
|
||||
oid: 1.3.6.1.2.1.1.5
|
||||
type: DisplayString
|
||||
help: An administratively-assigned name for this managed node - 1.3.6.1.2.1.1.5
|
||||
- name: sysLocation
|
||||
oid: 1.3.6.1.2.1.1.6
|
||||
type: DisplayString
|
||||
help: The physical location of this node (e.g., 'telephone closet, 3rd floor')
|
||||
- 1.3.6.1.2.1.1.6
|
||||
- name: ifHCOutOctets
|
||||
oid: 1.3.6.1.2.1.31.1.1.1.10
|
||||
type: counter
|
||||
help: The total number of octets transmitted out of the interface, including framing
|
||||
characters - 1.3.6.1.2.1.31.1.1.1.10
|
||||
indexes:
|
||||
- labelname: ifIndex
|
||||
type: gauge
|
||||
- name: ifHCInOctets
|
||||
oid: 1.3.6.1.2.1.31.1.1.1.6
|
||||
type: counter
|
||||
help: The total number of octets received on the interface, including framing
|
||||
characters - 1.3.6.1.2.1.31.1.1.1.6
|
||||
indexes:
|
||||
- labelname: ifIndex
|
||||
type: gauge
|
||||
version: 3
|
||||
auth:
|
||||
username: prometheus
|
||||
|
||||
ubiquiti_unifi:
|
||||
walk:
|
||||
- 1.3.6.1.4.1.41112.1.6
|
||||
get:
|
||||
- 1.3.6.1.2.1.1.5.0
|
||||
- 1.3.6.1.2.1.1.6.0
|
||||
metrics:
|
||||
# Pour faire une WifiMap un jour, on peut entrer la location dans la conf des bornes
|
||||
# - name: sysLocation
|
||||
# oid: 1.3.6.1.2.1.1.6
|
||||
# type: DisplayString
|
||||
# help: The physical location of this node (e.g., 'telephone closet, 3rd floor')
|
||||
# - 1.3.6.1.2.1.1.6
|
||||
- name: unifiVapIndex
|
||||
oid: 1.3.6.1.4.1.41112.1.6.1.2.1.1
|
||||
type: gauge
|
||||
help: ' - 1.3.6.1.4.1.41112.1.6.1.2.1.1'
|
||||
indexes:
|
||||
- labelname: unifiVapIndex
|
||||
type: gauge
|
||||
- name: unifiVapChannel
|
||||
oid: 1.3.6.1.4.1.41112.1.6.1.2.1.4
|
||||
type: gauge
|
||||
help: ' - 1.3.6.1.4.1.41112.1.6.1.2.1.4'
|
||||
indexes:
|
||||
- labelname: unifiVapIndex
|
||||
type: gauge
|
||||
- name: unifiVapEssId
|
||||
oid: 1.3.6.1.4.1.41112.1.6.1.2.1.6
|
||||
type: DisplayString
|
||||
help: ' - 1.3.6.1.4.1.41112.1.6.1.2.1.6'
|
||||
indexes:
|
||||
- labelname: unifiVapIndex
|
||||
type: gauge
|
||||
- name: unifiVapName
|
||||
oid: 1.3.6.1.4.1.41112.1.6.1.2.1.7
|
||||
type: DisplayString
|
||||
help: ' - 1.3.6.1.4.1.41112.1.6.1.2.1.7'
|
||||
indexes:
|
||||
- labelname: unifiVapIndex
|
||||
type: gauge
|
||||
- name: unifi_vap_num_stations
|
||||
oid: 1.3.6.1.4.1.41112.1.6.1.2.1.8
|
||||
type: gauge
|
||||
help: ' - 1.3.6.1.4.1.41112.1.6.1.2.1.8'
|
||||
indexes:
|
||||
- labelname: unifi_vap_index
|
||||
type: gauge
|
||||
lookups:
|
||||
- labels: [unifi_vap_index]
|
||||
labelname: unifi_vap_essid
|
||||
oid: 1.3.6.1.4.1.41112.1.6.1.2.1.6
|
||||
type: DisplayString
|
||||
- labels: [unifi_vap_index]
|
||||
labelname: unifi_vap_radio
|
||||
oid: 1.3.6.1.4.1.41112.1.6.1.2.1.9
|
||||
type: DisplayString
|
||||
- labels: []
|
||||
labelname: unifi_vap_index
|
||||
# - name: unifiVapNumStations
|
||||
# oid: 1.3.6.1.4.1.41112.1.6.1.2.1.8
|
||||
# type: gauge
|
||||
# help: ' - 1.3.6.1.4.1.41112.1.6.1.2.1.8'
|
||||
# indexes:
|
||||
# - labelname: unifiVapIndex
|
||||
# type: gauge
|
||||
- name: unifiVapRadio
|
||||
oid: 1.3.6.1.4.1.41112.1.6.1.2.1.9
|
||||
type: DisplayString
|
||||
help: ' - 1.3.6.1.4.1.41112.1.6.1.2.1.9'
|
||||
indexes:
|
||||
- labelname: unifiVapIndex
|
||||
type: gauge
|
||||
- name: unifiVapRxBytes
|
||||
oid: 1.3.6.1.4.1.41112.1.6.1.2.1.10
|
||||
type: counter
|
||||
help: ' - 1.3.6.1.4.1.41112.1.6.1.2.1.10'
|
||||
indexes:
|
||||
- labelname: unifiVapIndex
|
||||
type: gauge
|
||||
- name: unifiVapRxCrypts
|
||||
oid: 1.3.6.1.4.1.41112.1.6.1.2.1.11
|
||||
type: counter
|
||||
help: ' - 1.3.6.1.4.1.41112.1.6.1.2.1.11'
|
||||
indexes:
|
||||
- labelname: unifiVapIndex
|
||||
type: gauge
|
||||
- name: unifiVapRxDropped
|
||||
oid: 1.3.6.1.4.1.41112.1.6.1.2.1.12
|
||||
type: counter
|
||||
help: ' - 1.3.6.1.4.1.41112.1.6.1.2.1.12'
|
||||
indexes:
|
||||
- labelname: unifiVapIndex
|
||||
type: gauge
|
||||
- name: unifiVapRxErrors
|
||||
oid: 1.3.6.1.4.1.41112.1.6.1.2.1.13
|
||||
type: counter
|
||||
help: ' - 1.3.6.1.4.1.41112.1.6.1.2.1.13'
|
||||
indexes:
|
||||
- labelname: unifiVapIndex
|
||||
type: gauge
|
||||
- name: unifiVapRxFrags
|
||||
oid: 1.3.6.1.4.1.41112.1.6.1.2.1.14
|
||||
type: counter
|
||||
help: ' - 1.3.6.1.4.1.41112.1.6.1.2.1.14'
|
||||
indexes:
|
||||
- labelname: unifiVapIndex
|
||||
type: gauge
|
||||
- name: unifiVapRxPackets
|
||||
oid: 1.3.6.1.4.1.41112.1.6.1.2.1.15
|
||||
type: counter
|
||||
help: ' - 1.3.6.1.4.1.41112.1.6.1.2.1.15'
|
||||
indexes:
|
||||
- labelname: unifiVapIndex
|
||||
type: gauge
|
||||
- name: unifiVapTxBytes
|
||||
oid: 1.3.6.1.4.1.41112.1.6.1.2.1.16
|
||||
type: counter
|
||||
help: ' - 1.3.6.1.4.1.41112.1.6.1.2.1.16'
|
||||
indexes:
|
||||
- labelname: unifiVapIndex
|
||||
type: gauge
|
||||
- name: unifiVapTxDropped
|
||||
oid: 1.3.6.1.4.1.41112.1.6.1.2.1.17
|
||||
type: counter
|
||||
help: ' - 1.3.6.1.4.1.41112.1.6.1.2.1.17'
|
||||
indexes:
|
||||
- labelname: unifiVapIndex
|
||||
type: gauge
|
||||
- name: unifiVapTxErrors
|
||||
oid: 1.3.6.1.4.1.41112.1.6.1.2.1.18
|
||||
type: counter
|
||||
help: ' - 1.3.6.1.4.1.41112.1.6.1.2.1.18'
|
||||
indexes:
|
||||
- labelname: unifiVapIndex
|
||||
type: gauge
|
||||
- name: unifiVapTxPackets
|
||||
oid: 1.3.6.1.4.1.41112.1.6.1.2.1.19
|
||||
type: counter
|
||||
help: ' - 1.3.6.1.4.1.41112.1.6.1.2.1.19'
|
||||
indexes:
|
||||
- labelname: unifiVapIndex
|
||||
type: gauge
|
||||
- name: unifiVapTxRetries
|
||||
oid: 1.3.6.1.4.1.41112.1.6.1.2.1.20
|
||||
type: counter
|
||||
help: ' - 1.3.6.1.4.1.41112.1.6.1.2.1.20'
|
||||
indexes:
|
||||
- labelname: unifiVapIndex
|
||||
type: gauge
|
||||
- name: unifiVapTxPower
|
||||
oid: 1.3.6.1.4.1.41112.1.6.1.2.1.21
|
||||
type: gauge
|
||||
help: ' - 1.3.6.1.4.1.41112.1.6.1.2.1.21'
|
||||
indexes:
|
||||
- labelname: unifiVapIndex
|
||||
type: gauge
|
||||
- name: unifiVapUp
|
||||
oid: 1.3.6.1.4.1.41112.1.6.1.2.1.22
|
||||
type: gauge
|
||||
help: ' - 1.3.6.1.4.1.41112.1.6.1.2.1.22'
|
||||
indexes:
|
||||
- labelname: unifiVapIndex
|
||||
type: gauge
|
||||
- name: unifiVapUsage
|
||||
oid: 1.3.6.1.4.1.41112.1.6.1.2.1.23
|
||||
type: DisplayString
|
||||
help: guest or regular user - 1.3.6.1.4.1.41112.1.6.1.2.1.23
|
||||
indexes:
|
||||
- labelname: unifiVapIndex
|
||||
type: gauge
|
||||
- name: unifiIfIndex
|
||||
oid: 1.3.6.1.4.1.41112.1.6.2.1.1.1
|
||||
type: gauge
|
||||
help: ' - 1.3.6.1.4.1.41112.1.6.2.1.1.1'
|
||||
indexes:
|
||||
- labelname: unifiIfIndex
|
||||
type: gauge
|
||||
- name: unifiIfName
|
||||
oid: 1.3.6.1.4.1.41112.1.6.2.1.1.5
|
||||
type: DisplayString
|
||||
help: ' - 1.3.6.1.4.1.41112.1.6.2.1.1.5'
|
||||
indexes:
|
||||
- labelname: unifiIfIndex
|
||||
type: gauge
|
||||
- name: unifiIfRxBytes
|
||||
oid: 1.3.6.1.4.1.41112.1.6.2.1.1.6
|
||||
type: counter
|
||||
help: ' - 1.3.6.1.4.1.41112.1.6.2.1.1.6'
|
||||
indexes:
|
||||
- labelname: unifiIfIndex
|
||||
type: gauge
|
||||
- name: unifiIfRxDropped
|
||||
oid: 1.3.6.1.4.1.41112.1.6.2.1.1.7
|
||||
type: counter
|
||||
help: ' - 1.3.6.1.4.1.41112.1.6.2.1.1.7'
|
||||
indexes:
|
||||
- labelname: unifiIfIndex
|
||||
type: gauge
|
||||
- name: unifiIfRxError
|
||||
oid: 1.3.6.1.4.1.41112.1.6.2.1.1.8
|
||||
type: counter
|
||||
help: ' - 1.3.6.1.4.1.41112.1.6.2.1.1.8'
|
||||
indexes:
|
||||
- labelname: unifiIfIndex
|
||||
type: gauge
|
||||
- name: unifiIfRxMulticast
|
||||
oid: 1.3.6.1.4.1.41112.1.6.2.1.1.9
|
||||
type: counter
|
||||
help: ' - 1.3.6.1.4.1.41112.1.6.2.1.1.9'
|
||||
indexes:
|
||||
- labelname: unifiIfIndex
|
||||
type: gauge
|
||||
- name: unifiIfRxPackets
|
||||
oid: 1.3.6.1.4.1.41112.1.6.2.1.1.10
|
||||
type: counter
|
||||
help: ' - 1.3.6.1.4.1.41112.1.6.2.1.1.10'
|
||||
indexes:
|
||||
- labelname: unifiIfIndex
|
||||
type: gauge
|
||||
- name: unifiIfTxBytes
|
||||
oid: 1.3.6.1.4.1.41112.1.6.2.1.1.12
|
||||
type: counter
|
||||
help: ' - 1.3.6.1.4.1.41112.1.6.2.1.1.12'
|
||||
indexes:
|
||||
- labelname: unifiIfIndex
|
||||
type: gauge
|
||||
- name: unifiIfTxDropped
|
||||
oid: 1.3.6.1.4.1.41112.1.6.2.1.1.13
|
||||
type: counter
|
||||
help: ' - 1.3.6.1.4.1.41112.1.6.2.1.1.13'
|
||||
indexes:
|
||||
- labelname: unifiIfIndex
|
||||
type: gauge
|
||||
- name: unifiIfTxError
|
||||
oid: 1.3.6.1.4.1.41112.1.6.2.1.1.14
|
||||
type: counter
|
||||
help: ' - 1.3.6.1.4.1.41112.1.6.2.1.1.14'
|
||||
indexes:
|
||||
- labelname: unifiIfIndex
|
||||
type: gauge
|
||||
- name: unifiIfTxPackets
|
||||
oid: 1.3.6.1.4.1.41112.1.6.2.1.1.15
|
||||
type: counter
|
||||
help: ' - 1.3.6.1.4.1.41112.1.6.2.1.1.15'
|
||||
indexes:
|
||||
- labelname: unifiIfIndex
|
||||
type: gauge
|
||||
- name: unifiApSystemModel
|
||||
oid: 1.3.6.1.4.1.41112.1.6.3.3
|
||||
type: DisplayString
|
||||
help: ' - 1.3.6.1.4.1.41112.1.6.3.3'
|
||||
- name: unifiApSystemUptime
|
||||
oid: 1.3.6.1.4.1.41112.1.6.3.5
|
||||
type: counter
|
||||
help: ' - 1.3.6.1.4.1.41112.1.6.3.5'
|
||||
version: 3
|
||||
auth:
|
||||
security_level: authPriv
|
||||
username: snmp_prometheus
|
||||
password: {{ snmp_unifi_password }}
|
||||
auth_protocol: SHA
|
||||
priv_protocol: AES
|
||||
priv_password: {{ snmp_unifi_password }}
|
Loading…
Reference in a new issue