From 261ccfeb5ca6f089f2fa389573331b97befb58ef Mon Sep 17 00:00:00 2001 From: Jeltz Date: Sat, 4 Nov 2023 21:36:27 +0100 Subject: [PATCH] WIP: misc: add eaton ups --- group_vars/all/vault.yml | 582 ++-- group_vars/infra/firewall.yml | 8 +- group_vars/prom/prometheus/eaton.yml | 11 + group_vars/prom/prometheus/main.yml | 2 + group_vars/prom/prometheus_snmp.yml | 108 - group_vars/prom/prometheus_snmp/eaton.yml | 42 + group_vars/prom/prometheus_snmp/main.yml | 5 + group_vars/prom/prometheus_snmp/quanta.yml | 107 + .../ns-master.int.infra.auro.re/knotd.yml | 14 +- hosts | 6 +- roles/prometheus/templates/prometheus.yml.j2 | 159 - .../files/mibs/EATON-EMP-MIB.txt | 287 ++ .../prometheus_snmp/files/mibs/EATON-OIDS.txt | 193 ++ roles/prometheus_snmp/files/mibs/XUPS-MIB.txt | 2750 +++++++++++++++++ roles/prometheus_snmp/tasks/main.yml | 3 + 15 files changed, 3711 insertions(+), 566 deletions(-) create mode 100644 group_vars/prom/prometheus/eaton.yml delete mode 100644 group_vars/prom/prometheus_snmp.yml create mode 100644 group_vars/prom/prometheus_snmp/eaton.yml create mode 100644 group_vars/prom/prometheus_snmp/main.yml create mode 100644 group_vars/prom/prometheus_snmp/quanta.yml create mode 100644 roles/prometheus_snmp/files/mibs/EATON-EMP-MIB.txt create mode 100644 roles/prometheus_snmp/files/mibs/EATON-OIDS.txt create mode 100644 roles/prometheus_snmp/files/mibs/XUPS-MIB.txt diff --git a/group_vars/all/vault.yml b/group_vars/all/vault.yml index 01a04ab..1350baa 100644 --- a/group_vars/all/vault.yml +++ b/group_vars/all/vault.yml @@ -1,291 +1,293 @@ $ANSIBLE_VAULT;1.1;AES256 -62363962336164326561646163363130616431306666373036613833303934373266653230396136 -3830663065383337333938663735346262633537643563330a313833613937663764313630353762 -33656633386438333834396465353063623662646634396262636261613436313431383433323163 -3865346266326631350a656233346335643333623434646236626535376434376632346465353231 -39356231303831663936303938303132633135363165393064313333656166303133653866343764 -61653536326463646332386533626431623631353161613336383137636435623532336462336134 -34666465666164336161383835633964303933656133363735356637396331343763363262633038 -30396561393838643863616639646539663837356164616438653264333334623035353537306238 -66376363656532653139313935643266386365353432613963636334366365313238356430613733 -32323865613030343238666462613265623461326463633136393530666439333936363362656637 -31393361323439333536353838303530326134306632323339366465363332336363643636373539 -36653336303939333663393263393131633837376337343537333863633738663336343030303166 -63313766663763366330303764373064333730346536373035356161376333646135373465383036 -63623066656164386538373866363236393662643638636535613634396632373564643266336263 -37623933393138356632613965636463343162393434623565393932333064643964663531626130 -39613534336537663338396465353964623235333638393837613637623439653133306431653063 -64663232306338383034613334643233336261363832396437316139623865636136663563373063 -65633939376139336439386361643234356130323033643830356133656534636465396165356634 -63633233366234323033353565376131663766373338636536306330653935393632633334313464 -63646231326239393830376439333162373530323831393663656663373434663263306264333930 -61653738626133383766346139653936643931656263383236313035333135393235343135653335 -39356562393162366139386633623064646462623239383561326565643838346630643933616138 -32313564643634363232656566316339306333353762316335613733346331313938386362393766 -38333565376563643239613438313636623964613137613766346131636132376562396634343161 -66363361393963336331653033366661343936663762333030333630626363643331303036633635 -32393536346266373336326537636139373762343262666130633538333631373565623834653635 -37616439396462383263643531336163396261646462323931303161373566653066643062303231 -36616564376238653966333239316333333735626138646166336331656234353431313461663861 -65663661343837396337616466383661626633316330653034643162333630353734393434393836 -65626365363464383464386533306265353864633634356232643362356266666239303238373366 -35646563666565373934323366383562613064346431643733363834373032653165346462343238 -65316231333932623164653665626364613831306335376330303934623132393338633238613162 -36353466356463323239663165363439333365376131383034393336643763313338616263306439 -35666336333866363537356266333931653131623236353962653166333663363634353866666236 -62366562363061386432376139376361303637363764386239323364353635393237663363313464 -65333165383264396538613738623838623830336634313261376635383638313937666633313061 -66356239393433326231336265343538613736346134306435303036653363363661656266333665 -66383861326364653539636362343637613630323065303639633462613638353037366533376630 -36643064623639346464613131616332653162393738306434633033306239353439613634646532 -31356337636663663332376336646630633238633131643862636132383337666130306438303138 -65633931356133393466353839393539343932656532386165326637383663633835653233646639 -63383462346362643332393036333862636332326530373837623131323563666136343336633133 -38643466393438373031373163313136396134313461383265323332663739613937313938623864 -34626534323631626331633361383235626562383534623336323033396637663262333637376538 -37633066383262323261306639353361343661396236353461323133666530613333613638383237 -34333965343130386166313430653330643139643130303235396333613138393031653264386463 -61626539646232386434303934633639363330333265613132393061366266656637393537646435 -31333138353864333038633263303535623135316464616336323939326335386265643931353266 -31393735643063313831356232303239386436343865633135326131636333643630663739343966 -35633762356239326632653234353034323564346431363432366561303966306165333966356437 -64656230346464393337633562623864656132346132643736643336653734623333636433613037 -33306666346333386662303861353938333636306366306238386166646336396535333235333063 -61383439313030623263386137343231306136633833633230653436346231663030343964373233 -62353662353632323637386466383532646530386638356564666339636263653766306233656635 -33393637636264376364396234303434346233306638336430373261323830383036346633646635 -66636235386166303632343037363233643063373838373866363234666136613838663665333233 -36306432313361316364363834323666663732616261386430323863353565633761323063333938 -33636464383235316665333133636164303139333763653564343138623562396231366364386338 -37303832336137383939386234343231393131393136373235316364623762333762396133653338 -32633331363066366263646161316265393234653730653463653866653934653534663936363433 -36366264346164616133633164373831326230336536633964313635353461643864366536643164 -62333730313030373235373739393464633164366466383364646239343034333339666535663564 -64383437393666366338613463376635303333343036313565663163313433643661656566626562 -35653335613130383961623462383230356233306666353764626566623865306130613862616238 -31336235386261613836376663633832333964656231383762303562353233653763343935303037 -36633061383433663432313139633866343161336461333432653839363238613938313530633931 -30366161663639393635313035656639623939333166616238353665613865303265663362623434 -66366333633834336231333665316561643434643835663062366539623630663732376231346133 -38383634373838353039643132313932373033653234326333336430316564646465313763323431 -66356665303363336432393561636539303562633863383236363032323238333162376538636662 -37373332653436386163333661393334343935613761373131626330333534613733313066393238 -62366237653238353938316266666365616337343435366163303132653364353436386265386432 -66306638303162366463316537313432623062383334623566356261373262373230636535323230 -34346432636263393439623238383766376430623537306536626237313161316339653763366633 -37333961363664643862636166663732366638353363343562616464316663373434303066663036 -61376436373065326162643732333465313739653665316438346161333934636461656530386138 -39396434313036613236646161363964643231383535616135636166326332633962643532653662 -64303332623238303861306532643466393835633536373066356665363264653632613231363134 -38363230306663666365663164373538343531353636633738646637363736303537636361396634 -63333966343263323363333630613836333964336137653638656461346136396632646434336262 -39626131666461303138366436386339643638626635616636343361316364663831623931373036 -34363231353038353261396133633537376531626437383937643163633763326431343230633736 -37656438633837643763373737353964336363613462366433303162636262343733656164383262 -64623033316430656635393933393336323139393038376130383764393737393565383338656232 -33613734306330633233643064346166323633346363383964376630353462626338323762633737 -39313835633634363333636436346634396131376561303037346537326433376264383236393837 -39616238626537313666636137356631653033653665653064653730303237313731616266386265 -30663465306136306563613530643032663336616334653738653965393561393632373537323638 -63633066333934323962373965633937636333653134643438356464373630366534343134633532 -65353465386431623736383464666231373464613964313732336334393337366537646239643439 -64646237316261326263643330333438343334383066326631313266386137646537643262356665 -39646538343063643738616438316161666464616232393066363631373931383131366661663162 -38633764623238323865613239643061656130313133383736623363313163343566633136396562 -39386462653463643865663464626366326135346231366531326135393462393031653035346430 -33656332646238326637396239306661316436323865363537643065643830653665376165343561 -37356362343263636130303333376439633131323761356661306135336662623264623665613164 -64626634313437336535643436383538366662343865396465653034333936653663353461616238 -34383733653236633963663533366135653832363461623462303435373063336165666661343433 -31353664623337646131383237343432663739356135353833386434396330383830353265383238 -63363630353131363734666334386532656333366238323666653266623566323763393432333665 -32636362323535333136373033343566303230613834386264653034646231333339366238633864 -30363235613235326439663961643433636130653365656662396232633034646233393839343561 -66323964653935303839616365643239393439303663616530646562313031646438396330656134 -62306663646366323338383861663130373631633766316531396165313536353961366631346537 -32376236653564303238343837396365653264343165636538373432326436383032613664373338 -37636661373333616632313739393733653363313939356662646536343035393264303131353238 -33343430303430613834393761373231386338656238326461326336636261373465353963326634 -35373535623630363565386663646563306434666136363834323033336331663633313066633238 -31653538323235623564336635613637396433643462613135363336376132653533336563663634 -66396532636265353061656630363536613131393936333139363830323838626634303761326462 -61643233313234653231326230383763663364306635383363313938386566363039346635376230 -33613934373036356635346434643964386563343938616430623932616537396365353062316563 -36373664373332383234373266383439336638333833373135623565386436336236373864313964 -37643662316637623533313939306335356134393030393239343539656536666666346439326162 -63656433323364333762633033346463643038646434643562363533623961653730303935353637 -33623537373435343361653731383930663266623565383165336533623062376164396462366661 -31383738386335336432393537333665373264336532343061626439353530356566636433313330 -61343464393538653561636562356463386166626563373036653639656336623533373335336134 -65346138363762306233383439626431373334386531616165356532393734303635613036303263 -34373235656636326133663966393632353734303866356664333232306135366630613135376265 -35616630643563336439343239663961373737323436373264336536376130653533393435366237 -30383461623462316465386437653630626136356530396633356535623839383533643237333736 -34633339616433323064373336616264613035346330333433643038623164653738643933626136 -38386562663966623635343066613765343834656637633935663562386230303737636561323763 -66643861356435363363623166326332343738666430393138316238396632343462323563393065 -36393434373739643531653737343564363966623636613065636632616635656464303964656431 -64666133323163313861656563623932316131333439636439316630383262666666383732393530 -66376166393837663361353534663663646332366465313731333537366163363439386462386561 -64653063393730303137333231363838636333616262303461323361613439383462393639343338 -34623531663332373133656161663566313639326536373564353162633538333435353430326431 -62623836656535383833303665336637336665386130346437303864333664373966656539636437 -63366163303462633439323831336361386639616335663132313839316531343564353561663364 -65613239306433663766333438666533616534363439393538333662333531643663376662653731 -62393231623137666537636464336461616162393465643362646332376639333236313037343238 -30666466666130633866656665396339646262633539623761396163333361313164306361373662 -36353762613537316234373139383936653430333266343131383834316534383662653463376534 -62346264653937363036326534633366626333643331663131316237643163656433373865653434 -65316435393836633035333237313830646466666539613364333064373064323266316563633031 -62616436393434363565353130393262356236343865346333353264623438353237643239373561 -32313462313830656234653035613135333337346162646162373064623736656165313766616666 -33633065343839373432326536623365363862356535393836326635353239393133653531633362 -65623333373164353638306465643761656665623336383138366233313363646465336437336635 -63306333366365303237393039656336303938666164313062363731623233306438343635336339 -30383838343964613365353435636264386361366237626461303139346266393062313439356439 -65386363613266366336313261643734343062353532303866366437636562363265386162633361 -65623664306233303939353764323565303566613463333165663138383834356338383837666330 -35633139376630626639343537396531353462356232373133633631313165323864656466313737 -65633365313836646630653761623166316538633730353563636532333735633836333432353530 -66386164343164666533663131356339353336383739616439383038633462663564663162396136 -36363837643437623138386631386534653963663133333934343961303433646632653162336663 -35386363666232383932643835313232653834633539373238663666326166653135353438306265 -37376538626266653333626662396538326336333738376337613735336535313733383138383936 -38663865313962386365343862646237653234656364613638303735636334313763333137623365 -62393666626230366634313631353233346561303433643066656665333738356262643332326363 -62346566323530353336333534626536396338363761653465336433663062373131613735353734 -61363833643366363361323666333366323763363631356431656565383961373836656433383562 -38363632666162373563363737353730373936363837313364306539633332666433653131623033 -36393436656232386365313766326336393462653564326236303638366464336665613063343766 -37363164373963393263343730393066383762666565613765646137313364396166333631303138 -38666263643333303963393036396631633163626461636364643666373634316237343336383366 -36666238376331393738633434336565623362303334306334636366383664616131336435353330 -66653566653035346335353133643438336632316435663639393934393965353237386264663830 -65313937633033646462313430383436663063363565323564303934646533323132323331636266 -31653366356231616332336333393464616664323262353739656561373830303634663565323663 -37393835343065376432646266336331653962376239623330386430353031636665333339346135 -35623436663164613964333637343563643530336533353832353532613861306430336136396633 -32663430666566323335383233633430346662376261656139326162653336383732366439383131 -64643231393235353363333830653131376664336137366336633662643462313232636235633233 -32306435356465303263343537346338303236616464346365303136356438333835326264343938 -65666335373238373236366635333330656664346462306331646633643132303837316366393430 -64336231663432303565376662363536613436323966346462613330633965666165393463303535 -62393136353262623834393032393732643239323432656430393863636337383764343039366138 -33306337376135613234643863383639653831633465633733303630353761396335396532363165 -34386136393262303231353962326361373564303137383035613131633265376534646466643036 -35646330383236356431303162353836303236383131613238343263636139373938356364623935 -63343361643562626539316137623365393238656434343130376239666264353437323261633362 -39303461393163343130653438613937613130633363643339366136386330336466343132396331 -31316338393261353939616362303666336634623236373538653062383962386166636532353436 -35643139663962303262643933656132663063333166383538623666393731613037373562666134 -35343663333038353236646165663331613462313935356638343932386138666436313538623466 -62383965613961306330633436323033333637396532363235643761326666323639376638376532 -37633663613837373565363265633137316161333063333335363463383061656538643131623433 -39373430626531336533363861306137336531316334333065316563613731616136353138383134 -63353134636136653664343962333837663533353637383230313661663366313562613636643466 -63653065636163653164323230343765386330633766343434343735666161363664616537326630 -31633765326530333830643838303934626431336635333265346338663165653839663433633664 -33363836346131336362376364383164636561373464353635336562626464613064323037316564 -31346263306338643065396237623461646461313263646362363662346166396464353730393239 -34626461393461393461313839666566653930376431643739646135633130353437323864363632 -31386266363433343232626438336466666133666239643565376666386333336434326535646234 -37326161636431656165323936396433343534613064663733353735616339656132336634336536 -63643337353238653264386435323563336538663163353162653034376563346662386531363631 -37303833643038333132336636343961346337316538303866666163623732353430656431393139 -31363061316465626361346463323564346363613830653162653831326230373165373965356662 -39626630336339383665616434663037663730646364323739376430383562333132613833666539 -31656461376664363938386666633732663539313839623661613238623130353662326565343236 -36643439353363643737316336666165623135616131326638333432323638636634346265643136 -66623433623163663132393064373538353532386164363363366639323837346634353531396133 -39303632613063376333663030336633636236303133623662383834626461333862306165383364 -37353034306235666635333765303834643363313761633738333839313233343462323161326662 -35373765326232346538623130656665633662393034323431643965323733333666313262643265 -36346463356237303766656532663961336266343232646365376161373439656263323435336139 -31643761376363366462616639626531633731396336626532333666636531386265613235303530 -38663965373633623265376438306135613562626565306136343331633361316236376530633766 -33626133303935383036393263616662343364613666643565666565663532333438373232346263 -61306261616366643963326536316366653734346166363132366366623263643437363237346262 -62633336626337633437303361623135353765343337333136623436376361616364316365633463 -63643364613334373033356433393462626330363631626432303465323361623232616532393938 -61636663623637363863306238656339343463383131323663663261373339353862646436373365 -30313335623233383233366635663266383837653638623461653965623433376562353262643837 -65663062363862323634303965393932333235643032636431303061356262643664343636363938 -39633563393663643836653731333064666238646530373031336563353735623664346163393465 -61393233363165333164656630363131636231666339353963323365333832393332646163393538 -33623762336534666536623638383361323262313364663765646364623331313666623763363262 -62376361643938386264396531663665326462336239623862656137643038326466376438616438 -39643533356434343334626439373065333139366435386536613633353462633337333563313966 -39366233613864313566383565333032336232633538336434636630656137633333306636336230 -34646232376639383238636633353235653632333039363936306165386532323935323864383037 -66313538393236376234346338643264323361633437636236373830336234366539373363366338 -63313565376437336539356665303037396335346133316634323637356239393063653839633439 -39666163383365343435383132303330313739333731363233616165653963313633396462303835 -39356432656364383339633235353235386132633834626263306565623166666334333531333132 -31636438643330313034393665666334316664336331633830343737663864653330393664303931 -66393030323164633062663336323462623963656562343736633638373965646138643331343637 -63333863623763323536653733323531613161383766363664663832386531313963386565396137 -35383338383565366464663065393463383732386264323633313466333536613133373765333531 -36333835313733383966383933643462363262396439663237363662663764356336653536636565 -65393231336535313563633866346431343666383132663733653234346137353463386437346133 -30346134306637346632626331636136393032336537393135383339626163393561373232333732 -66333462363066633939343531633161303338306335343065636532396234386262363938613139 -61653434653939646463663463616363653666363363613239353265613132633939383162303931 -62346638343765393766383266363139623131393066373764333363346435313861343536633737 -30353066656539363864313834336132666232306465333461383139386465646533653236363064 -66333864626264393230323964653135333232636163343762616362363635656661356661316162 -38616662316330363865363261323536636538653431353664396336336363376138613234613064 -32353065396165616565626533343838373065633834376130633864323934646263323761363738 -31373261363230626434303865633033383964336638333436303135383934663866316630346563 -33646438343563333730323466656236663863303336626132383632383839656661323337313131 -30353439323030666432663839663934613036393362646637323230343061313964343534663639 -35323262346230356637636665343035373966363865326564666365663930383538363263646561 -35323533303338343466313361343363323036616239636438633162623730653535663631643062 -32333135623139303835326130356634333835623264386462616531633135656639343462383136 -33363435613266623534313165386664623033626634393163303166633561303961376566633431 -36363230346139343061633137366666393866333263626563346232653437626531353530643662 -34353438626638396430346562376531666439656136383166316466303431333062306132326133 -62613066623064353461623332613465633939383838393064326661306363343136303633336166 -39366439306336326633633838646331663137343663366631626630663136343030386266343037 -33323230326431373166363232623132636563663730663066636564363033306330643237626135 -66306533326262613537613032636361346537353736333538386237393564363931643631343738 -33396633356163303635666663366663303938393537363466386235323538336330316661313963 -37303065643561363463326630343835336566626439353161333066383530633932363336353531 -35353064626638363330666532636236303533626432613761326337626636323332623365623039 -31343637663663646436346135653932343563653562316333373638636238616637663563333631 -61386231346262366665343864376166373739343966336464363635663037656232383031343564 -39663831336266393062316662363664343866613734626436376230633137313666316239666362 -38393636343830316438313162333561663238306664343863333833306239303731613430383562 -36393639393462353638303536636563343632666462366564393335303263386361626135656439 -32343939393038353463613936663439613033313630373763353564616231363738613232613638 -63646463346633333466303638656333326538643235323233343831333665633236346130363931 -34343864613731643965323538633233646436333862653533643937643131323635386266633432 -39303565323934353863346639376636323230333362613832306465383261326439623861386330 -39323330333630653863356366643439383736366163643233626635313332333462653361353935 -31393231616662393362636332336532636334333337633062646230373434636534643564626635 -66646139396432383166656230663430323932313634366161356332386364666166323530396635 -30313562633133653539336538343637343062343062376464326639356438663064633062313964 -31336130313863316335313032363938373430383461643036636536323732643238643430353036 -36313832643335663632386266373535653065656366373066323166303464363339653038336266 -38353762393934653232346332633138396663366264306532616439643365636131313266366439 -62316133313734306636373464643935663539663538663637316561646135376437323837643962 -64643736316637383736666431313130636661653466663662616365643532356266336362353830 -65653638366530366637646439653937613865626165313831616666626664616334663863663130 -64363936353165356635343464376639396361626363613135373962376131346561303562633739 -35656635306166393866346161626535643538663964303036343237383036333363376130316431 -32656634396165613735626333316263323439353062633961653237336233656537363938643135 -30363939383439633633336236366462366161316636363566366534303964656663653062653465 -35356461326230633738386330383363363765393466306135363265616331313834363662323337 -65306461646462623533376636663436333432313866373961666365626561363435323764363964 -30303933613537623264333331363131643432313466336130396262323531613763316566643032 -38303936666566366134393436656439396537353862663936353934323766323864626639636137 -36393338356230383639613065616564356137626661376639613763643464393730313865646165 -64633061653630646262343861613266363562323637376336316337393435366161343130363764 -30366332386535616638643430333930383134356138333862393938336130316564313963643365 -64626238646533656161306566626561363831356130613737363563633166373038613135623366 -34613933313434353665306435396437383461333131336263366634623962366539313862363235 -36373966386438393031363865666566313332346230623665653763663533336337323865326338 -38303465303966386164316264393535623336333136636234313635336362396135383432343233 -65643962346563313836663262353161333537393235323236303039343662393930636532636461 -36383935386531623838663432613463336331396537303031363837633537666133366638663961 -38316363613836333439386662663738333261326162316339616166643665633362333432643731 -6131366133663362633964633134353761663564376163656139 +61363033663038643333366131633134383336313933363063336561343962353161616364363734 +3039663764346661333736336534363332363366376233630a643031323330643138353335356439 +63366439323034663362313864616139343766366465613564643138336134333236353765643532 +6234643561656137610a336638393530353236663538346464613537646231626137376261393466 +36326230343534656238633964303064343939393238386137313361636237346539643430323834 +30383038393362653137613561363133396661303664306461306664393034303937386361313831 +33336232613561363265323638616631636461626361643137396363303835393065343636343665 +36326230383061623835633735373639343630333836613033363933653435373332363633353163 +64353731626532363563353639643462333337656437373761633432366130343235383664353962 +31323234326234343436663332656165346137653361626435363761666232316435643830666364 +62633639666531363231323233303465366463623562326331386563356433366162616338366665 +33653634623664386665303666643337656634636134336535333531306434663333653039383863 +63633661643935626635333234643830653038623163653562333466646265316462656538396465 +33656634636536333761323433336138623134356336373865333366363130633665316465323062 +35316430626136353438626530633263646234393161376232656637666563613463316634313035 +33356337666634633031386562643336373437323936333530646335643061666536303436346363 +30383332343636343164623032663231643436626234303532393134396337333063366335663366 +65376532663066636639626561316336373063656536643633396161643662313538666163663631 +39323832636261363437363266643732326364363531663463363935346139633937393836396333 +30383333383661613430333464326538653236653035383663383163643661316264353165653863 +31643732303734656163343731336337383732633434653534313437393466376230653035303939 +32333962363036353639626335336361336134376466623737616539306331303239653764386265 +65323038323037386566643431396562356239663432636437383539393439626366313838333762 +35323462353939333934656437373165363336363035623061393663386332656139373565353465 +37633530393831663939306330323336393662656332366330313936396563306162343963333039 +31646530363830656137613864616565303638383063646632653135313431623061643231373766 +37303734313831633766636130383834376162303563373762356136356334323364643264303432 +30396337393465366633393366303963313066366464393664393466653934623334666630333031 +66636337353232373563663535313861643432323235383935613636373432316635373263353162 +65373765376538363032336162663836323832653036633830376461383632323036316166313566 +34366637623963623735303931396434616636393132373163353737616334643030363063643334 +62333638306430666464623231666430333939366165303132373831613438313132363139383631 +37653030373565326463383966623436343862656537343565353539376234366236386430303762 +30626539626266353033343732363934383863313132613866393730313864366438646364346430 +38626637323730653036396364366366343363623736376136306563303962656166666430363737 +61623730363530643565353365633338393636616630336261333766333832313465366366343836 +38346362353763613465613832633233383961306661666664353639626461633535333937306634 +64376535353131626664346638626362626234333630316334636463343036356165393938383532 +39316161613438323362356138346464386663343934653936626339333235646266666361353835 +31663663363362353938636133393366366136363837613336306439323166386630623564633261 +62336233366632343634653463393434363035333562326438353932323138333837383031313234 +31653764336561346135386562376562383536656137633563356535396161383434666361346664 +38356264373235623564376335323731643366316437663265633963373032633934356537626566 +36643066353335663539326666393665613238316531636339626365373430316334343062326562 +39383165316130653639333564306662626364353132343935363765663939386135313235373031 +65633132623735373265363765333934346362353133356564306438313532623735376662656365 +30393136636363333431366361366231306438303433306132616164636439623666393138376164 +31303137653936353136666538303265333537333137636536643635396437333137313433333161 +63323265373035306339616464373661363436316636383561643330393437303264646536323036 +38613436323761346162333237353766623139313833326138326636333536306433373663343632 +37613735336261653731633734336532313364316461656538363262643138663932363364666461 +61663334346266333330643830316662313533663166323838636336356132383762633930373639 +62333631373864346564333961303631633334633235306131323163616265396138333031313864 +63643835643535343662623635633934396434316338316232643462383366366535393333376434 +39386334333364636531326139613866303661653766356135353638326538626137383739623737 +39323435663131313336353032613264376333636466356635303630383731356232376439393133 +39633234666363343936366433353136666333633230383633636139373764383663363864643438 +62653162623963316134636561393062333330623230393536643133396237386364653764356633 +63616339333635396232323466376237643331373661303237633264326133353239643163323062 +36626532636266616139643634353965363766343131643333613831373862346266363432616464 +66376461326164666630663264396437623533393231663331363763616663383362316338393964 +33316537386465383932646463373036623861653638323334613237333732383337666630633032 +37333431653637313762653563323530336361313232333564386437343662623466386135333864 +65313064626236373738666261653436303263653332313866323266303966306130336364643637 +34353363353463326639346239646230386334613735376236306165653161363964393465616239 +37663036663735363261333731663036646135653662306564663733623438366162333639636564 +39613661616435313464333732623766323537386361303761623932313430353666633061636332 +32373866383837666435646339643561303463323436386637363038646639333732323466636330 +36623738616635353632363131323664343330613230323839323664633464623361613862646361 +39646463396162663430303862666563666336386166653834343664323366653239663332393763 +30653761383835373137636636363163636533313732346135656532353837383733636666313662 +62363837663935313735326163313466353238313566656133643264623264646562336231383533 +38663435663663636437316334623365396432333864386364653937393339643064343139343862 +64643138303830373763383038366535623030323665333330643336396363393162383438333864 +39616437633334306662623331643934333563336330343032653133373062643364313332646538 +34363961386566333734386266663164333038643331383632623836653761303236633431306338 +33376138666437643936346533383639616132303235653066313364336231303833396531383064 +61356534333935383466306664653237626235636430643862613936633337616536626139383334 +38386466356635643334326164323734396537313434366536636265646364303030653962346663 +64366361386239346638333237626439653062643262613566313066623464633732616138333239 +63336135636563396265623935633961356438326466626136383663336633343537393934373063 +64363966643932663461656333663531653765363466613239363735613230383966386562313232 +64643464643835316361346338643236353861643639633664356637613730376365386131306435 +66353965613666656435663965666138373363336536383138656237613636326432326263616634 +38616637653632336339633030623032613736623134323334636537613566343163633435376435 +33646563323638346561376631313236343466363634626630393266346135646432366136643430 +30613836333565643061313333346331316164323237323530613739356331656265383532663137 +61316230653134316432393538343239353038336164663233643136376164656166303138653631 +36373461656236623266396264383232653031333161653737633263646131336266306134613434 +66336631396162663837363731363832326638343834306634643037333939336536623431656134 +31383537393763393534356337383265316639653133643565323232333862336130313466383035 +33383437316233633232396132333763323836323034643734346162343564316263346330343434 +62343535623130356232386361656261393362383764353739353738363966356466636561303866 +32366463336664373332646432373661356131316532643763653130303632353963393838306537 +38633033663936323630306533666439303832373461336138373235656233313262313230313930 +33356232313237366535386432626334353435663563393861356262353335663538336638363339 +65323630616635326334316433616665663037643631316137646330623033323637616263383538 +35373863333835333366633138633939353761333565613132376161623432323538343733653930 +33666331326665653063643563313033303663346130643230646364303934663636383831623933 +64333033313739653138656237626539343433633139376564643464373131653862656635343064 +33383465343566363434373432323063353332656166376563353434313438373437626339326234 +31363139396235343337633963306639323865376339616564316565633965646232306230306537 +32646137333331303633306363363031633936313238323736376438396135393765343234646335 +39323130336266333832356136366330616330326665306465643435636364613731346432383366 +37343162316330613533653630376362306664346462396336353538623032663566373361353237 +63323665353737646262313737333639653636353363323739636265633730336332653233363038 +31383236636130393361623164653163383339666435626233353638353032636465653136626266 +63643865613432333533666138643962383038393166656566373138333166336565316336393131 +36643630633564366533623339633730623064346562663963393239373137366435363933663762 +37313566656264653864393534643564373564653662393532383666653063663864343064373230 +62396164333030336161373432343634646362633030616430663638633732626532653462666130 +63336262366337653436306434363331333432396566343131346364386538336634626230383238 +38636362313364313833333535643961363966396536303562313863646266313034663866336466 +37613236636231383435323035376164356165303031363761303862663061303766373435633036 +37663631373735663330636536656439393462643161653335366136363234343932323239653965 +38663333396464663532396662663334326365653338336133303530643261613433333139373863 +37653331363531346536346463613835326266376437613465653962656365316363373263663637 +61366630373137636166663462333837373431353261616233373039303737333238323038663662 +66663965346565343138626131643137353735363836373161336233376536386666343939346163 +36323233623735356563333636653761313961383738633065383031386233623864393662393934 +30636538663764653738336662643638613661333635646230386338346332626231353337326662 +66623361306237396135323265393932393763303737323632396538356533656461623366373637 +63363539313132383231656139326639393361643738316538636137626336356231353564313536 +66653833623530343930663865386338626233643339346365393761353136613738343163636161 +63633364633230313639313062396264363139333661306164393730656231396238663662626265 +37623766346334393962373364343463356363656436373962623031356334623132306435333965 +31616135383061393139373964303130633435306138333336663037326331316433363330636630 +62306234666135353538353265383764626339663163343531643435613764313662383130373934 +61343637393931666466393037323565366636313963346266323462646130366234336463633261 +64383534633339343538663061396636626636656662653834663262316630383666373639383034 +36376638363539303463326462343138373537376166366232633734656362633165316135343934 +32373432333238356139616232333731623163636266623662643633363836393461306436326536 +31346266323565366163653966663235613866323934353538333364306539303337373630326138 +36343663333430626435643131353736623532393165373733633865366563313265313833363131 +61353839393164316664643639306535333063396439396135393230646636313839653336346366 +63386336633330653031323031663630353036323865373738393730303839383534626362326462 +31303362386339653530646363323130626533383966343531333639646662363632373762656130 +66306435316661326239316637656536393034633839346361663466333735343061313363366639 +34323330656232366533396432666633396335626434356432656132656630353436626263386130 +32376462356630326237613836343335636135343431363333613765346333663061343432623439 +64643566323334376132643733393562353365636331393661643539623561356330653633376166 +38663633383965376161386162386432616530333431393534366663623336303232653735396130 +37306565363638386132633832323434656133333663343633626463626331353936366336666534 +30646562646435636436666261656661363038313564373639616533383534346537313464333765 +33623035633533626230666266636231336462396533323032646230393935376538656234653934 +33333163623663313139633963653162313935343966643662666463383264653061316261303963 +63363633303735633561396539356531386535373135623039396432356561396132646430613439 +35616337363931363466376466323935336239313030333030396234313831343536333564373434 +64336264313731636466373961656231646131323336363632656562373030616635623332656430 +34623237353862366362336566373131316235376533363039363861653337303864353135663530 +38666362313836613232356331363634363661313465386232376432613665303930393165633066 +30663831363638636536366261653863623638633333613536306164636166383562653636626566 +35373033363131376464386264633130363464633066366130356636376439303339653732623636 +32643233636232646637626130366635323439343162653366656331366335653361373137313234 +34616431356136633832393763613633656333666231646531363232326361636364653665633130 +39313134656466303365346161323465393638333466636164393438313231346464623238323439 +66343235356366653730626431373032393534323635326463613939346363343532333539656363 +35303561373733656432653962616439396266623935663665646263323962646634663262353264 +35373431366364316336633034386264643036633830396232313861373938643836313366633865 +34313535656238643133323233656636393732356263666537366339633665643831613732623231 +39633532323039626165393765346132613961316262363266306233626536346132373231663834 +33343634363335313033363663643836356636626566666162393238656231323831326638393762 +39363566303235653061663437346666613031613332353634373263323932336634366261353531 +65633532383436346132373962663831613961366236656537363136346463343266353536326532 +66653338626566613365353031353064343832386431363535666531626236336330313566633035 +66613162646531656630333263623362666531646235386333643065363533633039326139616162 +61303662363835393366663036376265633130623866356435663230326537633130396665643636 +62363833376330616535633439636561303034646531346661633038383466663162323833666164 +66326635663839356130333933346464316135663839663634663261313535386431663362353662 +38666261383930313936633666306335323562373431303236383366666537373566306336313133 +39346634303839653064323465636539613534616463656431613665663461393637646535653964 +63616434373332383661663661336236346632303134393764623436623362646134326365383834 +36666264333964656538636234353763613866333064396130393438393163633566613961633131 +30383033353462336637383331363563336231636232313835616631653362623935646633386337 +62323364653139613238616235383333636130646630333963373536396565316366363437626135 +65613463343666373239626632356132313463366137373464376264656239643964383538356563 +61326664353533393838646630363138313361653533323335613261323433356662373164393633 +38313663306337616132353839386264646234633964393730353434313766633965666639386432 +33383566663266623264613566643538633161323434613436663564323037343862336161333436 +30366633353465346439393738313661373530663337366565376137646566393164363965373161 +35393530303563646332393266353063393666323331376334346566666333383938313732393231 +61663833663163323339656462626138343939663761343064313961346266343638393262383661 +62383930636337393262643930373161613534396361353933333264386236373835353463653732 +30363564626436343533323837653832326437626637343564303131366238376661343034303339 +36653761396238396239376434666563383330323663303238336438653439656439333638353439 +64396630613865616534623865663935313431633166313739663930383162613139393738313566 +35326164363032363430396163366462636561316637663635313634353931623437356234366465 +62663762343564313665333563323434383339386237643963393331323836373961356662313533 +64356663626638633761383661626131343335643730623833366337643530613331613635353962 +36613633616565306630353039366536356366616162396162656363316233623338643731643064 +38663439346439363762353931343634646362653261313365633235663735323864366135643032 +39343063316439396434356536393730623134653331653562343333323665643966333635643135 +37633763306235353439633235656136336565353764366233653933333731356334373764643463 +38633839373630343566616562396232613834623163366264613139663365336638386563333639 +34396236356332613030363566353630396533643166373237333363363130363737376230366230 +64653837306366623036643537653638666336653930363837306435646433323965383438363738 +38623834323534363535326334393563623261386639386333356363336237316137656635613264 +37396661306136623936353236313334376364353364663739316262333033636135346562663938 +34363161336235383034643937306138346330323432653165633736313930653936633363396537 +39373236373962313863396662626130656131643833326535643862323466346431333639663231 +34376331356538626239373538356539313064316337383137306632656636363238396430323564 +31343366393138653531643836636262636636393562303762623633633130316337393430643737 +62613264653832353739646466613335333764326335346561646665353464643334303231363362 +37633834383736663864393064653461303161356463383539336434613533306135333739343863 +32643266373662303538393034656235336431613835643430666266663634613866323931303833 +30613438623562666531333762366335336238326461636237343063333362643430616366343661 +30633664396433636239396265396437303435616461383866383736363766646263653264303861 +33356239616465383265343538373835663338323261313630313030636430376531323164626665 +35396231616136636234356664393361333837303362366133633066353834346263323964336131 +39663439633636663438323735616137383464383062313265363961363137383339383937653730 +30333233626231633936626234316531333463326434303631316633393337383761336331663139 +37363931666265313238303439346161363130663231633439633839633836356535303434646161 +30396231643836353235653966636532323631386331366637643138343463356364633139633964 +34633630313935366565393631643232346361323735376335396238373239323236366465343437 +62316534326264363736626336663339353832656336303239303133336335616238353537616631 +30656437303930663832656331363566616233316263373431663065633363626462626561316636 +34343435613462363136393831323130356532663765303862313433393936343636363566613564 +30393033356634366133623536633337616236633261643337306238356261626336646164323336 +30623632303939336437366537396530363262656230336464393264396563636437663361646636 +30376630373666613338363437316232306332323339656133383363333331313139643736333066 +66643231653535663264386531613534313332373135366261343032306133333130303665373262 +37633334633965333431633833353336333461313431623531333865343966353539356665366664 +62666561376661363237313965646465633032666465373864313766653633363434653830663738 +37343763306664343937653065613165653666656536653763666332313963613535303337326165 +64393931666630643162663630666365386334613832373134323536343631663630343266376464 +34636538396239663565356230306261323335643530346138653261646363353666343438663938 +32316266643462346638626638303163623164666165633832633034366365363863363638323133 +39323035393634373066393539346438313031636565333733323438633733393336326264663639 +33336563353134373363313132663931306438633635393732356239616164643835326232663934 +39303732626262643731643366373631393563356639643665396236303631333233356364343363 +34643362626230383733356633306335346639373033613065376433323135353833343561323036 +64633539656136343736663536363834346230326534306637383262303039383836396638373261 +36616266613037323330613333633037613266353537316137646431613537623639303164333936 +35633439343530653966633564383463366633353839646232646631366563326233353830663431 +30643636616331333135613734313334336162376363316661333363353361623333646430353861 +63376636316436306166363039326538613566633865633835663030363137633137313937333430 +35323730663238653763313630383262663131663631356662326636396431646465393832333532 +34336632623139613736356539666237646662396334373034353039353863356561396236346438 +63613565386662616661363630333136613739643761613532636236616439383234323131356633 +65613032363532333532663734393535616530616335363139373962356634626336643432616433 +30336639316564626233333238383636376165363037343061386565633364333061383132303138 +38336339623363616136336536343864333332623133613530633166626265346631383062366233 +61623431633830353165343061376165336262313031353139326533353536383064396566353339 +33306233366365323364313231383134326463656365313033326638336130613937386232323166 +38323662633031663130316139343533343737333335623764396538333939323337653536633435 +66346266626365303666376665346562316165623362373436333830383062306330633565653831 +62316431636237396333313239653137366534363732613533316431656533396661343134373461 +37336661383033373363346237626334616333653137653665373464633133623362353035653032 +38323632346334373539306134373335383732396432623138306462393765326539373838376566 +37633736353964313062373661306131633162353233623336346234303832383334653463376565 +66343430623036333264643731623234323963386238366238346631393835373737303930373733 +30643236333839383965663663663031643133376566343761326537363162643131613430653434 +63646435313366613937373766616461623134373365363863623030393032626638383638393134 +37636633646136623838323464616330623466383630363934663865336166663931643832343562 +62656632643638313461376164633731656139373966306636326439643462626162393636333563 +35643033313738383234376237386663663662613533303966323139313362393964366438383635 +37646230626166343561666335363030616431623937666466353865346566336466346563366265 +31323862343966376666346335623764393764303561616561386330333161363736616538336337 +36643632653139663262653364363031636165343336383235616163663336643737313436333333 +65613161643838623938343530316233333935333062346366393666343431333838613937336635 +64656232326538663834303763653633663437396161666661386638663963623537303763376133 +33366465313139313664343831386434323730663935653664626430356231363063306263663865 +61356238646230636535626536383434323836396431643230653761313535666434643031353635 +38613536663433333335396537633363383261333135613561303037613432356636383331393666 +66623164393637343463383932396263326237613337336264336534356365646531396233623766 +64363132353761363366333663626134376535616163303164633632613639663464363062323365 +39653837633166653761323835353763363364336131656662336266316233663266303938643665 +65313738313134303662393666663165366230386231366164646535313265396138616166393839 +35303462393536366434363933646630356334363464313931363365396231373938613038356161 +35316363623437323662383935623438393461643537633863613565616535336331313166343537 +63343333323862653166303164653235323932333361643133643666633164343362346535643639 +32616333316363323438393130643137623164343632396534666535663634316464633537353235 +64633664343530636130646134353137383539633436636133373066326239386662356163613365 +65653336306436333638663663316535386530313966333032323064383135383166356263323932 +32366639616330383733313061363461623165633439373665663933316338343234643661303737 +62366235303032346161303036383562366662653035376462303237613963633138306236353161 +62643632356135323865623162333139346133326262336266353630383733306438333934383733 +33363839663030326236663437663061656662323062386236376164363630343233616534616235 +39663333343938656234306464626239393635323764343433663263393837663131636164626639 +62383461636263303966363863303964316434306634336334373562343135346335346461626335 +38303537393861656263323065353737386363336233383666616464633737626432643866336532 +35623131656563626431393132313934303863643639336134663135343432316261353862656232 +66646462363833343566386337636364323033616231333139333331303839303035313239366665 +62396631396234303430366131376661663935336538616132396138313432653361643763313065 +37633162366164363462663135323231653232363836323664313064336564336361636439303565 +66313863613434616631373562666461366239303964613038643238636366383432303536356263 +39323336643830343738643630396631616262613565653937656666363437313766396566376532 +38336430326462633733383536616533633466333030616131396536643263323464303962343436 +66623562643831323139643664333635393561336566336162333035663232396166623438306565 +37343537333337346635663165313832366336383964646539313832353865643637383739656261 +38656333663232623436386437613632343930343163343134616564343234633135646131353435 +62393135373632633064 diff --git a/group_vars/infra/firewall.yml b/group_vars/infra/firewall.yml index a1386bc..9289370 100644 --- a/group_vars/infra/firewall.yml +++ b/group_vars/infra/firewall.yml @@ -140,8 +140,14 @@ firewall__forward: protocols: icmp: true verdict: accept + # SNMP - src: monit - dst: sw + dst: + - sw + - ups + protocols: + udp: + dport: 161 verdict: accept # Alertmanager - src: monit diff --git a/group_vars/prom/prometheus/eaton.yml b/group_vars/prom/prometheus/eaton.yml new file mode 100644 index 0000000..cf5889c --- /dev/null +++ b/group_vars/prom/prometheus/eaton.yml @@ -0,0 +1,11 @@ +--- +prometheus__scraping_eaton: + targets: "{{ groups.eaton_ups }}" + address: 127.0.0.1:9116 + path: /snmp + params: + module: + - eaton + +prometheus__rules_eaton: {} +... diff --git a/group_vars/prom/prometheus/main.yml b/group_vars/prom/prometheus/main.yml index a08c7ef..34fb6be 100644 --- a/group_vars/prom/prometheus/main.yml +++ b/group_vars/prom/prometheus/main.yml @@ -11,6 +11,7 @@ prometheus__scraping: bird: "{{ prometheus__scraping_bird }}" quanta: "{{ prometheus__scraping_quanta }}" snmp: "{{ prometheus__scraping_snmp }}" + eaton: "{{ prometheus__scraping_eaton }}" prometheus__rules: common: "{{ prometheus__rules_common }}" @@ -20,4 +21,5 @@ prometheus__rules: keepalived: "{{ prometheus__rules_keepalived }}" quanta: "{{ prometheus__rules_quanta }}" bird: "{{ prometheus__rules_bird }}" + #eaton: "{{ prometheus__rules_eaton }}" ... diff --git a/group_vars/prom/prometheus_snmp.yml b/group_vars/prom/prometheus_snmp.yml deleted file mode 100644 index 11a50fc..0000000 --- a/group_vars/prom/prometheus_snmp.yml +++ /dev/null @@ -1,108 +0,0 @@ ---- -prometheus_snmp__modules: - quanta: - auth: - community: "{{ vault_snmp_quanta_community }}" - walk: - - interfaces - - ifXTable - - snAgGblQueueOverflow - - snAgGblDynMemTotal - - snAgGblDynMemFree - - snAgGblCpuUtil1SecAvg - - snAgGblCpuUtil5SecAvg - - snAgGblCpuUtil1MinAvg - - sysUpTime - - snAgentCpuUtilPercent - - snAgent - - snChasFan - - snChasPwr - - snAgentTemp - - snAgentCpu - - snSwInfo - - snSwIfInfoTable - - dot3StatsTable - - dot3HCStatsTable - - dot3Errors - - dot3Tests - - dot3CollTable - lookups: - - source_indexes: - - ifIndex - lookup: ifAlias - - source_indexes: - - ifIndex - lookup: ifDescr - - source_indexes: - - ifIndex - lookup: ifName - - source_indexes: - - snChasFanIndex - lookup: snChasFanDescription - - source_indexes: - - snAgentTempSlotNum - - snAgentTempSensorId - lookup: snAgentTempSensorDescr - - source_indexes: - - snSwIfInfoPortNum - lookup: snSwIfName - - source_indexes: - - snSwIfInfoPortNum - lookup: snSwIfDescr - - source_indexes: - - dot3StatsIndex - lookup: ifAlias - - source_indexes: - - dot3StatsIndex - lookup: ifDescr - - source_indexes: - - dot3StatsIndex - lookup: ifName - overrides: - ifIndex: - ignore: true - ifAlias: - ignore: true - ifDescr: - ignore: true - ifName: - ignore: true - ifOperStatus: - type: EnumAsStateSet - ifAdminStatus: - type: EnumAsStateSet - snChasFanIndex: - ignore: true - snChasFanDescription: - ignore: true - snChasPwrSupplyIndex: - ignore: true - snAgentTempSensorDescr: - ignore: true - snChasFanOperStatus: - type: EnumAsStateSet - snChasPwrSupplyOperStatus: - type: EnumAsStateSet - snSwIfName: - ignore: true - snSwIfDescr: - ignore: true - snSwIfVlanId: - ignore: true - snSwIfInfoPortNum: - ignore: true - snSwIfInfoMonitorMode: - type: EnumAsStateSet - snSwIfInfoMirrorPorts: - ignore: true - snSwIfInfoMediaType: - type: EnumAsInfo - ifType: - type: EnumAsInfo - dot3StatsIndex: - ignore: true - dot3StatsEtherChipSet: - ignore: true - dot3StatsDuplexStatus: - type: EnumAsStateSet -... diff --git a/group_vars/prom/prometheus_snmp/eaton.yml b/group_vars/prom/prometheus_snmp/eaton.yml new file mode 100644 index 0000000..aaa6240 --- /dev/null +++ b/group_vars/prom/prometheus_snmp/eaton.yml @@ -0,0 +1,42 @@ +--- +prometheus_snmp__modules_eaton: + version: 1 + auth: + community: "{{ vault_snmp_eaton_community }}" + walk: + - sysUpTime + #- upsBattery + #- xupsBattery + #- xupsInput + - xupsInput + - xupsOutput + - xupsBypass + - xupsEnvironment + - xupsBattery + - xupsConfig + lookups: + - source_indexes: + - xupsInputPhase + lookup: xupsInputName + - source_indexes: + - xupsOutputPhase + lookup: xupsOutputName + - source_indexes: + - xupsBypassPhase + lookup: xupsBypassName + overrides: + #upsBatteryStatus: + # type: EnumAsStateSet + xupsInputId: + type: EnumAsStateSet + xupsOutputId: + type: EnumAsStateSet + xupsBypassId: + type: EnumAsStateSet + xupsOutputSource: + type: EnumAsStateSet + xupsBatteryAbmStatus: + type: EnumAsStateSet + xupsContactType: + type: EnumAsStateSet +... diff --git a/group_vars/prom/prometheus_snmp/main.yml b/group_vars/prom/prometheus_snmp/main.yml new file mode 100644 index 0000000..4e001ac --- /dev/null +++ b/group_vars/prom/prometheus_snmp/main.yml @@ -0,0 +1,5 @@ +--- +prometheus_snmp__modules: + quanta: "{{ prometheus_snmp__modules_quanta }}" + eaton: "{{ prometheus_snmp__modules_eaton }}" +... diff --git a/group_vars/prom/prometheus_snmp/quanta.yml b/group_vars/prom/prometheus_snmp/quanta.yml new file mode 100644 index 0000000..455bbd1 --- /dev/null +++ b/group_vars/prom/prometheus_snmp/quanta.yml @@ -0,0 +1,107 @@ +--- +prometheus_snmp__modules_quanta: + auth: + community: "{{ vault_snmp_quanta_community }}" + walk: + - interfaces + - ifXTable + - snAgGblQueueOverflow + - snAgGblDynMemTotal + - snAgGblDynMemFree + - snAgGblCpuUtil1SecAvg + - snAgGblCpuUtil5SecAvg + - snAgGblCpuUtil1MinAvg + - sysUpTime + - snAgentCpuUtilPercent + - snAgent + - snChasFan + - snChasPwr + - snAgentTemp + - snAgentCpu + - snSwInfo + - snSwIfInfoTable + - dot3StatsTable + - dot3HCStatsTable + - dot3Errors + - dot3Tests + - dot3CollTable + lookups: + - source_indexes: + - ifIndex + lookup: ifAlias + - source_indexes: + - ifIndex + lookup: ifDescr + - source_indexes: + - ifIndex + lookup: ifName + - source_indexes: + - snChasFanIndex + lookup: snChasFanDescription + - source_indexes: + - snAgentTempSlotNum + - snAgentTempSensorId + lookup: snAgentTempSensorDescr + - source_indexes: + - snSwIfInfoPortNum + lookup: snSwIfName + - source_indexes: + - snSwIfInfoPortNum + lookup: snSwIfDescr + - source_indexes: + - dot3StatsIndex + lookup: ifAlias + - source_indexes: + - dot3StatsIndex + lookup: ifDescr + - source_indexes: + - dot3StatsIndex + lookup: ifName + overrides: + ifIndex: + ignore: true + ifAlias: + ignore: true + ifDescr: + ignore: true + ifName: + ignore: true + ifOperStatus: + type: EnumAsStateSet + ifAdminStatus: + type: EnumAsStateSet + snChasFanIndex: + ignore: true + snChasFanDescription: + ignore: true + snChasPwrSupplyIndex: + ignore: true + snAgentTempSensorDescr: + ignore: true + snChasFanOperStatus: + type: EnumAsStateSet + snChasPwrSupplyOperStatus: + type: EnumAsStateSet + snSwIfName: + ignore: true + snSwIfDescr: + ignore: true + snSwIfVlanId: + ignore: true + snSwIfInfoPortNum: + ignore: true + snSwIfInfoMonitorMode: + type: EnumAsStateSet + snSwIfInfoMirrorPorts: + ignore: true + snSwIfInfoMediaType: + type: EnumAsInfo + ifType: + type: EnumAsInfo + dot3StatsIndex: + ignore: true + dot3StatsEtherChipSet: + ignore: true + dot3StatsDuplexStatus: + type: EnumAsStateSet +... diff --git a/host_vars/ns-master.int.infra.auro.re/knotd.yml b/host_vars/ns-master.int.infra.auro.re/knotd.yml index 8ac7af1..5892a9f 100644 --- a/host_vars/ns-master.int.infra.auro.re/knotd.yml +++ b/host_vars/ns-master.int.infra.auro.re/knotd.yml @@ -345,12 +345,6 @@ knotd__zones: ns-master.int: - 10.128.0.110 - 2a09:6840:128:0::110 - ec-1.ups: - - 10.131.4.1 - - 2a09:6840:131::4:1 - ec-2.ups: - - 10.131.4.2 - - 2a09:6840:131::4:2 network-1.pve: - 2a09:6840:209::1:1 - 10.209.1.1 @@ -438,12 +432,18 @@ knotd__zones: gk-1.core.sw: #- 2a09:6840:207::2:1 - 10.207.2.1 - ec-1.core.sw: + eb-1.core.sw: #- 2a09:6840:207::3:1 - 10.207.3.1 r3-1.core.sw: #- 2a09:6840:207::4:1 - 10.207.4.1 + eb-1.ups: + - 2a09:6840:201::3:1 + - 10.201.3.1 + ec-1.ups: + - 2a09:6840:201::3:2 + - 10.201.3.2 108.66.45.in-addr.arpa: dnssec_policy: ripe diff --git a/hosts b/hosts index 1db0fd5..d29d2bd 100644 --- a/hosts +++ b/hosts @@ -11,9 +11,13 @@ fl-1.core.sw.infra.auro.re fl-2.core.sw.infra.auro.re fd-1.core.sw.infra.auro.re gk-1.core.sw.infra.auro.re -ec-1.core.sw.infra.auro.re +eb-1.core.sw.infra.auro.re r3-1.core.sw.infra.auro.re +[eaton_ups] +eb-1.ups.infra.auro.re +ec-1.ups.infra.auro.re + [vpn] #vpn-[1:2].back.infra.auro.re diff --git a/roles/prometheus/templates/prometheus.yml.j2 b/roles/prometheus/templates/prometheus.yml.j2 index 1f68d8a..cf4a3c0 100644 --- a/roles/prometheus/templates/prometheus.yml.j2 +++ b/roles/prometheus/templates/prometheus.yml.j2 @@ -3,162 +3,3 @@ {{ prometheus__config | to_nice_yaml }} ... - -{# -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: - federated_instance: '{{ inventory_hostname }}' - -# 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: - - "alerts/*.yml" # Monitoring alerts, this is the file you may be searching! - -# A scrape configuration containing exactly one endpoint to scrape: -# Here it's Prometheus itself. -scrape_configs: - - job_name: prometheus - static_configs: - - targets: - - localhost:9090 - -{% if prometheus_servers_targets is defined %} - - job_name: servers - static_configs: - - targets: {{ prometheus_servers_targets | to_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:9100' -{% endif %} - -{% if prometheus_unifi_snmp_targets is defined %} - - job_name: unifi_snmp - static_configs: - - targets: {{ prometheus_unifi_snmp_targets | to_json }} - metrics_path: /snmp - params: - module: [ubiquiti_unifi] - 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 -{% endif %} - -{% if prometheus_ups_snmp_targets is defined %} - - job_name: ups_snmp - static_configs: - - targets: {{ prometheus_ups_snmp_targets | to_json }} - metrics_path: /snmp - params: - module: [eatonups] - 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 -{% endif %} - -{% if prometheus_switch_snmp_targets is defined %} - - job_name: switch_snmp - static_configs: - - targets: {{ prometheus_switch_snmp_targets | to_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 -{% endif %} - -{% if prometheus_docker_targets is defined %} - - job_name: docker - static_configs: - - targets: {{ prometheus_docker_targets | to_json }} - relabel_configs: - # Do not put :8087 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:8087' -{% endif %} - -{% if prometheus_postgresql_targets is defined %} - - job_name: postgresql - static_configs: - - targets: {{ prometheus_postgresql_targets | to_json }} - relabel_configs: - # Do not put :9187 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:9187' -{% endif %} - -{% if prometheus_apc_pdu_snmp_targets is defined %} - - job_name: apc_pdu_snmp - static_configs: - - targets: {{ prometheus_apc_pdu_snmp_targets | to_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 -{% endif %} - -{% if prometheus_ilo_snmp_targets is defined %} - - job_name: ilo_snmp - static_configs: - - targets: {{ prometheus_ilo_snmp_targets | to_json }} - metrics_path: /snmp - params: - module: - - ilo - 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 -{% endif %} -... -#} diff --git a/roles/prometheus_snmp/files/mibs/EATON-EMP-MIB.txt b/roles/prometheus_snmp/files/mibs/EATON-EMP-MIB.txt new file mode 100644 index 0000000..3321da0 --- /dev/null +++ b/roles/prometheus_snmp/files/mibs/EATON-EMP-MIB.txt @@ -0,0 +1,287 @@ +EATON-EMP-MIB DEFINITIONS ::= BEGIN + +IMPORTS + MODULE-IDENTITY, OBJECT-TYPE, Integer32 + FROM SNMPv2-SMI + DisplayString + FROM SNMPv2-TC + MODULE-COMPLIANCE, OBJECT-GROUP + FROM SNMPv2-CONF + xupsEnvironment + FROM EATON-OIDS; + +eatonEMPMIB MODULE-IDENTITY + LAST-UPDATED "202005270000Z" + ORGANIZATION "Eaton Corporation" + CONTACT-INFO + "Eaton Power Quality Technical Support (PQTS) group + www.eaton.com/powerxpert + Technical Resource Center phone numbers + United States: 1.800.843.9433 or 919.870.3028 + Canada: 1.800.461.9166 ext. 260 + All other countries: Call your local service representative." + DESCRIPTION + "The MIB module for Eaton Environment Monitoring Probes (EMP). + The elements of this MIB have been extracted from the + Eaton PowerMIB and placed in this separate MIB file for convenience. + + Copyright (C) Eaton Corporation (2007)." + + REVISION "202005270000Z" + DESCRIPTION + "xupsEnvRemoteCommunicationStatus is added, it reports the EMP communication status." + + REVISION "200703120000Z" + DESCRIPTION + "Initial Version of eatonEMPMIB." + + ::= { xupsEnvironment 0 } + +-- ::= { enterprises 534 8 1 } +-- eatonEMPMIB { iso org(3) dod(6) internet(1) private(4) +-- enterprises(1) eaton(534) xupsMIB(1) xupsEnvironment(6) (0) } + +-- +-- EMP group +-- +-- The objects defined in this group are provided by the EMP. +-- They are Temperature and Humidity readings and alarming limits, +-- and the (two) contacts readings and setup information. +-- These objects are considered "Remote" since the EMP is a +-- separate probe from the Eaton device or gateway it is connected to. +-- +-- Notices/Traps: two different types of traps may be sent in response +-- to EMP changes, depending upon the type of device the EMP is attached to. +-- If connected to a UPS device, normally the PowerMIB traps are sent: +-- xupstdRemoteTempBad +-- xupstdRemoteHumidityBad +-- xupstdContactActiveNotice +-- xupstdContactInactiveNotice +-- If connected to a Toolkit-enabled PowerXpert Gateway, Toolkit traps are sent: +-- powerChainCriticalAlarm +-- powerChainCautionaryAlarm +-- powerChainAlarmAcknowledged +-- powerChainAlarmCleared +-- Both sets of traps are defined in their respective MIB files. + + +xupsEnvRemoteTemp OBJECT-TYPE + SYNTAX Integer32 (-100..200) + UNITS "degrees Centigrade" + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "The reading of an EMP's temperature sensor." + ::= { xupsEnvironment 5 } + +xupsEnvRemoteHumidity OBJECT-TYPE + SYNTAX Integer32 (0..100) + UNITS "percent" + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "The reading of an EMP's humidity sensor." + ::= { xupsEnvironment 6 } + +-- +-- The Environmental Contact Sensing Table +-- Contains the table for monitoring all contacts (digital +-- inputs, normally 2 in an EMP). +-- + +xupsEnvNumContacts OBJECT-TYPE + SYNTAX Integer32 (1..1024) + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "The number of Contacts in the xupsContactSenseTable. + This object indicates the number of rows in the + xupsContactSenseTable." + ::= { xupsEnvironment 7 } + +xupsContactSenseTable OBJECT-TYPE + SYNTAX SEQUENCE OF XupsContactsTableEntry + MAX-ACCESS not-accessible + STATUS current + DESCRIPTION + "A list of Contact Sensing table entries. + The number of entries is given by the value of + xupsEnvNumContacts." + ::= { xupsEnvironment 8 } + +xupsContactsTableEntry OBJECT-TYPE + SYNTAX XupsContactsTableEntry + MAX-ACCESS not-accessible + STATUS current + DESCRIPTION + "An entry containing information applicable + to a particular Contact input." + INDEX { xupsContactIndex } + ::= { xupsContactSenseTable 1 } + +XupsContactsTableEntry ::= SEQUENCE { + xupsContactIndex Integer32, + xupsContactType INTEGER, + xupsContactState INTEGER, + xupsContactDescr DisplayString + } + +xupsContactIndex OBJECT-TYPE + SYNTAX Integer32 (1..1024) + MAX-ACCESS read-only -- actually not-accessible + STATUS current + DESCRIPTION + "The Contact identifier; identical to the Contact Number. + This object is not-accessible to MIB browsers, but had to be changed to + read-only to satisfy SMIv2 syntax checkers if it is included in traps." + ::= { xupsContactsTableEntry 1 } + +xupsContactType OBJECT-TYPE + SYNTAX INTEGER { + normallyOpen(1), -- or Input Normally High + normallyClosed(2), -- or Input Normally Low + anyChange(3), -- No normal Open/Closed state + notUsed(4) -- Contact not in service or not alarming + } + MAX-ACCESS read-write + STATUS current + DESCRIPTION + "The normal state for this contact. The 'other' (not 'Normally') + state is the Active state for generating the xupstdContactActiveNotice + trap. If anyChange(3) is selected, then this trap is sent + any time the contact changes to either Open or Closed. + No traps are sent if the Contact is set to notUsed(4). + In many cases, the configuration for Contacts may be done by other + means, so this object may be read-only." + ::= { xupsContactsTableEntry 2 } + +xupsContactState OBJECT-TYPE + SYNTAX INTEGER { + open(1), + closed(2), + openWithNotice(3), + closedWithNotice(4) + } + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "The current state of the Contact input; + the value is based on the open/closed input state + and the setting for xupsContactType. + When entering the openWithNotice(3) and closedWithNotice(4) + states, no entries added to the xupsAlarmTable, but + the xupstdContactActiveNotice trap is sent." + ::= { xupsContactsTableEntry 3 } + +xupsContactDescr OBJECT-TYPE + SYNTAX DisplayString (SIZE (0..63)) + MAX-ACCESS read-write + STATUS current + DESCRIPTION + "A label identifying the Contact. This object should be + set by the administrator." + ::= { xupsContactsTableEntry 4 } + +xupsEnvRemoteTempLowerLimit OBJECT-TYPE + SYNTAX Integer32 (-100..200) + UNITS "degrees Centigrade" + MAX-ACCESS read-write + STATUS current + DESCRIPTION + "The Lower Limit of the EMP temperature; if xupsEnvRemoteTemp + falls below this value, the xupsRemoteTempBad alarm will occur." + ::= { xupsEnvironment 9 } + +xupsEnvRemoteTempUpperLimit OBJECT-TYPE + SYNTAX Integer32 (-100..200) + UNITS "degrees Centigrade" + MAX-ACCESS read-write + STATUS current + DESCRIPTION + "The Upper Limit of the EMP temperature; if xupsEnvRemoteTemp + rises above this value, the xupsRemoteTempBad alarm will occur. + This value should be greater than xupsEnvRemoteTempLowerLimit." + ::= { xupsEnvironment 10 } + +xupsEnvRemoteHumidityLowerLimit OBJECT-TYPE + SYNTAX Integer32 (0..100) + UNITS "percent" + MAX-ACCESS read-write + STATUS current + DESCRIPTION + "The Lower Limit of the EMP humidity reading; if xupsEnvRemoteHumidity + falls below this value, the xupsRemoteHumidityBad alarm will occur." + ::= { xupsEnvironment 11 } + +xupsEnvRemoteHumidityUpperLimit OBJECT-TYPE + SYNTAX Integer32 (0..100) + UNITS "percent" + MAX-ACCESS read-write + STATUS current + DESCRIPTION + "The Upper Limit of the EMP humidity reading; if xupsEnvRemoteHumidity + rises above this value, the xupsRemoteHumidityBad alarm will occur. + This value should be greater than xupsEnvRemoteHumidityLowerLimit." + ::= { xupsEnvironment 12 } + +xupsEnvRemoteCommunicationStatus OBJECT-TYPE + SYNTAX INTEGER { + unknown(0), + communicationOK(2), + communicationLost(3) + } + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "The current communication status of the EMP." + ::= { xupsEnvironment 13 } + +-- +-- Traps / Notifications for the EMP in the PowerMIB style +-- The special EMP traps are not normally provided by Power Xpert Gateways (which use +-- the PXG-style traps instead) but could be provided by PowerMIB implementations +-- These are found in the PowerMIB: +-- xupstdContactActiveNotice +-- xupstdContactInactiveNotice +-- xupstdRemoteTempBad +-- xupstdRemoteHumidityBad + + +-- +-- Conformance-related definitions +-- +eatonEMPConformance OBJECT IDENTIFIER ::= { eatonEMPMIB 2 } + +eatonEMPGroup OBJECT-GROUP + OBJECTS { xupsEnvRemoteTemp, xupsEnvRemoteHumidity, + xupsEnvRemoteTempLowerLimit, xupsEnvRemoteTempUpperLimit, + xupsEnvRemoteHumidityLowerLimit, xupsEnvRemoteHumidityUpperLimit, + xupsEnvRemoteCommunicationStatus } + STATUS current + DESCRIPTION + "The EMP scalar objects." + ::= { eatonEMPConformance 1 } + +eatonEMPTableGroup OBJECT-GROUP + OBJECTS { xupsEnvNumContacts, xupsContactIndex, xupsContactType, + xupsContactState, xupsContactDescr } + STATUS current + DESCRIPTION + "The EMP Contacts Table objects." + ::= { eatonEMPConformance 2 } + + +eatonEMPSimpleCompliance MODULE-COMPLIANCE + STATUS current + DESCRIPTION + "The compliance statement for a normal EMP." + MODULE -- this module + MANDATORY-GROUPS { eatonEMPGroup, eatonEMPTableGroup } + ::= { eatonEMPConformance 4 } + + + + + +END + diff --git a/roles/prometheus_snmp/files/mibs/EATON-OIDS.txt b/roles/prometheus_snmp/files/mibs/EATON-OIDS.txt new file mode 100644 index 0000000..ac1d4e6 --- /dev/null +++ b/roles/prometheus_snmp/files/mibs/EATON-OIDS.txt @@ -0,0 +1,193 @@ +EATON-OIDS DEFINITIONS ::= BEGIN + +IMPORTS + MODULE-IDENTITY, enterprises FROM SNMPv2-SMI + Integer32 FROM SNMPv2-SMI + TEXTUAL-CONVENTION FROM SNMPv2-TC; + +eaton MODULE-IDENTITY + LAST-UPDATED "201811130000Z" + ORGANIZATION "Eaton Corporation" + CONTACT-INFO + "Eaton Power Quality Technical Support (PQTS) group + www.eaton.com/powerxpert + Technical Resource Center phone numbers + United States: 1.800.843.9433 or 919.870.3028 + Canada: 1.800.461.9166 ext. 260 + All other countries: Call your local service representative." + DESCRIPTION + "Assigns major branches from the root of + Eaton's OID tree (534). + + Copyright (C) Exide Electronics 1992-98 + Copyright (C) Powerware Corporation 1999-2004 + Copyright (C) Eaton Corporation (2005-)." + + REVISION "201811130000Z" + DESCRIPTION + "Added assignments for eatonSensor MIB." + + REVISION "201402190000Z" + DESCRIPTION + "Added assignments for stsMIB." + + REVISION "201001240000Z" + DESCRIPTION + "Added assignments for eatonEpdu and eatonEpduMa." + + REVISION "200906180000Z" + DESCRIPTION + "Added assignments for powerCmnd and OSDCIIMIB." + + + REVISION "200708060000Z" + DESCRIPTION + "Added assignments for pcdMIB and pxmMIB. + Added common Textual Conventions for Integers." + + REVISION "200707050000Z" + DESCRIPTION + "Added assignment for eatonEpduMIB. + Cleaned up file for public consumption." + + REVISION "200610150000Z" + DESCRIPTION + "Added assignments for powerChain and pxgMIB." + + REVISION "200605250000Z" + DESCRIPTION + "Revised from the original assignments in XUPS-MIB.txt. + Note that enterprises.534. was originally assigned to Exide + Electronics before Powerware was acquired by Eaton." + + ::= { enterprises 534 } + +-- EATON-OIDS { iso org(3) dod(6) internet(1) private(4) +-- enterprises(1) eaton(534) } + + +-- The Powerware "PowerMIB" for UPSs +xupsMIB OBJECT IDENTIFIER ::= {eaton 1} +-- Define the Environment group here since it is used in the Eaton-EMP-MIB as well +xupsEnvironment OBJECT IDENTIFIER ::= {xupsMIB 6} + +-- +-- The root of the list of Object Identifiers that are used to +-- distinguish Eaton's SNMP agents (for use in sysObjId): +xupsObjectId OBJECT IDENTIFIER ::= {eaton 2} + powerwareEthernetSnmpAdapter OBJECT IDENTIFIER ::= {xupsObjectId 1} + powerwareNetworkSnmpAdapterEther OBJECT IDENTIFIER ::= {xupsObjectId 2} + powerwareNetworkSnmpAdapterToken OBJECT IDENTIFIER ::= {xupsObjectId 3} + onlinetDaemon OBJECT IDENTIFIER ::= {xupsObjectId 4} + connectUPSAdapterEthernet OBJECT IDENTIFIER ::= {xupsObjectId 5} + powerwareNetworkDigitalIOEther OBJECT IDENTIFIER ::= {xupsObjectId 6} + connectUPSAdapterTokenRing OBJECT IDENTIFIER ::= {xupsObjectId 7} + simpleSnmpAdapter OBJECT IDENTIFIER ::= {xupsObjectId 8} + powerwareEliSnmpAdapter OBJECT IDENTIFIER ::= {xupsObjectId 9} + powerwareBasicEmbeddedEthernet OBJECT IDENTIFIER ::= {xupsObjectId 10} + eatonPowerChainGateway OBJECT IDENTIFIER ::= {xupsObjectId 11} + eatonPowerChainDevice OBJECT IDENTIFIER ::= {xupsObjectId 12} + eatonPowerXpertMeter OBJECT IDENTIFIER ::= {xupsObjectId 13} + + +-- Digital IO MIB (deprecated) +-- File XUPSIOV1.MIB +xupsIoMIB OBJECT IDENTIFIER ::= {eaton 3} + +-- DataTrax Forseer and Powervision branch +powerVision OBJECT IDENTIFIER ::= {eaton 4} + +-- orphaned: BEEP (Basic Embedded Ethernet Product) +-- File XUPS-BASIC-MIB.txt +--xupsBasic OBJECT IDENTIFIER ::= {eaton 5} + +-- A branch for Powerware Product MIBs +products OBJECT IDENTIFIER ::= {eaton 6} + -- Product assignments + + pduAgent OBJECT IDENTIFIER ::= {products 6} + -- pduAgent product assignments + -- File MIB_hdpdu.mib for HD PDU + hdpdu OBJECT IDENTIFIER ::= {pduAgent 2} + + -- MIB for Eaton PDU, first for 9315's 3-phase PDU + -- Defined in EATON-PDU-MIB.txt + eatonPdu OBJECT IDENTIFIER ::= {pduAgent 4} + + -- MIB for Eaton Powerware first-generation Managed ePDUs + -- Defined in EATON-EPDU-MA-MIB.txt + -- eatonEpduMa OBJECT IDENTIFIER ::= {pduAgent 6} + + -- MIB for Eaton Powerware ePDUs + -- Defined in EATON-EPDU-MIB.txt + -- eatonEpdu OBJECT IDENTIFIER ::= {pduAgent 7} + + sensorAgent OBJECT IDENTIFIER ::= {products 8} + -- sensorAgent product assignments + -- MIB for Eaton Sensors + -- Defined in EATON-SENSOR-MIB.txt + -- eatonSensor OBJECT IDENTIFIER ::= {sensorAgent 1} + + + dataCenter OBJECT IDENTIFIER ::= {products 7} + -- dataCenter product assignments + environmentalMonitor OBJECT IDENTIFIER ::= {dataCenter 1} + + +-- A branch for Eaton IT Department +itProjects OBJECT IDENTIFIER ::= {eaton 7} + pki OBJECT IDENTIFIER ::= {itProjects 1} + +-- A branch for PowerChain Product MIBs +powerChain OBJECT IDENTIFIER ::= {eaton 8} + -- Product assignments + + -- MIB to support Alarms and Events in PowerXpert toolkit-enabled + -- Devices, Gateways, PXMeters + -- Defined in file EATON-PXG-MIB.txt + -- pxgMIB OBJECT IDENTIFIER ::= {powerChain 1} + + -- MIB to support common measures in Power Chain Devices + -- Defined in file EATON-PCD-MIB.txt + -- pcdMIB OBJECT IDENTIFIER ::= {powerChain 2} + + -- MIB to support power measures in Power Meters + -- Defined in file EATON-PWR-MTR-MIB.txt + -- pxmMIB OBJECT IDENTIFIER ::= {powerChain 3} + +-- A branch for powercomand commercial control Product MIBs +powerCmnd OBJECT IDENTIFIER ::= {eaton 9} + + -- Product assignments + -- MIB to support the OSDCII controller + -- Defined in file EATON-OSDCII-MIB.txt + -- osdcMIB OBJECT IDENTIFIER ::= {powerCmnd 1} + +-- A branch for Eaton STS devices MIBs +sts OBJECT IDENTIFIER ::= {eaton 10} + + -- Product assignments + -- MIB to support the data in STS devices + -- Defined in file Eaton-STS.MIB + -- stsMIB OBJECT IDENTIFIER ::= {ats 1} + +-- Define some common Textual Conventions +-- PositiveInteger and NonNegativeInteger are borrowed from RFC1628 + PositiveInteger ::= TEXTUAL-CONVENTION + DISPLAY-HINT "d" + STATUS current + DESCRIPTION + "This data type is a non-zero and non-negative value." + SYNTAX Integer32 (1..2147483647) + + NonNegativeInteger ::= TEXTUAL-CONVENTION + DISPLAY-HINT "d" + STATUS current + DESCRIPTION + "This data type is a non-negative value." + SYNTAX Integer32 (0..2147483647) + + + + END + diff --git a/roles/prometheus_snmp/files/mibs/XUPS-MIB.txt b/roles/prometheus_snmp/files/mibs/XUPS-MIB.txt new file mode 100644 index 0000000..272ca95 --- /dev/null +++ b/roles/prometheus_snmp/files/mibs/XUPS-MIB.txt @@ -0,0 +1,2750 @@ +XUPS-MIB DEFINITIONS ::= BEGIN + +IMPORTS + TimeTicks, Gauge32, Counter32, Integer32 + FROM SNMPv2-SMI + DisplayString + FROM SNMPv2-TC + MODULE-IDENTITY, OBJECT-TYPE, NOTIFICATION-TYPE + FROM SNMPv2-SMI + MODULE-COMPLIANCE, OBJECT-GROUP, NOTIFICATION-GROUP + FROM SNMPv2-CONF + sysName + FROM RFC1213-MIB + eaton, xupsEnvironment + FROM EATON-OIDS + -- Need to import these EMP objects to support PowerMIB-style traps for EMP + xupsContactIndex, xupsContactType, xupsContactState, xupsContactDescr, + xupsEnvRemoteTemp, xupsEnvRemoteTempLowerLimit, xupsEnvRemoteTempUpperLimit, + xupsEnvRemoteHumidity, xupsEnvRemoteHumidityLowerLimit, + xupsEnvRemoteHumidityUpperLimit, xupsEnvRemoteCommunicationStatus + FROM EATON-EMP-MIB; + +xupsMIB MODULE-IDENTITY + LAST-UPDATED "202005270000Z" + ORGANIZATION "Eaton Corporation" + CONTACT-INFO + "Eaton Power Quality Technical Support (PQTS) group + www.eaton.com/powerxpert + Technical Resource Center phone numbers + United States: 1.800.843.9433 or 919.870.3028 + Canada: 1.800.461.9166 ext. 260 + All other countries: Call your local service representative." + DESCRIPTION + "Defines Eaton's proprietary PowerMIB for UPS and + related device data. + + Copyright (C) Exide Electronics 1992-98 + Copyright (C) Powerware Corporation 1999-2004 + Copyright (C) Eaton Corporation (2005-)." + + REVISION "202005270000Z" + DESCRIPTION + "xupsEnvRemoteCommunicationStatus is added, it reports the EMP communication status. + Add a new value in enum xupsOutputStatus for the case the output is powered but no continuity feature." + + REVISION "202001230000Z" + DESCRIPTION + "xupsInputTable, xupsOutputTable and xupsBypassTable collection are + completed with the phase to phase voltage measure." + + REVISION "201909270000Z" + DESCRIPTION + "xupsOutputSource data can monitor the ESS mode." + + REVISION "201909120000Z" + DESCRIPTION + "Provide new data that reflects some battery alarm : xupsBatteryFailure, + xupsBatteryNotPresent, xupsBatteryAged, xupsBatteryLowCapacity." + + REVISION "201909100000Z" + DESCRIPTION + "Change the data xupsBatteryLastReplacedDate to read-only because the card + sets it automatically when the battery replacement is detected." + + REVISION "201904120000Z" + DESCRIPTION + "Provide the status of the main AC Input in xupsInputStatus. + Provide the status of the AC Output in xupsOutputStatus and a new trap + and alarm 'load not protected' in xupsOutputNotProtected." + + REVISION "201903050000Z" + DESCRIPTION + "Provide more UPS identification data as xupsIdentPartNumber and xupsIdentSerialNumber. + Provide a collection xupsAgent that contains identification data of the card : + xupsAgentManufacturer, xupsAgentModel, xupsAgentSoftwareVersion, xupsAgentPartNumber, + xupsAgentSerialNumber" + + REVISION "201902190000Z" + DESCRIPTION + "To ensure consistency whith the measures done on the UPS, the data following are renamed : + xupsInputAverageCurrent to xupsInputTotalCurrent, + xupsOutputAverageCurrent to xupsOutputTotalCurrent, + xupsBypassAverageCurrent to xupsBypassTotalCurrent." + + REVISION "201809120000Z" + DESCRIPTION + "Add new data xupsInputId, xupsInputName, xupsInputCurrentHighPrecision in the table xupsInputTable. + Add new sub collection xupsInputTotal with xupsInputAverageVoltage, xupsInputAverageCurrent, + xupsInputTotalWatts, xupsInputTotalVA, xupsInputAveragePowerFactor inside. + Add new data xupsOutputId, xupsOutputName, xupsOutputCurrentHighPrecision, + xupsOutputPercentLoad, xupsOutputVA in the table xupsOutputTable. + Add new sub collection xupsOutputTotal with xupsOutputAverageVoltage, xupsOutputAverageCurrent, + xupsOutputTotalWatts, xupsOutputTotalVA, xupsOutputAveragePowerFactor inside. + Add new data xupsBypassId, xupsBypassName, xupsBypassCurrentHighPrecision, + xupsBypassWatts in the table xupsBypassTable. + Add new sub collection xupsBypassTotal with xupsBypassTotalAverageVoltage, xupsBypassAverageCurrent, + xupsBypassTotalWatts, xupsBypassTotalVA, xupsBypassTotalAverageFactor inside." + + REVISION "201804230000Z" + DESCRIPTION + "Add new data xupsTestTrap, xupstdTestTrap that will allow to initiate a + test trap sent out from the agent to the trap receivers." + + REVISION "201211261513Z" + DESCRIPTION + "Add the identifier of measures xupsInputId, xupsOutputId and xupsBypassId, + respectively in the table xupsInputTable, xupsOutputTable and xupsBypassTable." + + REVISION "201204030000Z" + DESCRIPTION + "Add new data xupsOutputHourlyPowerUsage, xupsOutputCumulativePowerUsage, + and xupsOutputCumulativePowerUsageTimer into the collection xupsOutput. + Add new data xupsRecepHourlyPowerUsage, xupsRecepCumulativePowerUsage, + and xupsRecepCumulativePowerUsageTimer into the collection xupsRecepTable." + + REVISION "201102250000Z" + DESCRIPTION + "Add new data xupsSwitchable" + + REVISION "200810020000Z" + DESCRIPTION + "Added new values of batteryDisconnected(6), batteryUnderTest(7), + and checkBattery(8) to xupsBatteryAbmStatus." + + REVISION "200705030000Z" + DESCRIPTION + "Added new value of pxg(5) to xupsSendTrapType + for Power Xpert Gateway implementations." + + REVISION "200703130000Z" + DESCRIPTION + "Initial SNMPv2-SMI-compliant Version of PowerMIB. + Incorporates all revisions of the original xups + MIB file through Version 3.13 21-May-04." + + ::= { eaton 1 } + +-- xupsMIB { iso org(3) dod(6) internet(1) private(4) +-- enterprises(1) eaton(534) xupsMIB(1) } + + +xupsIdent OBJECT IDENTIFIER ::= { xupsMIB 1 } +xupsBattery OBJECT IDENTIFIER ::= { xupsMIB 2 } +xupsInput OBJECT IDENTIFIER ::= { xupsMIB 3 } +xupsOutput OBJECT IDENTIFIER ::= { xupsMIB 4 } +xupsBypass OBJECT IDENTIFIER ::= { xupsMIB 5 } +-- xupsEnvironment OBJECT IDENTIFIER ::= { xupsMIB 6 } - defined in EATON-OIDS +xupsAlarm OBJECT IDENTIFIER ::= { xupsMIB 7 } +xupsTest OBJECT IDENTIFIER ::= { xupsMIB 8 } +xupsControl OBJECT IDENTIFIER ::= { xupsMIB 9 } +xupsConfig OBJECT IDENTIFIER ::= { xupsMIB 10 } +xupsTrapControl OBJECT IDENTIFIER ::= { xupsMIB 11 } +xupsRecep OBJECT IDENTIFIER ::= { xupsMIB 12 } +xupsTopology OBJECT IDENTIFIER ::= { xupsMIB 13 } +xupsAgent OBJECT IDENTIFIER ::= { xupsMIB 14 } + +xupsInputTotal OBJECT IDENTIFIER ::= { xupsInput 8 } +xupsOutputTotal OBJECT IDENTIFIER ::= { xupsOutput 9 } +xupsBypassTotal OBJECT IDENTIFIER ::= { xupsBypass 4 } + +-- +-- xupsIdent group: +-- +xupsIdentManufacturer OBJECT-TYPE + SYNTAX DisplayString (SIZE (0..31)) + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "The UPS Manufacturer Name (e.g. Eaton Corporation)." + ::= { xupsIdent 1} + +xupsIdentModel OBJECT-TYPE + SYNTAX DisplayString (SIZE (0..63)) + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "The UPS Model (e.g. Powerware Plus Model 18)." + ::= {xupsIdent 2} + +xupsIdentSoftwareVersion OBJECT-TYPE + SYNTAX DisplayString (SIZE (0..63)) + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "The firmware revision level(s) of the UPS microcontroller(s)." + ::= {xupsIdent 3} + +xupsIdentOemCode OBJECT-TYPE + SYNTAX Integer32 (0..255) + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "A binary code indicating who the UPS was manufactured or labeled for. + 0 or 255 indicates Eaton itself." + ::= {xupsIdent 4} + +xupsIdentPartNumber OBJECT-TYPE + SYNTAX OCTET STRING (SIZE(1..31)) + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "The catalog part number of the UPS device." + ::= { xupsIdent 5 } + +xupsIdentSerialNumber OBJECT-TYPE + SYNTAX OCTET STRING (SIZE(1..31)) + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "The serial number of the UPS device." + ::= { xupsIdent 6 } + + +-- +-- xupsBattery group: +-- +xupsBatTimeRemaining OBJECT-TYPE + SYNTAX Integer32 (0..2147483647) + UNITS "seconds" + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "Battery run time in seconds before UPS turns off due + to low battery." + ::= { xupsBattery 1} + +xupsBatVoltage OBJECT-TYPE + SYNTAX Integer32 (0..2147483647) + UNITS "Volts DC" + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "Battery voltage as reported by the UPS meters." + ::= {xupsBattery 2} + +xupsBatCurrent OBJECT-TYPE + SYNTAX Integer32 (-2147483648..2147483647) + UNITS "Amps DC" + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "Battery Current as reported by the UPS metering. + Current is positive when discharging, negative + when recharging the battery." + ::= {xupsBattery 3} + +xupsBatCapacity OBJECT-TYPE + SYNTAX Integer32 (0..100) + UNITS "percent" + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "Battery percent charge." + ::= { xupsBattery 4} + +xupsBatteryAbmStatus OBJECT-TYPE + SYNTAX INTEGER { + batteryCharging(1), + batteryDischarging(2), + batteryFloating(3), + batteryResting(4), + unknown(5), + batteryDisconnected(6), + batteryUnderTest(7), + checkBattery(8) + } + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "Gives the status of the Advanced Battery Management and Battery state; + batteryFloating(3) status means that the charger is temporarily + charging the battery to its float voltage; batteryResting(4) is the + state when the battery is fully charged and none of the other actions + (charging/discharging/floating) is being done. + checkBattery(8) indicates that the Battery state is uncertain + following a poor battery test result." + ::= { xupsBattery 5} + +xupsBatteryLastReplacedDate OBJECT-TYPE + SYNTAX DisplayString (SIZE (0..16)) + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "The date when the Batteries in this UPS were last replaced. Free text format, + so the preferred local date format may be used (MM/DD/YYYY, DD-Mon-YYYY, etc)." + ::= { xupsBattery 6} + +xupsBatteryFailure OBJECT-TYPE + SYNTAX INTEGER { + yes(1), + no(2) + } + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "Indicates if a battery fault detected or battery tests failed." + ::= { xupsBattery 7} + +xupsBatteryNotPresent OBJECT-TYPE + SYNTAX INTEGER { + yes(1), + no(2) + } + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "Indicates if the UPS has no battery either internal or external." + ::= { xupsBattery 8} + +xupsBatteryAged OBJECT-TYPE + SYNTAX INTEGER { + yes(1), + no(2) + } + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "Indicates if the battery is over aged." + ::= { xupsBattery 9} + +xupsBatteryLowCapacity OBJECT-TYPE + SYNTAX INTEGER { + yes(1), + no(2) + } + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "Indicates if the battery capacity is below the threshold set in the UPS." + ::= { xupsBattery 10} + + +-- +-- xupsInput group: +-- +xupsInputFrequency OBJECT-TYPE + SYNTAX Integer32 (0..2147483647) + UNITS "0.1 Hertz" + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "The utility line frequency in tenths of Hz." + ::= {xupsInput 1} + +xupsInputLineBads OBJECT-TYPE + SYNTAX Counter32 + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "The number of times the Input was out of tolerance + in voltage or frequency." + ::= {xupsInput 2} + +xupsInputNumPhases OBJECT-TYPE + SYNTAX Integer32 (0..6) + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "The number of input phases (normally 1 to 3)." + ::= {xupsInput 3} + +xupsInputTable OBJECT-TYPE + SYNTAX SEQUENCE OF XupsInputEntry + MAX-ACCESS not-accessible + STATUS current + DESCRIPTION + "A list of input table entries. The number of entries + is given by the value of xupsInputNumPhases." + ::= {xupsInput 4} + +xupsInputEntry OBJECT-TYPE + SYNTAX XupsInputEntry + MAX-ACCESS not-accessible + STATUS current + DESCRIPTION + "The input table entry containing the current, + voltage, etc. readings for one phase." + INDEX { xupsInputPhase } + ::= { xupsInputTable 1 } + +XupsInputEntry ::= SEQUENCE { + xupsInputPhase Integer32, + xupsInputVoltage Integer32, + xupsInputCurrent Integer32, + xupsInputWatts Integer32, + xupsInputId INTEGER, + xupsInputName OCTET STRING, + xupsInputCurrentHighPrecision Integer32, + xupsInputVoltagePhaseToPhase Integer32 + } + +xupsInputPhase OBJECT-TYPE + SYNTAX Integer32 (0..6) + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "The number of the phase. Serves as index for input table." + ::= {xupsInputEntry 1} + +xupsInputVoltage OBJECT-TYPE + SYNTAX Integer32 (0..2147483647) + UNITS "RMS Volts" + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "The measured input voltage from the UPS meters in volts." + ::= {xupsInputEntry 2} + +xupsInputCurrent OBJECT-TYPE + SYNTAX Integer32 (0..2147483647) + UNITS "RMS Amps" + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "The measured input current from the UPS meters in amps." + ::= {xupsInputEntry 3} + +xupsInputWatts OBJECT-TYPE + SYNTAX Integer32 (0..2147483647) + UNITS "Watts" + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "The measured input real power in watts." + ::= {xupsInputEntry 4} + +xupsInputId OBJECT-TYPE + SYNTAX INTEGER { + phase1toN (1), + phase2toN (2), + phase3toN (3), + phase1to2 (4), + phase2to3 (5), + phase3to1 (6) + } + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "value indicates what measurement is being stored in this table row : + phase1 to neutral, phase2 to neutral, phase3 to neutral, + phase1 to phase2, phase2 to phase3, phase3 to phase1." + ::= { xupsInputEntry 5 } + +xupsInputName OBJECT-TYPE + SYNTAX OCTET STRING (SIZE(1..31)) + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "A descriptive name for the phase, example : L1/A for the phase 1." + ::= { xupsInputEntry 6 } + +xupsInputCurrentHighPrecision OBJECT-TYPE + SYNTAX Integer32 (0..2147483647) + UNITS "RMS tenth of Amps" + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "The measured input current from the UPS meters in tenth of amps." + ::= {xupsInputEntry 7} + +xupsInputVoltagePhaseToPhase OBJECT-TYPE + SYNTAX Integer32 (0..2147483647) + UNITS "RMS Volts" + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "The measured input phase to phase voltage from the UPS meters in volts, + For the phase n, it is the measure of phase n to phase n+1 voltage." + ::= {xupsInputEntry 8} + +xupsInputSource OBJECT-TYPE + SYNTAX INTEGER { + other(1), + none(2), + primaryUtility(3), + bypassFeed(4), + secondaryUtility(5), + generator(6), + flywheel(7), + fuelcell(8) + } + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "The present external source of input power. The enumeration + 'none(2)' indicates that there is no external source of + power, for example, the UPS is On Battery (an internal source). + 'primaryUtility' indicates the normal case of utility input power. + The 'bypassFeed' can only be used when the Bypass source is known + to be a separate utility feed than the primaryUtility(3). + 'secondaryUtility' indicates that a secondary utility feed is supplying + power (on a dual AC input UPS). + 'generator' indicates that input power is provided by a generator. + Note that the alternate energy sources of 'flywheel' and 'fuelcell' are + not necessarily AC input sources." + ::= { xupsInput 5 } + +-- xupsDualInputStatus and xupsSecondaryInputWatch would only be present +-- for UPSs with a secondary input source. + +xupsDualInputStatus OBJECT-TYPE + SYNTAX INTEGER { + bothSourcesBad(1), + primarySourceGood(2), + secondarySourceGood(3), + bothSourcesGood(4) + } + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "The present status of the sources of input power in a dual source UPS. + The enumeration primarySourceGood(2) indicates that the primary source + of power is present and within 'normal' ranges for voltage and + frequency, but the secondary source is either not present or not in an + acceptable range. + 'secondarySourceGood' indicates that only the Secondary power feed is + available and within its limits. + The enumeration bothSourcesGood(4) indicates that both sources are present + and within their respective 'normal' ranges; + bothSourcesBad(1) indicates that neither source is present, or, if present, + is not within acceptable ranges. + This object will only be implemented for UPSs with two sources of input + power, e.g., redundant AC feeds or a separate Bypass or Generator source. + The secondary source will not be an AC power source in all cases." + ::= { xupsInput 6 } + +xupsSecondaryInputWatch OBJECT-TYPE + SYNTAX INTEGER { + disabled(1), + enabled(2) + } + MAX-ACCESS read-write + STATUS current + DESCRIPTION + "This object enables(2) or disables(1) the alarms and traps related to the + availability and use of the secondary input of a dual-input UPS + (i.e., OnAlternatePowerSource and AltPowerNotAvailable). + To avoid nuisance alarms and traps, this object should be set to + disabled(1) when the UPS is not wired to a secondary source of power. + This object will only be implemented for UPSs with two sources of input + power, i.e., redundant AC feeds or a separate Bypass or Generator source." + ::= { xupsInput 7 } + +-- +-- xupsInputTotal group: +-- +xupsInputAverageVoltage OBJECT-TYPE + SYNTAX Integer32 (0..2147483647) + UNITS "RMS Volts" + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "The measured input voltage from the UPS meters in volts. + Related to the phase 1 if the UPS is single phase, + either it is average of all the simple phase voltage." + ::= {xupsInputTotal 1} + +xupsInputTotalCurrent OBJECT-TYPE + SYNTAX Integer32 (0..2147483647) + UNITS "RMS tenth of Amps" + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "The measured input current from the UPS meters in tenth of amps. + Related to the phase 1 if the UPS is single phase, + either it is average of all the simple phase current." + ::= {xupsInputTotal 2} + +xupsInputTotalWatts OBJECT-TYPE + SYNTAX Integer32 (0..2147483647) + UNITS "Watts" + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "The measured input active power in watts. + Sum of all the simple phase watts." + ::= {xupsInputTotal 3} + +xupsInputTotalVA OBJECT-TYPE + SYNTAX Integer32 (0..2147483647) + UNITS "VA" + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "The measured input apparent power in VA. + Sum of all the simple phase VA." + ::= {xupsInputTotal 4} + +xupsInputAveragePowerFactor OBJECT-TYPE + SYNTAX Integer32 + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "Indicates the total power factor of the input in hundredths. + 0.92 would be returned as 92." + ::= { xupsInputTotal 5 } + +xupsInputStatus OBJECT-TYPE + SYNTAX INTEGER { + inputBad(1), + inputGood(2) + } + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "The present status of the primary AC input of the UPS. + The enumeration inputGood(2) indicates that the primary source + of power is present and within 'normal' ranges for voltage and + frequency. + inputBad(1) indicates that neither source is present, or, if present, + is not within acceptable ranges." + ::= { xupsInput 9 } + +-- +-- xupsOutput group: +-- +xupsOutputLoad OBJECT-TYPE + SYNTAX Integer32 (0..200) + UNITS "percent" + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "The UPS output load in percent of rated capacity." + ::= {xupsOutput 1} + +xupsOutputFrequency OBJECT-TYPE + SYNTAX Integer32 (0..2147483647) + UNITS "0.1 Hertz" + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "The measured UPS output frequency in tenths of Hz." + ::= {xupsOutput 2} + +xupsOutputNumPhases OBJECT-TYPE + SYNTAX Integer32 (0..6) + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "The number of metered output phases." + ::= {xupsOutput 3} + +xupsOutputTable OBJECT-TYPE + SYNTAX SEQUENCE OF XupsOutputEntry + MAX-ACCESS not-accessible + STATUS current + DESCRIPTION + "A list of output table entries. The number of entries + is given by the value of xupsOutputNumPhases." + ::= {xupsOutput 4} + +xupsOutputEntry OBJECT-TYPE + SYNTAX XupsOutputEntry + MAX-ACCESS not-accessible + STATUS current + DESCRIPTION + "Output Table Entry containing voltage, current, etc." + INDEX { xupsOutputPhase } + ::= {xupsOutputTable 1} + +XupsOutputEntry ::= SEQUENCE { + xupsOutputPhase Integer32, + xupsOutputVoltage Integer32, + xupsOutputCurrent Integer32, + xupsOutputWatts Integer32, + xupsOutputId INTEGER, + xupsOutputName OCTET STRING, + xupsOutputCurrentHighPrecision Integer32, + xupsOutputPercentLoad Integer32, + xupsOutputVA Integer32, + xupsOutputVoltagePhaseToPhase Integer32 + } + +xupsOutputPhase OBJECT-TYPE + SYNTAX Integer32 (0..6) + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "The number of the phase. Serves as index for output table." + ::= {xupsOutputEntry 1} + +xupsOutputVoltage OBJECT-TYPE + SYNTAX Integer32 (0..2147483647) + UNITS "RMS Volts" + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "The measured output voltage from the UPS metering in volts." + ::= {xupsOutputEntry 2} + +xupsOutputCurrent OBJECT-TYPE + SYNTAX Integer32 (0..2147483647) + UNITS "RMS Amps" + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "The measured UPS output current in amps." + ::= {xupsOutputEntry 3} + +xupsOutputWatts OBJECT-TYPE + SYNTAX Integer32 (0..2147483647) + UNITS "Watts" + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "The measured real output power in watts." + ::= {xupsOutputEntry 4} + +xupsOutputId OBJECT-TYPE + SYNTAX INTEGER { + phase1toN (1), + phase2toN (2), + phase3toN (3), + phase1to2 (4), + phase2to3 (5), + phase3to1 (6) + } + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "value indicates what measurement is being stored in this table row : + phase1 to neutral, phase2 to neutral, phase3 to neutral, + phase1 to phase2, phase2 to phase3, phase3 to phase1. " + ::= { xupsOutputEntry 5 } + +xupsOutputName OBJECT-TYPE + SYNTAX OCTET STRING (SIZE(1..31)) + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "A descriptive name for the phase." + ::= { xupsOutputEntry 6 } + +xupsOutputCurrentHighPrecision OBJECT-TYPE + SYNTAX Integer32 (0..2147483647) + UNITS "RMS tenth of Amps" + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "The measured output current from the UPS meters in tenth of amps." + ::= {xupsOutputEntry 7} + +xupsOutputPercentLoad OBJECT-TYPE + SYNTAX Integer32 (0..200) + UNITS "percent" + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "The percentage of the UPS power capacity presently + being used on this output line" + ::= { xupsOutputEntry 8 } + +xupsOutputVA OBJECT-TYPE + SYNTAX Integer32 (0..2147483647) + UNITS "VA" + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "The measured apparent output power in VA." + ::= {xupsOutputEntry 9} + +xupsOutputVoltagePhaseToPhase OBJECT-TYPE + SYNTAX Integer32 (0..2147483647) + UNITS "RMS Volts" + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "The measured output phase to phase voltage from the UPS meters in volts, + For the phase n, it is the measure of phase n to phase n+1 voltage." + ::= {xupsOutputEntry 10} + +xupsOutputSource OBJECT-TYPE + SYNTAX INTEGER { + other(1), + none(2), + normal(3), + bypass(4), + battery(5), + booster(6), + reducer(7), + parallelCapacity(8), + parallelRedundant(9), + highEfficiencyMode(10), + maintenanceBypass(11), + essMode(12) + } + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "The present source of output power. The enumeration + none(2) indicates that there is no source of output + power (and therefore no output power), for example, + the system has opened the output breaker. + 'normal', 'bypass', and 'battery' indicate those common UPS statuses. + 'booster' and 'reducer' indicate boost or buck operation, for + line-interactive UPSs only. + 'parallelCapacity' and 'parallelRedundant' indicate a normal parallel + UPS system, in either Parallel for Capacity or Redundancy configuration. + 'highEfficiencyMode' is normal but enhanced by High Efficiency mode. + 'maintenanceBypass' indicates that the UPS is in Maintenance/Manual + Bypass mode. + 'essMode' is normal but enhanced by Energy Saver System. + 'other' covers any other, unusual conditions." + ::= { xupsOutput 5 } + +xupsOutputHourlyPowerUsage OBJECT-TYPE + SYNTAX Integer32 (0..2147483647) + UNITS "Wh" + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "Units are Watt-hours.This is the energy consumed during the last hour." + ::= { xupsOutput 6 } + +xupsOutputCumulativePowerUsage OBJECT-TYPE + SYNTAX Integer32 (0..2147483647) + UNITS "Wh" + MAX-ACCESS read-write + STATUS current + DESCRIPTION + "Units are Watt-hours.This is the energy consumed since the last reset. + This object is writable so that it can be reset to 0. + When it is written to 0, the xupsOutputCumulativeWhTimer will be reset to 0 as well." + ::= { xupsOutput 7 } + +xupsOutputCumulativePowerUsageTimer OBJECT-TYPE + SYNTAX Counter32 + UNITS "Seconds" + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "Time in seconds since the cumulative power usage was last reset." + ::= { xupsOutput 8 } + +-- +-- xupsOutputTotal group: +-- +xupsOutputAverageVoltage OBJECT-TYPE + SYNTAX Integer32 (0..2147483647) + UNITS "RMS Volts" + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "The measured output voltage from the UPS meters in volts. + Related to the phase 1 if the UPS is single phase, + either it is average of all the simple phase voltage." + ::= {xupsOutputTotal 1} + +xupsOutputTotalCurrent OBJECT-TYPE + SYNTAX Integer32 (0..2147483647) + UNITS "RMS tenth of Amps" + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "The measured output current from the UPS meters in tenth of amps. + Related to the phase 1 if the UPS is single phase, + either it is average of all the simple phase current." + ::= {xupsOutputTotal 2} + +xupsOutputTotalWatts OBJECT-TYPE + SYNTAX Integer32 (0..2147483647) + UNITS "Watts" + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "The measured output active power in watts. + Sum of all the simple phase watts." + ::= {xupsOutputTotal 3} + +xupsOutputTotalVA OBJECT-TYPE + SYNTAX Integer32 (0..2147483647) + UNITS "VA" + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "The measured output apparent power in VA. + Sum of all the simple phase VA." + ::= {xupsOutputTotal 4} + +xupsOutputAveragePowerFactor OBJECT-TYPE + SYNTAX Integer32 + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "Indicates the total power factor of the output in hundredths. + 0.92 would be returned as 92." + ::= { xupsOutputTotal 5 } + +xupsOutputStatus OBJECT-TYPE + SYNTAX INTEGER { + unknown(0), + outputNotPowered(1), + outputNotProtected(2), + outputProtected(3), + outputPoweredNoContinuity(4) + } + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "The present status of the AC output of the UPS. + The enumeration outputNotPowered(1) indicates that the output is not powered. + outputNotProtected(2) indicates that the output is powered but not protected, + due to following reasons : On bypass, battery fault, or UPS internal failure + that makes the ups will be inoperant in case of AC input failure. + outputProtected(3) indicates that the output is powered and protected. + outputPoweredNoContinuity(4) indicates that the output is powered but this + is a specific configuration of the device where the continuity feature is disabled." + ::= { xupsOutput 10 } + + +-- +-- xupsBypass group: +-- +xupsBypassFrequency OBJECT-TYPE + SYNTAX Integer32 (0..2147483647) + UNITS "0.1 Hertz" + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "The bypass frequency in tenths of Hz." + ::= {xupsBypass 1} + +xupsBypassNumPhases OBJECT-TYPE + SYNTAX Integer32 (0..6) + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "The number of lines in the UPS bypass table." + ::= {xupsBypass 2} + +xupsBypassTable OBJECT-TYPE + SYNTAX SEQUENCE OF XupsBypassEntry + MAX-ACCESS not-accessible + STATUS current + DESCRIPTION + "A list of bypass table entries. The number of entries + is given by the value of xupsBypassNumPhases." + ::= {xupsBypass 3} + +xupsBypassEntry OBJECT-TYPE + SYNTAX XupsBypassEntry + MAX-ACCESS not-accessible + STATUS current + DESCRIPTION + "Bypass Table Entry containing voltage for each phase." + INDEX { xupsBypassPhase } + ::= {xupsBypassTable 1} + +XupsBypassEntry ::= SEQUENCE { + xupsBypassPhase Integer32, + xupsBypassVoltage Integer32, + xupsBypassId INTEGER, + xupsBypassName OCTET STRING, + xupsBypassCurrentHighPrecision Integer32, + xupsBypassWatts Integer32, + xupsBypassVoltagePhaseToPhase Integer32 + } + +xupsBypassPhase OBJECT-TYPE + SYNTAX Integer32 (0..6) + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "The Bypass Phase, index for the table." + ::= {xupsBypassEntry 1} + +xupsBypassVoltage OBJECT-TYPE + SYNTAX Integer32 (0..2147483647) + UNITS "RMS Volts" + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "The measured UPS bypass voltage in volts." + ::= {xupsBypassEntry 2} + +xupsBypassId OBJECT-TYPE + SYNTAX INTEGER { + phase1toN (1), + phase2toN (2), + phase3toN (3), + phase1to2 (4), + phase2to3 (5), + phase3to1 (6) + } + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "value indicates what measurement is being stored in this table row : + phase1 to neutral, phase2 to neutral, phase3 to neutral, + phase1 to phase2, phase2 to phase3, phase3 to phase1. " + ::= { xupsBypassEntry 3 } + +xupsBypassName OBJECT-TYPE + SYNTAX OCTET STRING (SIZE(1..31)) + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "A descriptive name for the phase." + ::= { xupsBypassEntry 4 } + +xupsBypassCurrentHighPrecision OBJECT-TYPE + SYNTAX Integer32 (0..2147483647) + UNITS "RMS tenth of Amps" + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "The measured bypass current from the UPS meters in tenth of amps." + ::= {xupsBypassEntry 5} + +xupsBypassWatts OBJECT-TYPE + SYNTAX Integer32 (0..2147483647) + UNITS "Watts" + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "The measured real bypass power in watts." + ::= {xupsBypassEntry 6} + +xupsBypassVoltagePhaseToPhase OBJECT-TYPE + SYNTAX Integer32 (0..2147483647) + UNITS "RMS Volts" + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "The measured bypass phase to phase voltage from the UPS meters in volts, + For the phase n, it is the measure of phase n to phase n+1 voltage." + ::= {xupsBypassEntry 7} + + +-- xupsBypassTotal group: + +xupsBypassAverageVoltage OBJECT-TYPE + SYNTAX Integer32 (0..2147483647) + UNITS "RMS Volts" + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "The measured bypass voltage from the UPS meters in volts. + Related to the phase 1 if the UPS is single phase, + either it is average of all the simple phase voltage." + ::= {xupsBypassTotal 1} + +xupsBypassTotalCurrent OBJECT-TYPE + SYNTAX Integer32 (0..2147483647) + UNITS "RMS tenth of Amps" + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "The measured bypass current from the UPS meters in tenth of amps. + Related to the phase 1 if the UPS is single phase, + either it is average of all the simple phase current." + ::= {xupsBypassTotal 2} + +xupsBypassTotalWatts OBJECT-TYPE + SYNTAX Integer32 (0..2147483647) + UNITS "Watts" + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "The measured bypass active power in watts. + Sum of all the simple phase watts." + ::= {xupsBypassTotal 3} + +xupsBypassTotalVA OBJECT-TYPE + SYNTAX Integer32 (0..2147483647) + UNITS "VA" + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "The measured output apparent power in VA. + Sum of all the simple phase VA." + ::= {xupsBypassTotal 4} + +xupsBypassAveragePowerFactor OBJECT-TYPE + SYNTAX Integer32 + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "Indicates the total power factor of the input in hundredths. + 0.92 would be returned as 92." + ::= { xupsBypassTotal 5 } + + +-- +-- xupsEnvironment group: +-- + +xupsEnvAmbientTemp OBJECT-TYPE + SYNTAX Integer32 (-100..200) + UNITS "degrees Centigrade" + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "The reading of the ambient temperature in the vicinity of the + UPS or SNMP agent." + ::= { xupsEnvironment 1 } + +xupsEnvAmbientLowerLimit OBJECT-TYPE + SYNTAX Integer32 (-100..200) + UNITS "degrees Centigrade" + MAX-ACCESS read-write + STATUS current + DESCRIPTION + "The Lower Limit of the ambient temperature; if xupsEnvAmbientTemp + falls below this value, the xupsAmbientTempBad alarm will occur." + ::= { xupsEnvironment 2 } + +xupsEnvAmbientUpperLimit OBJECT-TYPE + SYNTAX Integer32 (-100..200) + UNITS "degrees Centigrade" + MAX-ACCESS read-write + STATUS current + DESCRIPTION + "The Upper Limit of the ambient temperature; if xupsEnvAmbientTemp + rises above this value, the xupsAmbientTempBad alarm will occur. + This value should be greater than xupsEnvAmbientLowerLimit." + ::= { xupsEnvironment 3 } + +xupsEnvAmbientHumidity OBJECT-TYPE + SYNTAX Integer32 (0..100) + UNITS "percent" + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "The reading of the ambient humidity in the vicinity of the + UPS or SNMP agent." + ::= { xupsEnvironment 4 } + +-- +-- Moved the EMP-based objects, +-- from xupsEnvRemoteTemp to xupsEnvRemoteCommunicationStatus +-- ( { xupsEnvironment 5 to 13 }, including xupsContactSenseTable, +-- to separate file Eaton-EMP-MIB.txt +-- + + + +-- +-- xupsAlarm group: +-- +xupsAlarms OBJECT-TYPE + SYNTAX Gauge32 + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "The current number of alarm conditions." + ::= {xupsAlarm 1} + +xupsAlarmTable OBJECT-TYPE + SYNTAX SEQUENCE OF XupsAlarmEntry + MAX-ACCESS not-accessible + STATUS current + DESCRIPTION + "A list of alarm table entries. The number of entries + is given by the value of xupsAlarms. + Note that this table is sparsely (non-consecutively) + numbered and will be empty if there are no active alarms." + ::= {xupsAlarm 2} + +xupsAlarmEntry OBJECT-TYPE + SYNTAX XupsAlarmEntry + MAX-ACCESS not-accessible + STATUS current + DESCRIPTION + "Alarm Table Entry containing descriptive information + for one alarm entry." + INDEX { xupsAlarmID } + ::= {xupsAlarmTable 1} + +XupsAlarmEntry ::= SEQUENCE { + xupsAlarmID Integer32, + xupsAlarmDescr OBJECT IDENTIFIER, + xupsAlarmTime TimeTicks + } + +xupsAlarmID OBJECT-TYPE + SYNTAX Integer32 (1..2147483647) + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "A unique identifier for an alarm condition." + ::= {xupsAlarmEntry 1} + +xupsAlarmDescr OBJECT-TYPE + SYNTAX OBJECT IDENTIFIER + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "A reference to an alarm description object. The object + referenced should not be accessible, but rather be used to + provide a unique description of the alarm condition." + ::= {xupsAlarmEntry 2} + +xupsAlarmTime OBJECT-TYPE + SYNTAX TimeTicks + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "The value of the MIB-II variable sysUpTime when the alarm + condition occurred." + ::= {xupsAlarmEntry 3} + +-- +-- Well known alarm conditions. +-- +xupsOnBattery OBJECT IDENTIFIER ::= {xupsAlarm 3} +xupsLowBattery OBJECT IDENTIFIER ::= {xupsAlarm 4} +xupsUtilityPowerRestored OBJECT IDENTIFIER ::= {xupsAlarm 5} +xupsReturnFromLowBattery OBJECT IDENTIFIER ::= {xupsAlarm 6} +xupsOutputOverload OBJECT IDENTIFIER ::= {xupsAlarm 7} +xupsInternalFailure OBJECT IDENTIFIER ::= {xupsAlarm 8} +xupsBatteryDischarged OBJECT IDENTIFIER ::= {xupsAlarm 9} +xupsInverterFailure OBJECT IDENTIFIER ::= {xupsAlarm 10} +xupsOnBypass OBJECT IDENTIFIER ::= {xupsAlarm 11} +xupsBypassNotAvailable OBJECT IDENTIFIER ::= {xupsAlarm 12} +xupsOutputOff OBJECT IDENTIFIER ::= {xupsAlarm 13} +xupsInputFailure OBJECT IDENTIFIER ::= {xupsAlarm 14} +xupsBuildingAlarm OBJECT IDENTIFIER ::= {xupsAlarm 15} +xupsShutdownImminent OBJECT IDENTIFIER ::= {xupsAlarm 16} +xupsOnInverter OBJECT IDENTIFIER ::= {xupsAlarm 17} + + +xupsAlarmNumEvents OBJECT-TYPE + SYNTAX Gauge32 + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "The number of entries in the UPS event history queue." + ::= { xupsAlarm 18 } + +xupsAlarmEventTable OBJECT-TYPE + SYNTAX SEQUENCE OF XupsAlarmEventEntry + MAX-ACCESS not-accessible + STATUS current + DESCRIPTION + "A table of the UPS internal event history queue." + ::= { xupsAlarm 19 } + +xupsAlarmEventEntry OBJECT-TYPE + SYNTAX XupsAlarmEventEntry + MAX-ACCESS not-accessible + STATUS current + DESCRIPTION + "One of the entries in the UPS event history queue." + INDEX { xupsAlarmEventID } + ::= { xupsAlarmEventTable 1 } + +-- The first 4 vars in the xAEEntry have been deprecated, since they resulted in +-- a flood of difficult to interpret data. They have been replaced by the single +-- entry, xupsAlarmEventMsg, which gives a human-readable description of the event. +XupsAlarmEventEntry ::= SEQUENCE { + xupsAlarmEventID Integer32, + xupsAlarmEventDateAndTime DisplayString, + xupsAlarmEventKind INTEGER, + xupsAlarmEventDescr Integer32, + xupsAlarmEventMsg DisplayString + } + +xupsAlarmEventID OBJECT-TYPE + SYNTAX Integer32 (1..400) + MAX-ACCESS not-accessible + STATUS current + DESCRIPTION + "A unique number that reflects the order in which the event + occurred. The oldest event in the queue will be number 1. + Subsequent events will be numbered 2, 3, 4, etc." + ::= { xupsAlarmEventEntry 1 } + +xupsAlarmEventDateAndTime OBJECT-TYPE + SYNTAX DisplayString (SIZE (0..22)) + MAX-ACCESS read-only + STATUS deprecated + DESCRIPTION + "The time and date that an event occurred as recorded in the UPS + internal event queue. This string will reflect the time and + date as set in the UPS itself and will not be referenced to sysUpTime. + The format is MM/DD/YYYY:HH:MM:SS. Time is 24 hour standard." + ::= { xupsAlarmEventEntry 2 } + +xupsAlarmEventKind OBJECT-TYPE + SYNTAX INTEGER { + occurred (1), + cleared (2), + unknown (3) + } + MAX-ACCESS read-only + STATUS deprecated + DESCRIPTION + "Enumerated value that tells whether the event is an + occurrence of an alarm condition or a clearing of an + alarm condition." + ::= { xupsAlarmEventEntry 3 } + +xupsAlarmEventDescr OBJECT-TYPE + SYNTAX Integer32 (0..2147483647) + MAX-ACCESS read-only + STATUS deprecated + DESCRIPTION + "A description of the event stored in the UPS event queue. + This description will be a sixteen bit integer value + representing one of the defined alarms in the Powerware Binary + Computer Mode communication specification; for example, + a value of 0 represents the 'Inverter AC Over Voltage' + alarm (byte 1, bit 0 in the BCM Alarm Map)." + ::= { xupsAlarmEventEntry 4 } + +xupsAlarmEventMsg OBJECT-TYPE + SYNTAX DisplayString (SIZE (0..80)) + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "A text string describing each entry in the Event Log. The format of this + text message is free (not fixed) for the operator to read; good contents + would be a time & date stamp, the event type, and a description of the event." + ::= { xupsAlarmEventEntry 5 } + +-- +-- More Well known alarm conditions. +-- +xupsBreakerOpen OBJECT IDENTIFIER ::= {xupsAlarm 20} +xupsAlarmEntryAdded OBJECT IDENTIFIER ::= {xupsAlarm 21} +xupsAlarmEntryRemoved OBJECT IDENTIFIER ::= {xupsAlarm 22} + +-- Same as RFC 1628 Well Known Alarms: +xupsAlarmBatteryBad OBJECT IDENTIFIER ::= {xupsAlarm 23} +xupsOutputOffAsRequested OBJECT IDENTIFIER ::= {xupsAlarm 24} +xupsDiagnosticTestFailed OBJECT IDENTIFIER ::= {xupsAlarm 25} +xupsCommunicationsLost OBJECT IDENTIFIER ::= {xupsAlarm 26} +xupsUpsShutdownPending OBJECT IDENTIFIER ::= {xupsAlarm 27} +xupsAlarmTestInProgress OBJECT IDENTIFIER ::= {xupsAlarm 28} + +-- Alarm for the Ambient Temperature, when outside of lo/hi limits +xupsAmbientTempBad OBJECT IDENTIFIER ::= {xupsAlarm 29} + +-- For Loss of Redundancy in parallel systems +xupsLossOfRedundancy OBJECT IDENTIFIER ::= {xupsAlarm 30} + +-- More Same as RFC 1628 Well Known Alarms: +xupsAlarmTempBad OBJECT IDENTIFIER ::= {xupsAlarm 31} +xupsAlarmChargerFailed OBJECT IDENTIFIER ::= {xupsAlarm 32} +xupsAlarmFanFailure OBJECT IDENTIFIER ::= {xupsAlarm 33} +xupsAlarmFuseFailure OBJECT IDENTIFIER ::= {xupsAlarm 34} + +-- A Relay, Contactor, or Breaker has failed +xupsPowerSwitchBad OBJECT IDENTIFIER ::= {xupsAlarm 35} + +-- One module in a parallel or composite system has failed +xupsModuleFailure OBJECT IDENTIFIER ::= {xupsAlarm 36} + +-- Two Alarms for systems with an Alternate Power Source, such as +-- Secondary utility feed (on a dual AC input UPS), generator, +-- flywheel, or fuelcell. Enabled by xupsSecondaryInputWatch. +xupsOnAlternatePowerSource OBJECT IDENTIFIER ::= {xupsAlarm 37} +xupsAltPowerNotAvailable OBJECT IDENTIFIER ::= {xupsAlarm 38} + +-- Some Notice condition exists which is not covered by the other WKA +-- (like an xupsInternalFailure, but at a lower level of urgency) +xupsNoticeCondition OBJECT IDENTIFIER ::= {xupsAlarm 39} + +-- Alarms for the Remote Temperature & Humidity, when outside of lo/hi limits +xupsRemoteTempBad OBJECT IDENTIFIER ::= {xupsAlarm 40} +xupsRemoteHumidityBad OBJECT IDENTIFIER ::= {xupsAlarm 41} + +-- Last of the RFC1628 Well Known Alarms: +xupsAlarmOutputBad OBJECT IDENTIFIER ::= {xupsAlarm 42} +xupsAlarmAwaitingPower OBJECT IDENTIFIER ::= {xupsAlarm 43} + +-- Alarm for this important UPS mode +xupsOnMaintenanceBypass OBJECT IDENTIFIER ::= {xupsAlarm 44} + +-- New alarms now managed by the Network-M2 card +xupsOutputNotProtected OBJECT IDENTIFIER ::= {xupsAlarm 51} + + +-- +-- xupsTest group: +-- + +xupsTestStart OBJECT-TYPE + SYNTAX INTEGER { + testBattery (1), + noTestStarted (2), + testSystem (3), + testSecondarySource (4), + flashLightsTest (5), + cancelTest (6) + } + MAX-ACCESS read-write + STATUS current + DESCRIPTION + "Setting this object initiates the requested Test. + The test types which a UPS might support are 'testBattery', + 'testSystem' (a UPS General Systems test, however defined by the UPS), + 'testSecondarySource' (test if the Secondary power source is good on a + dual input UPS), and + 'flashLightsTest' (start a test which flashes the UPS lights, and if + available, sounds the horn to help locate the UPS). + If a UPS does not support the requested test, the set operation may + succeed but the xupsTestBatteryStatus will end up as notSupported. + When read, this object indicates the last test requested via this object, + if any; 'noTestStarted' could be the initial value. + Currently only the 'flashLightsTest' can be canceled with 'cancelTest'." + ::= {xupsTest 1} + +xupsTestBatteryStatus OBJECT-TYPE + SYNTAX INTEGER { + unknown (1), + passed (2), + failed (3), + inProgress (4), + notSupported (5), + inhibited (6), + scheduled (7) + } + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "Reading this enumerated value gives an indication of the (last) + UPS Battery test status. + 'inhibited' means that the battery test could not be run. + 'scheduled' means that the battery test could not be run at the time + of request, but will be run at some later (UPS-determined) time." + ::= {xupsTest 2} + +xupsLastGeneralTest OBJECT-TYPE + SYNTAX INTEGER { + noTestStarted (2), + testSystem (3), + testSecondarySource (4), + flashLightsTest (5) + } + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "Indicates the last UPS test requested via xupsTestStart or by other + non-SNMP means, other than for the testBattery (1) case. + The results of the test indicated by this object are reported in + xupsLastGeneralTestResult." + ::= {xupsTest 3} + +xupsLastGeneralTestResult OBJECT-TYPE + SYNTAX INTEGER { + unknown (1), + passed (2), + failed (3), + inProgress (4), + notSupported (5), + inhibited (6), + scheduled (7) + } + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "Reading this enumerated value gives the result of the test indicated + in xupsLastGeneralTest." + ::= {xupsTest 4} + +xupsTestTrap OBJECT-TYPE + SYNTAX INTEGER { startTestTrap (1) } + MAX-ACCESS read-write + STATUS current + DESCRIPTION + "Setting startTestTrap to 1 will initiate a test trap + to be sent out from the agent. All other set values are invalid." + ::= {xupsTest 5} + + +-- +-- xupsControl group: +-- +xupsControlOutputOffDelay OBJECT-TYPE + SYNTAX Integer32 (0..2147483647) + UNITS "seconds" + MAX-ACCESS read-write + STATUS current + DESCRIPTION + "Setting this value to other than zero will cause the UPS + output to turn off after the number of seconds. + Setting it to 0 will cause an attempt to abort a pending + shutdown." + ::= {xupsControl 1} + +xupsControlOutputOnDelay OBJECT-TYPE + SYNTAX Integer32 (0..2147483647) + UNITS "seconds" + MAX-ACCESS read-write + STATUS current + DESCRIPTION + "Setting this value to other than zero will cause the UPS + output to turn on after the number of seconds. + Setting it to 0 will cause an attempt to abort a pending + startup." + ::= {xupsControl 2} + +xupsControlOutputOffTrapDelay OBJECT-TYPE + SYNTAX Integer32 (0..2147483647) + UNITS "seconds" + MAX-ACCESS read-write + STATUS current + DESCRIPTION + "When xupsControlOutputOffDelay reaches this value, a trap will + be sent." + ::= {xupsControl 3} + +xupsControlOutputOnTrapDelay OBJECT-TYPE + SYNTAX Integer32 (0..2147483647) + UNITS "seconds" + MAX-ACCESS read-write + STATUS deprecated + DESCRIPTION + "When xupsControlOutputOnDelay reaches this value, a + xupsOutputOff trap will be sent." + ::= {xupsControl 4} + +xupsControlToBypassDelay OBJECT-TYPE + SYNTAX Integer32 (0..2147483647) + UNITS "seconds" + MAX-ACCESS read-write + STATUS current + DESCRIPTION + "Setting this value to other than zero will cause the UPS + output to go to Bypass after the number of seconds. + If the Bypass is unavailable, this may cause the UPS + to not supply power to the load. + Setting it to 0 will cause an attempt to abort a pending + shutdown." + ::= {xupsControl 5} + +xupsLoadShedSecsWithRestart OBJECT-TYPE + SYNTAX Integer32 (0..2147483647) + UNITS "seconds" + MAX-ACCESS read-write + STATUS current + DESCRIPTION + "Setting this value will cause the UPS output to turn off + after the set number of seconds, then restart (after a UPS-defined + 'down time') when the utility is again available. + Unlike xupsControlOutputOffDelay, which might or might not, + this object always maps to the XCP 0x8A Load Dump & Restart command, + so the desired shutdown and restart behavior is guaranteed to happen. + Once set, this command cannot be aborted. + This is the preferred Control object to use when performing + an On Battery OS Shutdown." + ::= {xupsControl 6} + +xupsSwitchable OBJECT-TYPE + SYNTAX INTEGER { + switchable (1), + notSwitchable (2) + } + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "Parameter which indicates whether UPS commands received via any + communication path (aside from manual controls) are able (switchable) + or not able (notSwitchable) to control the UPS." + ::= { xupsControl 7 } + +-- +-- xupsConfig group: +-- +xupsConfigOutputVoltage OBJECT-TYPE + SYNTAX Integer32 (0..2147483647) + UNITS "RMS Volts" + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "The nominal UPS Output voltage per phase in volts." + ::= {xupsConfig 1} + +xupsConfigInputVoltage OBJECT-TYPE + SYNTAX Integer32 (0..2147483647) + UNITS "RMS Volts" + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "The nominal UPS Input voltage per phase in volts." + ::= {xupsConfig 2} + +xupsConfigOutputWatts OBJECT-TYPE + SYNTAX Integer32 (0..2147483647) + UNITS "Watts" + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "The nominal UPS available real power output in watts." + ::= {xupsConfig 3} + +xupsConfigOutputFreq OBJECT-TYPE + SYNTAX Integer32 (0..2147483647) + UNITS "0.1 Hertz" + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "The nominal output frequency in tenths of Hz." + ::= {xupsConfig 4} + +xupsConfigDateAndTime OBJECT-TYPE + SYNTAX DisplayString (SIZE (0..22)) + MAX-ACCESS read-write + STATUS current + DESCRIPTION + "Date and time information for the UPS. Setting this variable + will initiate a set UPS date and time to this value. Reading + this variable will return the UPS time and date. This value + is not referenced to sysUpTime. It is simply the clock value + from the UPS real time clock. + Format is as follows: MM/DD/YYYY:HH:MM:SS." + ::= { xupsConfig 5 } + +xupsConfigLowOutputVoltageLimit OBJECT-TYPE + SYNTAX Integer32 (0..2147483647) + UNITS "RMS Volts" + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "The Lower limit for acceptable Output Voltage, per the UPS + specifications." + ::= {xupsConfig 6} + +xupsConfigHighOutputVoltageLimit OBJECT-TYPE + SYNTAX Integer32 (0..2147483647) + UNITS "RMS Volts" + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "The Upper limit for acceptable Output Voltage, per the UPS + specifications." + ::= {xupsConfig 7} + +xupsConfigInstallDate OBJECT-TYPE + SYNTAX DisplayString (SIZE (0..16)) + MAX-ACCESS read-write + STATUS current + DESCRIPTION + "The date when this UPS was installed. Free text format, so the + preferred local date format may be used (MM/DD/YYYY, DD-Mon-YYYY, etc)." + ::= {xupsConfig 8} + + + +-- +-- xupsTrapControl group: +-- +xupsMaxTrapLevel OBJECT-TYPE + SYNTAX INTEGER { + none (1), + critical (2), + major (3), + minor (4), + allTraps (5) + } + MAX-ACCESS read-write + STATUS current + DESCRIPTION + "The level of severity of traps which will be sent to the + requesting host; individual trap receivers will have + individual values for this variable. Values are: + (1) none: no traps will be sent to this host; + (2) critical: only traps for Critical alarm conditions will + be sent to this host; + (3) major: Critical and Major traps will be sent; + (4) minor: All levels of alarming traps will be sent: Critical, + Major, and Minor + (This level was added in PowerMIB v3.11) + (5) allTraps: all Traps will be sent to this host + (Critical, Major, Minor, Informational)." + ::= {xupsTrapControl 1} + +xupsSendTrapType OBJECT-TYPE + SYNTAX INTEGER { + stnd (1), + xups (2), + stndPlus (3), + xupsPlus (4), + pxg (5) + } + MAX-ACCESS read-write + STATUS current + DESCRIPTION + "The type of traps which will be sent to the + requesting host; individual trap receivers will have + individual values for this variable. The additional + variables in types (3) and (4) are useful for determining + which UPS is the source on multi-port network adapters, + and for getting additional descriptive information. + Types (1) through (4) are all SNMP version 1 trap PDUs. + Values are: + (1) stnd: Traps as defined in the Standard UPS MIB (RFC1628) + and Generic (MIB II) traps as defined in RFC 1215. + (2) xups: xupsTrapDefined Traps as defined in the PowerMIB + and Generic (MIB II) traps as defined in RFC 1215. + (3 Deprecated) stndPlus: same as stnd plus variables from the interface + group and, where appropriate, xupsTrapMessage. + (4 Deprecated) xupsPlus: xupsTrapPortN Traps (same as xups plus + variables from the interface group) and, + for authFail, xupsTrapMessage. + (5 pxg: Traps as defined in the Power Xpert Gateway MIB + (PXG-MIB)." + ::= {xupsTrapControl 2} + +xupsTrapMessage OBJECT-TYPE + SYNTAX DisplayString (SIZE (0..79)) + MAX-ACCESS read-only -- actually not-accessible + STATUS current + DESCRIPTION + "A descriptive text message which may be sent with traps to + further explain the reason for the trap. + This object is not-accessible to MIB browsers, but had to be changed to + read-only to satisfy SMIv2 syntax checkers since it is included in traps." + ::= {xupsTrapControl 3} + +-- An Identifier for the PowerMIB traps +-- Used below in the section where the traps are defined +xupsTrapSource OBJECT IDENTIFIER ::= {xupsTrapControl 4} + +xupsHeartbeatMinsInterval OBJECT-TYPE + SYNTAX Integer32 (0..2147483647) + UNITS "Minutes" + MAX-ACCESS read-write + STATUS current + DESCRIPTION + "How often to send the xupstdHeartbeat trap, in units of minutes. + A setting of 0 disables the Heartbeat function." + ::= {xupsTrapControl 5} + + + +-- +-- xupsRecep group: +-- +-- (Note that the terms Receptacle, Outlet, and Load Group are used interchangeably +-- here and all mean "one of a group of controllable, power-switched outputs") +-- +xupsNumReceptacles OBJECT-TYPE + SYNTAX Integer32 (0..64) + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "The number of independently controllable Receptacles, as described in the + xupsRecepTable." + ::= {xupsRecep 1} + +xupsRecepTable OBJECT-TYPE + SYNTAX SEQUENCE OF XupsRecepEntry + MAX-ACCESS not-accessible + STATUS current + DESCRIPTION + "A list of receptacle table entries. The number of entries + is given by the value of xupsNumReceptacles." + ::={xupsRecep 2} + +xupsRecepEntry OBJECT-TYPE + SYNTAX XupsRecepEntry + MAX-ACCESS not-accessible + STATUS current + DESCRIPTION + "A receptacle table entry containing the status and + control values for one receptacle." + INDEX { xupsRecepIndex } + ::= { xupsRecepTable 1 } + +XupsRecepEntry ::= SEQUENCE { + xupsRecepIndex Integer32, + xupsRecepStatus INTEGER, + xupsRecepOffDelaySecs Integer32, + xupsRecepOnDelaySecs Integer32, + xupsRecepAutoOffDelay Integer32, + xupsRecepAutoOnDelay Integer32, + xupsRecepShedSecsWithRestart Integer32, + xupsRecepHourlyPowerUsage Integer32, + xupsRecepCumulativePowerUsage Integer32, + xupsRecepCumulativePowerUsageTimer Counter32 + } + +xupsRecepIndex OBJECT-TYPE + SYNTAX Integer32 (1..64) + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "The number of the Receptacle. Serves as index for Receptacle table." + ::= {xupsRecepEntry 1} + + +xupsRecepStatus OBJECT-TYPE + SYNTAX INTEGER { + on(1), off(2), pendingOff(3), pendingOn(4), unknown(5), + reserved(6), failedClosed(7), failedOpen(8) } + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "The Recep Status 1=On/Close, 2=Off/Open, 3=On w/Pending Off, + 4=Off w/Pending ON, 5=Unknown, 6=Reserved for future, + 7=Failed in Closed position, 8=Failed in Open position." + ::={xupsRecepEntry 2} + + +xupsRecepOffDelaySecs OBJECT-TYPE + SYNTAX Integer32 (-1..2147483647) + UNITS "seconds" + MAX-ACCESS read-write + STATUS current + DESCRIPTION + "The Delay until the Receptacle is turned Off. Setting + this value to other than -1 will cause the UPS output to + turn off after the number of seconds (0 is immediately). + Setting it to -1 will cause an attempt to abort a pending shutdown. + When this object is set while the UPS is On Battery, it is not necessary + to set xupsRecepOnDelaySecs, since the outlet will turn back on + automatically when power is available again." + ::= {xupsRecepEntry 3} + +xupsRecepOnDelaySecs OBJECT-TYPE + SYNTAX Integer32 (-1..2147483647) + UNITS "seconds" + MAX-ACCESS read-write + STATUS current + DESCRIPTION + "The Delay until the Receptacle is turned On. Setting + this value to other than -1 will cause the UPS output to + turn on after the number of seconds (0 is immediately). + Setting it to -1 will cause an attempt to abort a pending restart." + ::={xupsRecepEntry 4} + + +xupsRecepAutoOffDelay OBJECT-TYPE + SYNTAX Integer32 (-1..32767) + UNITS "seconds" + MAX-ACCESS read-write + STATUS current + DESCRIPTION + "The delay after going On Battery until the Receptacle is + automatically turned Off. A value of -1 means that this Output should + never be turned Off automatically, but must be turned Off only by command. + Values from 0 to 30 are valid, but probably innappropriate. + The AutoOffDelay can be used to prioritize loads in the event of a prolonged + power outage; less critical loads will turn off earlier to extend battery + time for the more critical loads. If the utility power is restored before the + AutoOff delay counts down to 0 on an outlet, that outlet will not turn Off." + ::= {xupsRecepEntry 5} + +xupsRecepAutoOnDelay OBJECT-TYPE + SYNTAX Integer32 (-1..32767) + UNITS "seconds" + MAX-ACCESS read-write + STATUS current + DESCRIPTION + "Seconds delay after the Outlet is signaled to turn On before the Output is + Automatically turned ON. A value of -1 means that this Output should never + be turned On automatically, but only when specifically commanded to do so. + A value of 0 means that the Receptacle should come On immediately + at power-up or for an On command." + ::= {xupsRecepEntry 6} + +-- xupsRecepAutoOnDelay has three purposes: +-- 1. To coordinate the automatic startup of various outlets, when the normal +-- auto-sequencing of 1 second per outlet is not adequate. For example, they may +-- be used to power up hard disk arrays before CPU units are started. +-- 2. To force additional 'Down Time' during xupsRecepOffDelaySecs commands, for +-- equipment to be reset, when the standard 'Down Time' is not long enough. +-- 3. For the -1 value, to ensure that loads won't be powered until commanded, +-- following power-up or a xupsRecepOffDelaySecs command. + +xupsRecepShedSecsWithRestart OBJECT-TYPE + SYNTAX Integer32 (0..2147483647) + UNITS "seconds" + MAX-ACCESS read-write + STATUS current + DESCRIPTION + "Setting this value will cause the UPS output to turn off + after the set number of seconds, then restart (after a UPS-defined + 'down time') when the utility is again available. + Unlike xupsRecepOffDelaySecs, which might or might not, + this object always maps to the XCP 0x8A Load Dump & Restart command, + so the desired shutdown and restart behavior is guaranteed to happen. + Once set, this command cannot be aborted." + ::= {xupsRecepEntry 7} + +xupsRecepHourlyPowerUsage OBJECT-TYPE + SYNTAX Integer32 (0..2147483647) + UNITS "Wh" + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "Units are Watt-hours.This is the energy consumed during the last hour." + ::= { xupsRecepEntry 8 } + +xupsRecepCumulativePowerUsage OBJECT-TYPE + SYNTAX Integer32 (0..2147483647) + UNITS "Wh" + MAX-ACCESS read-write + STATUS current + DESCRIPTION + "Units are Watt-hours.This is the energy consumed since the last reset. + This object is writable so that it can be reset to 0. + When it is written to 0, the xupsRecepCumulativePowerUsageTimer will be reset to 0 as well." + ::= { xupsRecepEntry 9 } + +xupsRecepCumulativePowerUsageTimer OBJECT-TYPE + SYNTAX Counter32 + UNITS "Seconds" + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "Time in seconds since the cumulative power usage was last reset." + ::= { xupsRecepEntry 10 } + + +-- +-- xupsTopology group: +-- +xupsTopologyType OBJECT-TYPE + SYNTAX Integer32 (0..32767) + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "Value which denotes the type of UPS by its power topology. Values are the + same as those described in the XCP Topology block's Overall Topology field." + ::= {xupsTopology 1} + +xupsTopoMachineCode OBJECT-TYPE + SYNTAX Integer32 (0..32767) + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "ID Value which denotes the Powerware model of the UPS for software. + Values are the same as those described in the XCP Configuration + block's Machine Code field." + ::= {xupsTopology 2} + +xupsTopoUnitNumber OBJECT-TYPE + SYNTAX Integer32 (0..64) + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "Identifies which unit and what type of data is being reported. + A value of 0 means that this MIB information comes from the top-level system + view (eg, manifold module or system bypass cabinet reporting total system + output). Standalone units also use a value of 0, since they are the 'full + system' view. + A value of 1 or higher indicates the number of the module in the system + which is reporting only its own data in the PowerMIB objects." + ::= {xupsTopology 3} + +xupsTopoPowerStrategy OBJECT-TYPE + SYNTAX INTEGER { + highAlert(1), standard(2), enableHighEfficiency(3), + immediateHighEfficiency(4) } + MAX-ACCESS read-write + STATUS current + DESCRIPTION + "Value which denotes which Power Strategy is currently set for the UPS. + The values are: + highAlert(1) - The UPS shall optimize its operating state to maximize its + power-protection levels. This mode will be held for at most 24 hours. + standard(2) - Balanced, normal power protection strategy. UPS will not enter + HE operating mode from this setting. + enableHighEfficiency(3) - The UPS is enabled to enter HE operating mode to + optimize its operating state to maximize its efficiency, when + conditions change to permit it (as determined by the UPS). + forceHighEfficiency(4) - If this value is permitted to be Set for this UPS, + and if conditions permit, requires the UPS to enter High Efficiency + mode now, without delay (for as long as utility conditions permit). + After successfully set to forceHighEfficiency(4), + xupsTopoPowerStrategy changes to value enableHighEfficiency(3). + xupsOutputSource will indicate if the UPS status is actually operating in + High Efficiency mode." + ::= {xupsTopology 4} + + +-- +-- xupsAgent group: +-- +xupsAgentManufacturer OBJECT-TYPE + SYNTAX DisplayString (SIZE (0..31)) + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "The card agent Manufacturer Name (e.g. Eaton Corporation)." + ::= { xupsAgent 1} + +xupsAgentModel OBJECT-TYPE + SYNTAX DisplayString (SIZE (0..63)) + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "The card agent model" + ::= {xupsAgent 2} + +xupsAgentSoftwareVersion OBJECT-TYPE + SYNTAX DisplayString (SIZE (0..63)) + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "The agent firmware version." + ::= {xupsAgent 3} + +xupsAgentPartNumber OBJECT-TYPE + SYNTAX OCTET STRING (SIZE(1..31)) + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "The card agent catalog part number." + ::= { xupsAgent 4 } + +xupsAgentSerialNumber OBJECT-TYPE + SYNTAX OCTET STRING (SIZE(1..31)) + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "The card agent catalog serial number." + ::= { xupsAgent 5 } + + +-- ************************************************************************* +-- ************************************************************************* + +-- +-- Traps (xupst) +-- +-- 1) Eaton's traps have been defined in this MIB for three different sources. +-- The trap definitions for the three sources are very similar, +-- and use the same alarms as their triggers; their names are prefaced +-- by xupstb, xupstd, and xupstp to distinguish the three types +-- However, the products that the "Basic" and "Port Defined" trap types were +-- created for have been obsoleted, so the only trap types in active use +-- are the "Defined" (xupstd) traps listed below +-- The Obsolete types have been moved to file XUPS_Obsolete.mib +-- +-- a) OBSOLETE - Basic Agents for which the trap variables have not been +-- defined, though trap variables are included with the trap PDU +-- xupsNull OBJECT IDENTIFIER ::= { xupsMIB 0 } +-- xupsTrapBasic OBJECT IDENTIFIER ::= { xupsNull 0 } +-- + +-- b) Agents with exactly Defined trap variables, which may be +-- used as input to trap response macros on management stations +-- This trap type is selected by setting xupsSendTrapType to xups(2) +xupsTrapDefined OBJECT IDENTIFIER ::= {xupsTrapSource 1} +-- Following the recommendations for coexistence between v1 traps +-- and v2 notifications, define the snmpTrapOID base with a 0 +xupsTrapOidDefined OBJECT IDENTIFIER ::= { xupsTrapDefined 0 } + +-- +-- c) OBSOLETE - Agents with Defined traps including ifIndex and ifDescr, +-- which can be used to determine which UPS of a multi-port +-- agent (eg, Eaton Network SNMP Adapter) sent the trap +-- This trap type was selected by setting xupsSendTrapType to xupsPlus(4) +-- xupsTrapPortN OBJECT IDENTIFIER ::= {xupsTrapSource 2} +-- +-- 2) Trap Severity Level is given as a comment to indicate which +-- xupsMaxTrapLevel will result in this trap being sent; +-- levels are (in order): Critical, Major, Minor, Informational +-- + + +-- **************************************************************************** +-- **************************************************************************** +-- +-- Traps from xupsTrapDefined source (xupstd): +-- + +xupstdControlOff NOTIFICATION-TYPE + OBJECTS { xupsAlarmID, xupsAlarmDescr, xupsTrapMessage } + STATUS current + DESCRIPTION + "The UPS output power will turn off in a number of + seconds equal to upsControlOutputOffTrapDelay." + --#SEVERITY CRITICAL + ::= { xupsTrapOidDefined 1 } + +xupstdControlOn NOTIFICATION-TYPE + OBJECTS { xupsAlarmID, xupsAlarmDescr, xupsTrapMessage } + STATUS current + DESCRIPTION + "The UPS output power will turn on in a number of + seconds equal to upsControlOutputOnTrapDelay." + --#SEVERITY INFORMATIONAL + ::= { xupsTrapOidDefined 2 } + +xupstdOnBattery NOTIFICATION-TYPE + OBJECTS { xupsAlarmID, xupsAlarmDescr, xupsTrapMessage } + STATUS current + DESCRIPTION + "The UPS has no AC input power and is running on + battery." + --#SEVERITY MAJOR + ::= { xupsTrapOidDefined 3 } + +xupstdLowBattery NOTIFICATION-TYPE + OBJECTS { xupsAlarmID, xupsAlarmDescr, xupsTrapMessage } + STATUS current + DESCRIPTION + "The UPS batteries are low. Tied to low battery + alarm condition." + --#SEVERITY CRITICAL + ::= { xupsTrapOidDefined 4 } + +xupstdUtilityPowerRestored NOTIFICATION-TYPE + OBJECTS { xupsAlarmID, xupsAlarmDescr, xupsTrapMessage } + STATUS current + DESCRIPTION + "Input power has been restored after running on battery." + --#SEVERITY INFORMATIONAL + ::= { xupsTrapOidDefined 5 } + +xupstdReturnFromLowBattery NOTIFICATION-TYPE + OBJECTS { xupsAlarmID, xupsAlarmDescr, xupsTrapMessage } + STATUS current + DESCRIPTION + "The battery has recovered from a low battery condition." + --#SEVERITY INFORMATIONAL + ::= { xupsTrapOidDefined 6 } + +xupstdOutputOverload NOTIFICATION-TYPE + OBJECTS { xupsAlarmID, xupsAlarmDescr, xupsTrapMessage } + STATUS current + DESCRIPTION + "The ups has sensed an overload of greater than + 106 percent. Tied to the 106% overload alarm." + --#SEVERITY MINOR + ::= { xupsTrapOidDefined 7 } + +xupstdInternalFailure NOTIFICATION-TYPE + OBJECTS { xupsAlarmID, xupsAlarmDescr, xupsTrapMessage } + STATUS current + DESCRIPTION + "Some component of the ups - rectifier, inverter, + control panel has failed. Tied to alarms indi- + cating failure." + --#SEVERITY CRITICAL + ::= { xupsTrapOidDefined 8 } + +xupstdBatteryDischarged NOTIFICATION-TYPE + OBJECTS { xupsAlarmID, xupsAlarmDescr, xupsTrapMessage } + STATUS current + DESCRIPTION + "The Battery Totally Discharged Alarm has occurred." + --#SEVERITY CRITICAL + ::= { xupsTrapOidDefined 9 } + +xupstdInverterFailure NOTIFICATION-TYPE + OBJECTS { xupsAlarmID, xupsAlarmDescr, xupsTrapMessage } + STATUS current + DESCRIPTION + "The ups inverter is unavailable or malfunctioning due to an internal failure." + --#SEVERITY CRITICAL + ::= { xupsTrapOidDefined 10 } + +xupstdOnBypass NOTIFICATION-TYPE + OBJECTS { xupsAlarmID, xupsAlarmDescr, xupsTrapMessage } + STATUS current + DESCRIPTION + "The ups has gone on bypass for some reason." + --#SEVERITY CRITICAL + ::= { xupsTrapOidDefined 11 } + +xupstdBypassNotAvailable NOTIFICATION-TYPE + OBJECTS { xupsAlarmID, xupsAlarmDescr, xupsTrapMessage } + STATUS current + DESCRIPTION + "The ups bypass is unavailable" + --#SEVERITY MAJOR + ::= { xupsTrapOidDefined 12 } + +xupstdOutputOff NOTIFICATION-TYPE + OBJECTS { xupsAlarmID, xupsAlarmDescr, xupsTrapMessage } + STATUS current + DESCRIPTION + "The ups output is switched off." + --#SEVERITY CRITICAL + ::= { xupsTrapOidDefined 13 } + +xupstdInputFailure NOTIFICATION-TYPE + OBJECTS { xupsAlarmID, xupsAlarmDescr, xupsTrapMessage } + STATUS current + DESCRIPTION + "The ups input power is incorrect in voltage, + frequency, or phase rotation." + --#SEVERITY MINOR + ::= { xupsTrapOidDefined 14 } + +xupstdBuildingAlarm NOTIFICATION-TYPE + OBJECTS { xupsAlarmID, xupsAlarmDescr, xupsTrapMessage } + STATUS current + DESCRIPTION + "One of the defined building alarms has occurred." + --#SEVERITY MAJOR + ::= { xupsTrapOidDefined 15 } + +xupstdShutdownImminent NOTIFICATION-TYPE + OBJECTS { xupsAlarmID, xupsAlarmDescr, xupsTrapMessage } + STATUS current + DESCRIPTION + "The ups shutdown imminent alarm has occurred." + --#SEVERITY CRITICAL + ::= { xupsTrapOidDefined 16 } + +xupstdOnInverter NOTIFICATION-TYPE + OBJECTS { xupsAlarmID, xupsAlarmDescr, xupsTrapMessage } + STATUS current + DESCRIPTION + "The ups is returned to utility power running the inverter + after either a transfer to bypass or a run on battery." + --#SEVERITY INFORMATIONAL + ::= { xupsTrapOidDefined 17 } + +xupstdBreakerOpen NOTIFICATION-TYPE + OBJECTS { xupsAlarmID, xupsAlarmDescr, xupsTrapMessage } + STATUS current + DESCRIPTION + "One of the UPS breakers or contactors has been opened." + --#SEVERITY MAJOR + ::= { xupsTrapOidDefined 20 } + +xupstdAlarmEntryAdded NOTIFICATION-TYPE + OBJECTS { xupsAlarmID, xupsAlarmDescr, xupsTrapMessage } + STATUS current + DESCRIPTION + "An alarm not defined in the xups Well Known Alarms + (eg, an alarm defined in RFC1628) + has been added to the Alarm Table." + --#SEVERITY MAJOR + ::= { xupsTrapOidDefined 21 } + +xupstdAlarmEntryRemoved NOTIFICATION-TYPE + OBJECTS { xupsAlarmID, xupsAlarmDescr, xupsTrapMessage } + STATUS current + DESCRIPTION + "An alarm not defined in the xups Well Known Alarms + has been removed from the Alarm Table." + --#SEVERITY INFORMATIONAL + ::= { xupsTrapOidDefined 22 } + +xupstdAlarmBatteryBad NOTIFICATION-TYPE + OBJECTS { xupsAlarmID, xupsAlarmDescr, xupsTrapMessage } + STATUS current + DESCRIPTION + "One or more batteries have been determined to require replacement." + --#SEVERITY MAJOR + ::= { xupsTrapOidDefined 23 } + +xupstdOutputOffAsRequested NOTIFICATION-TYPE + OBJECTS { xupsAlarmID, xupsAlarmDescr, xupsTrapMessage } + STATUS current + DESCRIPTION + "The UPS has shutdown as requested, i.e., the output is off." + --#SEVERITY INFORMATIONAL + ::= { xupsTrapOidDefined 24 } + +xupstdDiagnosticTestFailed NOTIFICATION-TYPE + OBJECTS { xupsAlarmID, xupsAlarmDescr, xupsTrapMessage } + STATUS current + DESCRIPTION + "The result of the last diagnostic test indicates a failure." + --#SEVERITY MINOR + ::= { xupsTrapOidDefined 25 } + +xupstdCommunicationsLost NOTIFICATION-TYPE + OBJECTS { xupsAlarmID, xupsAlarmDescr, xupsTrapMessage } + STATUS current + DESCRIPTION + "A problem has been encountered in the communications + between the agent and the UPS." + --#SEVERITY MAJOR + ::= { xupsTrapOidDefined 26 } + +xupstdUpsShutdownPending NOTIFICATION-TYPE + OBJECTS { xupsAlarmID, xupsAlarmDescr, xupsTrapMessage } + STATUS current + DESCRIPTION + "An xupsControlOutputOffDelay countdown is underway." + --#SEVERITY MAJOR + ::= { xupsTrapOidDefined 27 } + +xupstdAlarmTestInProgress NOTIFICATION-TYPE + OBJECTS { xupsAlarmID, xupsAlarmDescr, xupsTrapMessage } + STATUS current + DESCRIPTION + "A test is in progress, as initiated and indicated by the xupsTest Group. + When the test is complete, one of the following traps will be sent: + - xupstdDiagnosticTestFailed if the test fails, + - xupstdDiagnosticTestPassed on success, or + - xupstdAlarmEntryRemoved in other cases (e.g., Test Canceled)." + --#SEVERITY INFORMATIONAL + ::= { xupsTrapOidDefined 28 } + +-- Provide additional information with the AmbientTemp trap +xupstdAmbientTempBad NOTIFICATION-TYPE + OBJECTS { xupsAlarmID, xupsAlarmDescr, xupsTrapMessage, + xupsEnvAmbientTemp, xupsEnvAmbientLowerLimit, + xupsEnvAmbientUpperLimit } + STATUS current + DESCRIPTION + "The ambient temperature, xupsEnvAmbientTemp, has fallen below + the set lower limit, xupsEnvAmbientLowerLimit, or has risen above + the set upper limit, xupsEnvAmbientUpperLimit." + --#SEVERITY MAJOR + ::= { xupsTrapOidDefined 29 } + +-- Added to support the ConnectUPS Web/SNMP card's ability to monitor contact(s) +xupstdContactActiveNotice NOTIFICATION-TYPE + OBJECTS { xupsContactIndex, xupsContactType, xupsContactState, xupsContactDescr } + STATUS current + DESCRIPTION + "The Contact indicated by xupsContactIndex is in its Active state. + The following are the situations that generate this trap: + For xupsContactType: and xupsContactState: + normallyOpen(1) and closedWithNotice(4) + normallyClosed(2) and openWithNotice(3) + anyChange(3) and openWithNotice(3) or closedWithNotice(4)" + --#SEVERITY MAJOR + ::= { xupsTrapOidDefined 30 } + +xupstdContactInactiveNotice NOTIFICATION-TYPE + OBJECTS { xupsContactIndex, xupsContactType, xupsContactState, xupsContactDescr } + STATUS current + DESCRIPTION + "The Contact indicated by xupsContactIndex has changed to its Inactive state." + --#SEVERITY INFORMATIONAL + ::= { xupsTrapOidDefined 31 } + + +xupstdLossOfRedundancy NOTIFICATION-TYPE + OBJECTS { xupsAlarmID, xupsAlarmDescr, xupsTrapMessage } + STATUS current + DESCRIPTION + "A parallel UPS system is no longer operating in N+1 redundant mode; + this may be due to module failure or removal, or due to overloading." + --#SEVERITY MINOR + ::= { xupsTrapOidDefined 32 } + +xupstdAlarmTempBad NOTIFICATION-TYPE + OBJECTS { xupsAlarmID, xupsAlarmDescr, xupsTrapMessage } + STATUS current + DESCRIPTION + "An internal temperature is out of tolerance." + --#SEVERITY MAJOR + ::= { xupsTrapOidDefined 33 } + +xupstdAlarmChargerFailed NOTIFICATION-TYPE + OBJECTS { xupsAlarmID, xupsAlarmDescr, xupsTrapMessage } + STATUS current + DESCRIPTION + "An uncorrected problem has been detected within the UPS charger subsystem." + --#SEVERITY MAJOR + ::= { xupsTrapOidDefined 34 } + +xupstdAlarmFanFailure NOTIFICATION-TYPE + OBJECTS { xupsAlarmID, xupsAlarmDescr, xupsTrapMessage } + STATUS current + DESCRIPTION + "The failure of one or more fans in the UPS has been detected." + --#SEVERITY MAJOR + ::= { xupsTrapOidDefined 35 } + +xupstdAlarmFuseFailure NOTIFICATION-TYPE + OBJECTS { xupsAlarmID, xupsAlarmDescr, xupsTrapMessage } + STATUS current + DESCRIPTION + "The failure of one or more fuses has been detected." + --#SEVERITY CRITICAL + ::= { xupsTrapOidDefined 36 } + +xupstdPowerSwitchBad NOTIFICATION-TYPE + OBJECTS { xupsAlarmID, xupsAlarmDescr, xupsTrapMessage } + STATUS current + DESCRIPTION + "A Relay, Contactor, or Breaker has failed." + --#SEVERITY CRITICAL + ::= { xupsTrapOidDefined 37 } + +xupstdModuleFailure NOTIFICATION-TYPE + OBJECTS { xupsAlarmID, xupsAlarmDescr, xupsTrapMessage } + STATUS current + DESCRIPTION + "One module in a parallel or composite system has failed." + --#SEVERITY MAJOR + ::= { xupsTrapOidDefined 38 } + +-- xupsInputSource added to this trap's var list +xupstdOnAlternatePowerSource NOTIFICATION-TYPE + OBJECTS { xupsAlarmID, xupsAlarmDescr, xupsTrapMessage, xupsInputSource } + STATUS current + DESCRIPTION + "The system is being powered by its Alternate Power Source, such as a + Secondary utility feed (on a dual AC input UPS), generator, flywheel, + or fuel cell." + --#SEVERITY MINOR + ::= { xupsTrapOidDefined 39 } + +xupstdAltPowerNotAvailable NOTIFICATION-TYPE + OBJECTS { xupsAlarmID, xupsAlarmDescr, xupsTrapMessage } + STATUS current + DESCRIPTION + "On systems with a separate alternate power source (eg, dual AC inputs), + that alternate power source is currently not available. This could be + a problem if the primary power source (eg, utility) fails for a period + of time longer than that for which the internal batteries can supply power." + --#SEVERITY MINOR + ::= { xupsTrapOidDefined 40 } + +xupstdNoticeCondition NOTIFICATION-TYPE + OBJECTS { xupsAlarmID, xupsAlarmDescr, xupsTrapMessage } + STATUS current + DESCRIPTION + "Some Notice condition exists which is not covered by the other traps. + This is like an xupstdInternalFailure, but at a lower severity level." + --#SEVERITY MINOR + ::= { xupsTrapOidDefined 41 } + + +-- Added to provide additional information with the RemoteTemp and RemoteHumidity +xupstdRemoteTempBad NOTIFICATION-TYPE + OBJECTS { xupsAlarmID, xupsAlarmDescr, xupsTrapMessage, + xupsEnvRemoteTemp, xupsEnvRemoteTempLowerLimit, + xupsEnvRemoteTempUpperLimit } + STATUS current + DESCRIPTION + "The remote temperature, xupsEnvRemoteTemp, has fallen below + the set lower limit, xupsEnvRemoteTempLowerLimit, or has risen above + the set upper limit, xupsEnvRemoteTempUpperLimit." + --#SEVERITY MAJOR + ::= { xupsTrapOidDefined 42 } + +xupstdRemoteHumidityBad NOTIFICATION-TYPE + OBJECTS { xupsAlarmID, xupsAlarmDescr, xupsTrapMessage, + xupsEnvRemoteHumidity, xupsEnvRemoteHumidityLowerLimit, + xupsEnvRemoteHumidityUpperLimit } + STATUS current + DESCRIPTION + "The remote temperature, xupsEnvRemoteHumidity, has fallen below + the set lower limit, xupsEnvRemoteHumidityLowerLimit, or has risen above + the set upper limit, xupsEnvRemoteHumidityUpperLimit." + --#SEVERITY MINOR + ::= { xupsTrapOidDefined 43 } + + +xupstdHeartbeat NOTIFICATION-TYPE + OBJECTS { xupsInputSource, xupsOutputSource, xupsAlarms } + STATUS current + DESCRIPTION + "A periodic status trap message. It is sent at an interval + set by object xupsHeartbeatMinsInterval. + The included variables provide a brief statement of the UPS status." + --#SEVERITY INFORMATIONAL + ::= { xupsTrapOidDefined 44 } + +xupstdDiagnosticTestPassed NOTIFICATION-TYPE + OBJECTS { xupsTestBatteryStatus, xupsLastGeneralTest, xupsLastGeneralTestResult } + STATUS current + DESCRIPTION + "A diagnostic test just completed, and its result is Passed. + The included variables provide additional information on the test." + --#SEVERITY INFORMATIONAL + ::= { xupsTrapOidDefined 45 } + +xupstdOutputBad NOTIFICATION-TYPE + OBJECTS { xupsAlarmID, xupsAlarmDescr, xupsTrapMessage } + STATUS current + DESCRIPTION + "The output condition (other than OutputOverload) is out of tolerance." + --#SEVERITY CRITICAL + ::= { xupsTrapOidDefined 46 } + +xupstdAwaitingPower NOTIFICATION-TYPE + OBJECTS { xupsAlarmID, xupsAlarmDescr, xupsTrapMessage } + STATUS current + DESCRIPTION + "The UPS output is off and the UPS is awaiting the return of input power." + --#SEVERITY MINOR + ::= { xupsTrapOidDefined 47 } + +xupstdOnMaintenanceBypass NOTIFICATION-TYPE + OBJECTS { xupsAlarmID, xupsAlarmDescr, xupsTrapMessage } + STATUS current + DESCRIPTION + "The UPS has been placed on Maintenance / Manual Bypass by an operator." + --#SEVERITY MAJOR + ::= { xupsTrapOidDefined 48 } + +xupstdCommEstablished NOTIFICATION-TYPE + OBJECTS { xupsIdentModel, xupsOutputSource } + STATUS current + DESCRIPTION + "This trap is sent when the SNMP agent first establishes a communication + link with the UPS. + The included variables provide identification and UPS status information." + --#SEVERITY INFORMATIONAL + ::= { xupsTrapOidDefined 49 } + +xupstdAgentDown NOTIFICATION-TYPE + -- OBJECTS { (none) } + STATUS current + DESCRIPTION + "This trap is sent when the SNMP agent is exiting or closing down gracefully. + This may be triggered by a signal from the OS to stop this process. In many + implementations, it will be followed quickly by a restart of this vital process." + --#SEVERITY MINOR + ::= { xupsTrapOidDefined 50 } + +-- New traps now managed by the Network-M2 card +xupstdOutputNotProtected NOTIFICATION-TYPE + OBJECTS { xupsAlarmID, xupsAlarmDescr, xupsTrapMessage } + STATUS current + DESCRIPTION + "The ups output is not protectet for any reason in the UPS." + --#SEVERITY CRITICAL + ::= { xupsTrapOidDefined 51 } + +xupstdTestTrap NOTIFICATION-TYPE + OBJECTS { sysName, xupsTrapMessage } + STATUS current + DESCRIPTION + "This trap is sent to the trap receivers to check proper reception of traps." + --#SEVERITY INFORMATIONAL + ::= { xupsTrapOidDefined 100 } + +-- +-- Conformance-related definitions +-- (Defined mostly to satisfy the MIB checkers.) +-- +xupsConformance OBJECT IDENTIFIER ::= { xupsMIB 100 } + +xupsIdentFullGroup OBJECT-GROUP + OBJECTS { xupsIdentManufacturer, xupsIdentModel, + xupsIdentSoftwareVersion, xupsIdentOemCode, + xupsIdentPartNumber, xupsIdentSerialNumber } + STATUS current + DESCRIPTION + "The Full set of xupsIdent subgroup objects." + ::= { xupsConformance 2 } + +xupsBatteryFullGroup OBJECT-GROUP + OBJECTS { xupsBatTimeRemaining, xupsBatVoltage, xupsBatCurrent, + xupsBatCapacity, xupsBatteryAbmStatus, xupsBatteryLastReplacedDate, + xupsBatteryFailure, xupsBatteryNotPresent, xupsBatteryAged, xupsBatteryLowCapacity } + STATUS current + DESCRIPTION + "The Full set of xupsBattery subgroup objects." + ::= { xupsConformance 3 } + +xupsInputFullGroup OBJECT-GROUP + OBJECTS { xupsInputFrequency, xupsInputLineBads, xupsInputNumPhases, + xupsInputSource, xupsDualInputStatus, xupsSecondaryInputWatch, xupsInputStatus } + STATUS current + DESCRIPTION + "The Full set of xupsInput subgroup objects." + ::= { xupsConformance 4 } + +xupsInputTableFullGroup OBJECT-GROUP + OBJECTS { xupsInputPhase, xupsInputVoltage, xupsInputCurrent, xupsInputWatts, + xupsInputId, xupsInputName, xupsInputCurrentHighPrecision, xupsInputVoltagePhaseToPhase } + STATUS current + DESCRIPTION + "The Full set of xupsInputTable subgroup objects." + ::= { xupsConformance 5 } + +xupsOutputFullGroup OBJECT-GROUP + OBJECTS { xupsOutputLoad, xupsOutputFrequency, xupsOutputNumPhases, xupsOutputSource, + xupsOutputHourlyPowerUsage, xupsOutputCumulativePowerUsage, xupsOutputCumulativePowerUsageTimer, xupsOutputStatus } + STATUS current + DESCRIPTION + "The Full set of xupsOutput subgroup objects." + ::= { xupsConformance 6 } + +xupsOutputTableFullGroup OBJECT-GROUP + OBJECTS { xupsOutputPhase, xupsOutputVoltage, xupsOutputCurrent, xupsOutputWatts, + xupsOutputId, xupsOutputName, xupsOutputCurrentHighPrecision, xupsOutputPercentLoad, xupsOutputVA, xupsOutputVoltagePhaseToPhase } + STATUS current + DESCRIPTION + "The Full set of xupsOutputTable subgroup objects." + ::= { xupsConformance 7 } + +xupsBypassFullGroup OBJECT-GROUP + OBJECTS { xupsBypassFrequency, xupsBypassNumPhases, xupsBypassPhase, xupsBypassVoltage, xupsBypassVoltagePhaseToPhase } + STATUS current + DESCRIPTION + "The Full set of xupsBypass subgroup objects." + ::= { xupsConformance 8 } + +xupsEnvironmentFullGroup OBJECT-GROUP + OBJECTS { xupsEnvAmbientTemp, xupsEnvAmbientLowerLimit, + xupsEnvAmbientUpperLimit, xupsEnvAmbientHumidity } + STATUS current + DESCRIPTION + "The Full set of xupsEnvironment subgroup objects." + ::= { xupsConformance 9 } + +xupsAlarmFullGroup OBJECT-GROUP + OBJECTS { xupsAlarms, xupsAlarmID, xupsAlarmDescr, xupsAlarmTime } + STATUS current + DESCRIPTION + "The Full set of xupsAlarm subgroup objects." + ::= { xupsConformance 10 } + +xupsAlarmEventsFullGroup OBJECT-GROUP + OBJECTS { xupsAlarmNumEvents, xupsAlarmEventMsg } + STATUS current + DESCRIPTION + "The Full set of Alarm/Event history subgroup objects." + ::= { xupsConformance 11 } + +xupsTestFullGroup OBJECT-GROUP + OBJECTS { xupsTestStart, xupsTestBatteryStatus, xupsLastGeneralTest, + xupsLastGeneralTestResult, xupsTestTrap } + STATUS current + DESCRIPTION + "The Full set of xupsTest subgroup objects." + ::= { xupsConformance 12 } + +xupsControlFullGroup OBJECT-GROUP + OBJECTS { xupsControlOutputOffDelay, xupsControlOutputOnDelay, + xupsControlOutputOffTrapDelay, xupsControlToBypassDelay, + xupsLoadShedSecsWithRestart, xupsSwitchable } + STATUS current + DESCRIPTION + "The Full set of xupsControl subgroup objects." + ::= { xupsConformance 13 } + +xupsConfigFullGroup OBJECT-GROUP + OBJECTS { xupsConfigOutputVoltage, xupsConfigInputVoltage, xupsConfigOutputWatts, + xupsConfigOutputFreq, xupsConfigDateAndTime, xupsConfigLowOutputVoltageLimit, + xupsConfigHighOutputVoltageLimit, xupsConfigInstallDate } + STATUS current + DESCRIPTION + "The Full set of xupsConfig subgroup objects." + ::= { xupsConformance 14 } + +xupsTrapControlFullGroup OBJECT-GROUP + OBJECTS { xupsMaxTrapLevel, xupsSendTrapType, xupsTrapMessage, + xupsHeartbeatMinsInterval } + STATUS current + DESCRIPTION + "The Full set of xupsTrapControl subgroup objects." + ::= { xupsConformance 15 } + +xupsRecepFullGroup OBJECT-GROUP + OBJECTS { xupsNumReceptacles, xupsRecepIndex, xupsRecepStatus, + xupsRecepOffDelaySecs, xupsRecepOnDelaySecs, + xupsRecepAutoOffDelay, xupsRecepAutoOnDelay, xupsRecepShedSecsWithRestart, + xupsRecepHourlyPowerUsage, xupsRecepCumulativePowerUsage, xupsRecepCumulativePowerUsageTimer } + STATUS current + DESCRIPTION + "The Full set of xupsRecep subgroup objects." + ::= { xupsConformance 16 } + +xupsTopologyFullGroup OBJECT-GROUP + OBJECTS { xupsTopologyType, xupsTopoMachineCode, + xupsTopoUnitNumber, xupsTopoPowerStrategy } + STATUS current + DESCRIPTION + "The Full set of xupsTopology subgroup objects." + ::= { xupsConformance 17 } + +xupstdNotifyGroup NOTIFICATION-GROUP + NOTIFICATIONS { xupstdControlOff, xupstdControlOn, xupstdOnBattery, xupstdLowBattery, + xupstdUtilityPowerRestored, xupstdReturnFromLowBattery, + xupstdOutputOverload, xupstdInternalFailure, xupstdBatteryDischarged, + xupstdInverterFailure, xupstdOnBypass, xupstdBypassNotAvailable, + xupstdOutputOff, xupstdInputFailure, xupstdBuildingAlarm, + xupstdShutdownImminent, xupstdOnInverter, xupstdBreakerOpen, + xupstdAlarmEntryAdded, xupstdAlarmEntryRemoved, xupstdAlarmBatteryBad, + xupstdOutputOffAsRequested, xupstdDiagnosticTestFailed, + xupstdCommunicationsLost, xupstdUpsShutdownPending, xupstdAlarmTempBad, + xupstdAlarmTestInProgress, xupstdAmbientTempBad, xupstdLossOfRedundancy, + xupstdAlarmChargerFailed, xupstdAlarmFanFailure, xupstdAlarmFuseFailure, + xupstdPowerSwitchBad, xupstdModuleFailure, xupstdOnAlternatePowerSource, + xupstdAltPowerNotAvailable, xupstdNoticeCondition, xupstdHeartbeat, + xupstdDiagnosticTestPassed, xupstdOutputBad, xupstdAwaitingPower, + xupstdOnMaintenanceBypass, xupstdCommEstablished, xupstdAgentDown, + xupstdOutputNotProtected, xupstdTestTrap } + STATUS current + DESCRIPTION + "The Alarm and Event notifications from the xupsTrapDefined source (xupstd)." + ::= { xupsConformance 18 } + +xupstdEMPNotifyGroup NOTIFICATION-GROUP + NOTIFICATIONS { xupstdContactActiveNotice, xupstdContactInactiveNotice, + xupstdRemoteTempBad, xupstdRemoteHumidityBad } + STATUS current + DESCRIPTION + "The EMP's Alarm and Event notifications from the xupsTrapDefined source (xupstd)." + ::= { xupsConformance 19 } + + +xupsMibFullCompliance MODULE-COMPLIANCE + STATUS current + DESCRIPTION + "A compliance statement for all of everything in this MIB." + MODULE -- this module + MANDATORY-GROUPS { xupsIdentFullGroup, xupsBatteryFullGroup, xupsInputFullGroup, + xupsInputTableFullGroup, xupsOutputFullGroup, xupsOutputTableFullGroup, + xupsBypassFullGroup, xupsEnvironmentFullGroup, xupsAlarmFullGroup, + xupsAlarmEventsFullGroup, xupsTestFullGroup, xupsControlFullGroup, + xupsConfigFullGroup, xupsTrapControlFullGroup, xupsRecepFullGroup, + xupsTopologyFullGroup, xupstdNotifyGroup, xupstdEMPNotifyGroup, + xupsBypassTableFullGroup, xupsInputTotalFullGroup, xupsOutputTotalFullGroup, + xupsBypassTotalFullGroup } + ::= { xupsConformance 20 } + +xupsDeprecatedGroup OBJECT-GROUP + OBJECTS { xupsAlarmEventDateAndTime, xupsAlarmEventKind, + xupsAlarmEventDescr, xupsControlOutputOnTrapDelay } + STATUS deprecated + DESCRIPTION + "Contains objects which are now deprecated." + ::= { xupsConformance 21 } + +xupsBypassTableFullGroup OBJECT-GROUP + OBJECTS { xupsBypassId, xupsBypassName, xupsBypassCurrentHighPrecision, xupsBypassWatts} + STATUS current + DESCRIPTION + "The Full set of xupsBypassTable subgroup objects." + ::= { xupsConformance 22 } + +xupsInputTotalFullGroup OBJECT-GROUP + OBJECTS { xupsInputAverageVoltage, xupsInputTotalCurrent, xupsInputTotalWatts, + xupsInputTotalVA, xupsInputAveragePowerFactor } + STATUS current + DESCRIPTION + "The Full set of xupsInputTotal subgroup objects." + ::= { xupsConformance 23 } + +xupsOutputTotalFullGroup OBJECT-GROUP + OBJECTS { xupsOutputAverageVoltage, xupsOutputTotalCurrent, xupsOutputTotalWatts, + xupsOutputTotalVA, xupsOutputAveragePowerFactor } + STATUS current + DESCRIPTION + "The Full set of xupsOutputTotal subgroup objects." + ::= { xupsConformance 24 } + +xupsBypassTotalFullGroup OBJECT-GROUP + OBJECTS { xupsBypassAverageVoltage, xupsBypassTotalCurrent, xupsBypassTotalWatts, + xupsBypassTotalVA, xupsBypassAveragePowerFactor } + STATUS current + DESCRIPTION + "The Full set of xupsOutputTotal subgroup objects." + ::= { xupsConformance 25 } + +xupsAgentFullGroup OBJECT-GROUP + OBJECTS { xupsAgentManufacturer, xupsAgentModel, + xupsAgentSoftwareVersion, xupsAgentPartNumber, xupsAgentSerialNumber } + STATUS current + DESCRIPTION + "The Full set of xupsAgent subgroup objects." + ::= { xupsConformance 26 } + + END + diff --git a/roles/prometheus_snmp/tasks/main.yml b/roles/prometheus_snmp/tasks/main.yml index 8a37437..ea8a86f 100644 --- a/roles/prometheus_snmp/tasks/main.yml +++ b/roles/prometheus_snmp/tasks/main.yml @@ -24,6 +24,9 @@ - FOUNDRY-SN-AGENT-MIB.txt - FOUNDRY-SN-ROOT-MIB.txt - FOUNDRY-SN-SWITCH-GROUP-MIB.txt + - XUPS-MIB.txt + - EATON-OIDS.txt + - EATON-EMP-MIB.txt - name: Configure prometheus-snmp-exporter generator template: