diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index bf921d2157291092cfca16bd6c86b638fa7a5736..848c5c00ba5d83c39038194886d0cd528899cf4f 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -126,6 +126,9 @@ docker_build_image: script: # Do not remove 'bash' or statement will be ignored by primitive docker shell - bash $CI_PROJECT_DIR/sbin/tag_and_push_docker_image.sh $IMAGE $tag + artifacts: + paths: + - docker/snmp-exporter/snmp.yml docker_build_image_device_base: extends: .base_docker_images diff --git a/README.md b/README.md index 5fb9723a2403049ed83d7696c0a02e2cb5b8e043..743942ee22ebc6b18ebefb17414d798ab6326d97 100644 --- a/README.md +++ b/README.md @@ -161,6 +161,7 @@ Next change the version in the following places: # Release Notes +* 0.33.3 Add support for new PCON devices (ACX) * 0.33.2 Fix for XSTs in Observations: Also write FPGA_xst_nof_crosslets_RW * 0.33.1 SDPFirmware: replace FPGA_ucp monitoring points with new TR_ucp ones * 0.33.0 Run containers with dedicated ethernet devices (ovs/macvlan) diff --git a/docker/snmp-exporter/README.md b/docker/snmp-exporter/README.md new file mode 100644 index 0000000000000000000000000000000000000000..333a32ee7d03920b59ee8a2169b715c26f8628a0 --- /dev/null +++ b/docker/snmp-exporter/README.md @@ -0,0 +1,11 @@ +SNMP monitoring +====================== + +The `snmp-exporter` module allows SNMP devices to be periodically queried to obtain Prometheus metrics describing their state. + +This setup relies on the following parts: + +* `docker/snmp-exporter/`, a daemon derived from `prom/snmp-exporter` that allows on-demand querying of SNMP devices and is extended with custom LOFAR MIBs, +* `infra/jobs/station/snmp-exporter.levant.nomad`, the Nomad job file to run `snmp-exporter`, +* `infra/consul/consul.hcl.j2`, which configures settings for SNMP "services" present, +* `infra/jobs/station/monitoring.levant.nomad`, the Nomad job file that has Prometheus query `snmp-exporter` for each SNMP "service". diff --git a/docker/snmp-exporter/generator.yml b/docker/snmp-exporter/generator.yml index 8c0a852fb75f63788d7653677099d5e320445700..eb824ec68f977b7445b8caff535f4a6646ed1c69 100644 --- a/docker/snmp-exporter/generator.yml +++ b/docker/snmp-exporter/generator.yml @@ -4,6 +4,12 @@ auths: version: 1 public_v2: version: 2 + pcon_acc: + community: accread + version: 1 + pcon_acx: + community: accread + version: 2 modules: # Default IF-MIB interfaces table with ifIndex. @@ -34,6 +40,76 @@ modules: readynas: walk: - 1.3.6.1.4.1.4526 # Raid/Disks status + + +# ACX Power Systems / Unipower +# +# https://www.unipowerco.com/MIB_files/ACX-MIB.mib + powecMIB: + allow_nonincreasing_oids: true + walk: + - systemInfo + - 1.3.6.1.4.1.5961.5.2 # powerSystem (this name clashes with the eltek MIBs) + - uFlag + - autoBoostFlag + - autoTestFlag + - numbOfAlarms + - alarmHistoryCount + - rectifierInfo + - powecACXTrap + overrides: + systemVoltage: + scale: 0.01 + loadCurrent: + scale: 0.1 + batteryCurrent: + ignore: true + rectifierCurrent: + scale: 0.1 + dcdcCurrent: + scale: 0.1 + meanCurrent: + scale: 0.1 + outputCurrent: + scale: 0.1 + outputVoltage: + scale: 0.1 + batteryDescript: + ignore: true + batteryCapacity: + ignore: true + remainBatteryTime: + ignore: true + + # gosnmp does not visit these in GETBULK, even though snmpwalk does + # see https://github.com/gosnmp/gosnmp/issues/467 + powecMIB_rectifier3: + allow_nonincreasing_oids: true + walk: + # node: rectifierInfo.moduleTable + - 1.3.6.1.4.1.5961.5.6.2.1.1.3 + - 1.3.6.1.4.1.5961.5.6.2.1.2.3 + - 1.3.6.1.4.1.5961.5.6.2.1.3.3 + - 1.3.6.1.4.1.5961.5.6.2.1.4.3 + - 1.3.6.1.4.1.5961.5.6.2.1.5.3 + - 1.3.6.1.4.1.5961.5.6.2.1.6.3 + - 1.3.6.1.4.1.5961.5.6.2.1.7.3 + - 1.3.6.1.4.1.5961.5.6.2.1.8.3 + - 1.3.6.1.4.1.5961.5.6.2.1.9.3 + - 1.3.6.1.4.1.5961.5.6.2.1.10.3 + - 1.3.6.1.4.1.5961.5.6.2.1.11.3 + - 1.3.6.1.4.1.5961.5.6.2.1.12.3 + - 1.3.6.1.4.1.5961.5.6.2.1.13.3 + - 1.3.6.1.4.1.5961.5.6.2.1.14.3 + - 1.3.6.1.4.1.5961.5.6.2.1.15.3 + overrides: + meanCurrent: + scale: 0.1 + outputCurrent: + scale: 0.1 + outputVoltage: + scale: 0.1 + # # White Rabbit # diff --git a/docker/snmp-exporter/lofar_mibs/ACX-MIB.mib b/docker/snmp-exporter/lofar_mibs/ACX-MIB.mib new file mode 100644 index 0000000000000000000000000000000000000000..9af49ada9ff40b9926f564e857a39130b7fd4679 --- /dev/null +++ b/docker/snmp-exporter/lofar_mibs/ACX-MIB.mib @@ -0,0 +1,2319 @@ +-- ACX Mib v. 1.15 +-- LAST-UPDATED 2019/06/18 +-- last modification by JM +-- ORGANIZATION "Unipower" +-- CONTACT-INFO "www.unipowerco.com" +-- DESCRIPTION "System Information, ACX Power Systems" + +ACX-MIB DEFINITIONS ::= BEGIN + +IMPORTS + MODULE-IDENTITY, + enterprises, + IpAddress, + Integer32 FROM SNMPv2-SMI + DisplayString, + RowStatus, + StorageType FROM SNMPv2-TC + OBJECT-TYPE, + NOTIFICATION-TYPE FROM SNMPv2-SMI + SnmpSecurityModel, + SnmpMessageProcessingModel, + SnmpSecurityLevel, + SnmpAdminString FROM SNMP-FRAMEWORK-MIB + KeyChange FROM SNMP-USER-BASED-SM-MIB + snmpTrapOID FROM SNMPv2-MIB + TEXTUAL-CONVENTION FROM SNMPv2-TC; + +powecMIB MODULE-IDENTITY + LAST-UPDATED "201906180000Z" + ORGANIZATION "Unipower" + CONTACT-INFO "www.unipowerco.com" + DESCRIPTION + "System Information, ACX Power Systems" + REVISION "201906180000Z" + DESCRIPTION + "Revision 1.15" + ::= { enterprises 5961 } + + acxPowerSystem OBJECT IDENTIFIER ::= { powecMIB 5 } + systemInfo OBJECT IDENTIFIER ::= { acxPowerSystem 1 } + powerSystem OBJECT IDENTIFIER ::= { acxPowerSystem 2 } + systemParameters OBJECT IDENTIFIER ::= { acxPowerSystem 3 } + customBoost OBJECT IDENTIFIER ::= { systemParameters 46 } + agentSetup OBJECT IDENTIFIER ::= { acxPowerSystem 4 } + alarmInfo OBJECT IDENTIFIER ::= { acxPowerSystem 5 } + rectifierInfo OBJECT IDENTIFIER ::= { acxPowerSystem 6 } + batteryInfo OBJECT IDENTIFIER ::= { acxPowerSystem 7 } + alarmHistory OBJECT IDENTIFIER ::= { acxPowerSystem 8 } + dcdcInfo OBJECT IDENTIFIER ::= { acxPowerSystem 9 } + sliInfo OBJECT IDENTIFIER ::= { acxPowerSystem 10 } + alarmTable OBJECT IDENTIFIER ::= { acxPowerSystem 11 } + snmpV3USM OBJECT IDENTIFIER ::= { acxPowerSystem 98 } + powecACXTrap OBJECT IDENTIFIER ::= { acxPowerSystem 99 } + +-- ------------------------------------------------------------ +-- Types definitions +-- ------------------------------------------------------------ + +UsmAuthProtocol ::= TEXTUAL-CONVENTION + STATUS current + DESCRIPTION + "This textual convention enumerates the authentication protocol for USM configuration." + SYNTAX INTEGER + { + hmacMD5Auth(0), + hmacSHAAuth(1), + noAuthProtocol(2) + } + +UsmPrivProtocol ::= TEXTUAL-CONVENTION + STATUS current + DESCRIPTION + "This textual convention enumerates the privacy protocol for USM configuration." + SYNTAX INTEGER + { + aesPrivProtocol(1), + noPrivProtocol(2) + } + +SwitchValue ::= TEXTUAL-CONVENTION + STATUS current + DESCRIPTION + "Enumerates switch states" + SYNTAX INTEGER + { + off(0), + on(1) + } + +ComStatusValue ::= TEXTUAL-CONVENTION + STATUS current + DESCRIPTION + "Enumerates communication states" + SYNTAX INTEGER + { + ok(0), + fail(1) + } + +AlarmValue ::= TEXTUAL-CONVENTION + STATUS current + DESCRIPTION + "Enumerates alarm states" + SYNTAX INTEGER + { + ok(0), + alarm(1) + } + +-- ------------------------------------------------------------ +-- SYSTEM INFO variables +-- ------------------------------------------------------------ + +systemName OBJECT-TYPE + SYNTAX DisplayString (SIZE (0..32)) + MAX-ACCESS read-write + STATUS current + DESCRIPTION + "System Type String for the DC System Site" + ::= { systemInfo 1 } + +powerSystemType OBJECT-TYPE + SYNTAX DisplayString + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "String containing the type of power supply control module (ACX)" + ::= { systemInfo 2 } + +powerSystemSoftVer OBJECT-TYPE + SYNTAX DisplayString + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "String containing the software version of the control module" + ::= { systemInfo 3 } + +powerSystemSerialNo OBJECT-TYPE + SYNTAX Integer32 + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "Serial Number of the control module" + ::= { systemInfo 4 } + +outputData OBJECT-TYPE + SYNTAX DisplayString (SIZE (0..11)) + MAX-ACCESS read-write + STATUS current + DESCRIPTION + "String containing a description of the DC Output" + ::= { systemInfo 5 } + +batteryDescript OBJECT-TYPE + SYNTAX DisplayString (SIZE (0..19)) + MAX-ACCESS read-write + STATUS current + DESCRIPTION + "String containing a description of the Battery" + ::= { systemInfo 6 } + +batteryCapacity OBJECT-TYPE + SYNTAX Integer32 (0..30000) + MAX-ACCESS read-write + STATUS current + DESCRIPTION + "An integer containing battery capacity in Ah" + + ::= { systemInfo 7 } + +installationDate OBJECT-TYPE + SYNTAX DisplayString + MAX-ACCESS read-write + STATUS current + DESCRIPTION + "Installation date of the system of the form 'DD.MM.YY'" + + ::= { systemInfo 8 } + +updateDate OBJECT-TYPE + SYNTAX DisplayString + MAX-ACCESS read-write + STATUS current + DESCRIPTION + "Last date of updating system of the form 'DD.MM.YY'" + + ::= { systemInfo 9 } + +powerSystemAddress OBJECT-TYPE + SYNTAX Integer32 (0..255) + MAX-ACCESS read-write + STATUS current + DESCRIPTION + "An integer containing the address of the System" + + ::= { systemInfo 10 } + +powerSystemSerialCode OBJECT-TYPE + SYNTAX DisplayString + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "Serial Number in new format (ACX version 2.22 and newer)" + ::= { systemInfo 11 } + +-- ------------------------------------------------------------ +-- POWER SYSTEM variables +-- ------------------------------------------------------------ + +systemVoltage OBJECT-TYPE + SYNTAX Integer32 (0..30000) + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "A variable containing the system DC voltage (V*100)" + ::= { powerSystem 1 } + +loadCurrent OBJECT-TYPE + SYNTAX Integer32 + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "A variable containing the system load current (A*10)" + ::= { powerSystem 2 } + +batteryCurrent OBJECT-TYPE + SYNTAX Integer32 + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "A variable containing the battery current (A*10)" + ::= { powerSystem 3 } + + +rectifierCurrent OBJECT-TYPE + SYNTAX Integer32 + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "A variable containing the rectifier current (A*10)" + ::= { powerSystem 4 } + +battTemperature OBJECT-TYPE + SYNTAX Integer32 + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "A variable containing the battery temperature(C)" + ::= { powerSystem 5 } + +acPhase1Voltage OBJECT-TYPE + SYNTAX Integer32 + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "A variable containing AC input voltage for phase 1 (V), (-1) means measurement not available" + ::= { powerSystem 6 } + +acPhase2Voltage OBJECT-TYPE + SYNTAX Integer32 + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "A variable containing AC input voltage for phase 2 (V), (-1) means measurement not available" + ::= { powerSystem 7 } + +acPhase3Voltage OBJECT-TYPE + SYNTAX Integer32 + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "A variable containing AC input voltage for phase 3 (V), (-1) means measurement not available" + ::= { powerSystem 8 } + +remainBatteryTime OBJECT-TYPE + SYNTAX Integer32 + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "A variable containing the remaining battery time in (minutes)" + ::= { powerSystem 9 } + +dcdcCurrent OBJECT-TYPE + SYNTAX Integer32 + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "A variable containing the DC/DC units total current (A*10)" + ::= { powerSystem 10 } + +-- ------------------------------------------------------------ +-- SYSTEM PARAMETERS +-- ------------------------------------------------------------ + +uFlag OBJECT-TYPE + SYNTAX Integer32 (0..255) + MAX-ACCESS read-write + STATUS current + DESCRIPTION + "A variable containing the operation mode Flag (normal, boost charge, test, spare)" + ::= { systemParameters 1 } + +u1NormalRef OBJECT-TYPE + SYNTAX Integer32 (0..30000) + MAX-ACCESS read-write + STATUS current + DESCRIPTION + "A variable containing U1 (Normal) Reference Voltage (V*10)" + ::= { systemParameters 2 } + +u2BoostRef OBJECT-TYPE + SYNTAX Integer32 (0..30000) + MAX-ACCESS read-write + STATUS current + DESCRIPTION + "A variable containing U2 (Boost) Reference Voltage (V*10)" + ::= { systemParameters 3 } + +u3TestRef OBJECT-TYPE + SYNTAX Integer32 (0..30000) + MAX-ACCESS read-write + STATUS current + DESCRIPTION + "A variable containing U3 (Test) Reference Voltage (V*10)" + ::= { systemParameters 4 } + +u4SpareRef OBJECT-TYPE + SYNTAX Integer32 (0..30000) + MAX-ACCESS read-write + STATUS current + DESCRIPTION + "A variable containing U4 (Spare) Reference Voltage (V*10)" + ::= { systemParameters 5 } + + +lowVoltLim OBJECT-TYPE + SYNTAX Integer32 (0..30000) + MAX-ACCESS read-write + STATUS current + DESCRIPTION + "A variable containing the Low Voltage Limit (V*10)" + ::= { systemParameters 6 } + + +lowVoltDisconVoltLim OBJECT-TYPE + SYNTAX Integer32 (0..30000) + MAX-ACCESS read-write + STATUS current + DESCRIPTION + "A variable containing the Low Voltage Disconnect Limit (V*10)" + ::= { systemParameters 7 } + +lowVoltReconLim OBJECT-TYPE + SYNTAX Integer32 (0..30000) + MAX-ACCESS read-write + STATUS current + DESCRIPTION + "A variable containing the Low Voltage Reconnect Limit (V*10)" + ::= { systemParameters 8 } + +partLoadDiscon1Limit OBJECT-TYPE + SYNTAX Integer32 (0..30000) + MAX-ACCESS read-write + STATUS current + DESCRIPTION + "A variable containing the Partial Load Disconnection Limit. The limit will be in (V*10), or + in (minutes) depending on the configuration of the ACX" + ::= { systemParameters 9 } + +partLoadDiscon2Limit OBJECT-TYPE + SYNTAX Integer32 (0..30000) + MAX-ACCESS read-write + STATUS current + DESCRIPTION + "A variable containing the Partial Load Disconnection Limit. The limit will be in (V*10), or + in (minutes) depending on the configuration of the ACX" + ::= { systemParameters 10 } + +partLoadDiscon3Limit OBJECT-TYPE + SYNTAX Integer32 (0..30000) + MAX-ACCESS read-write + STATUS current + DESCRIPTION + "A variable containing the Partial Load Disconnection Limit. The limit will be in (V*10), or + in (minutes) depending on the configuration of the ACX" + ::= { systemParameters 11 } + +highVoltLim OBJECT-TYPE + SYNTAX Integer32 (0..30000) + MAX-ACCESS read-write + STATUS current + DESCRIPTION + "A variable containing the High Voltage Limit (V*10)" + ::= { systemParameters 12 } + +highVoltDisconLim OBJECT-TYPE + SYNTAX Integer32 (0..30000) + MAX-ACCESS read-write + STATUS current + DESCRIPTION + "A variable containing the High Voltage Shutdown Limit (V*10)" + ::= { systemParameters 13 } + +autoBoostFlag OBJECT-TYPE + SYNTAX Integer32 (0..255) + MAX-ACCESS read-write + STATUS current + DESCRIPTION + "A variable containing the Auto Boost Flag(1 for auto boost enabled, 0 disabled)." + ::= { systemParameters 14 } + +boostTime OBJECT-TYPE + SYNTAX Integer32 (0..255) + MAX-ACCESS read-write + STATUS current + DESCRIPTION + "A variable containing the Boost Time value (hour*10)" + ::= { systemParameters 15 } + +boostInterval OBJECT-TYPE + SYNTAX Integer32 (0..255) + MAX-ACCESS read-write + STATUS current + DESCRIPTION + "A variable containing the Boost Interval value (weeks*10)" + ::= { systemParameters 16 } + +boostTimeFactor OBJECT-TYPE + SYNTAX Integer32 (0..255) + MAX-ACCESS read-write + STATUS current + DESCRIPTION + "A variable containing the Boost Time Factor" + ::= { systemParameters 17 } + +boostLimit1 OBJECT-TYPE + SYNTAX Integer32 (0..30000) + MAX-ACCESS read-write + STATUS current + DESCRIPTION + "A variable containing the Boost Limit1 value (V*10)" + ::= { systemParameters 18 } + +boostLimit2 OBJECT-TYPE + SYNTAX Integer32 (0..30000) + MAX-ACCESS read-write + STATUS current + DESCRIPTION + "A variable containing the Boost Limit2 value (V*10)" + ::= { systemParameters 19 } + + +noOfBatteries OBJECT-TYPE + SYNTAX Integer32 (0..255) + MAX-ACCESS read-write + STATUS current + DESCRIPTION + "A variable containing the Number of Batteries" + ::= { systemParameters 20 } + +batType OBJECT-TYPE + SYNTAX Integer32 (0..255) + MAX-ACCESS read-write + STATUS current + DESCRIPTION + "A variable containing the Type Of Battery" + ::= { systemParameters 21 } + +symLimit OBJECT-TYPE + SYNTAX Integer32 (0..255) + MAX-ACCESS read-write + STATUS current + DESCRIPTION + "A variable containing the Symmetry Limit (V*10)" + ::= { systemParameters 22 } + +autoTestFlag OBJECT-TYPE + SYNTAX Integer32 (0..255) + MAX-ACCESS read-write + STATUS current + DESCRIPTION + "A variable containing the number of automatic battery tests performed per year." + ::= { systemParameters 23 } + +startHForTest OBJECT-TYPE + SYNTAX Integer32 (0..255) + MAX-ACCESS read-write + STATUS current + DESCRIPTION + "A variable containing the Start Hour for Automatic Test" + ::= { systemParameters 24 } + +voltLimForTest OBJECT-TYPE + SYNTAX Integer32 (0..30000) + MAX-ACCESS read-write + STATUS current + DESCRIPTION + "A variable containing the Voltage Limit for Battery Test (V*10)" + ::= { systemParameters 25 } + +timeLimForTest OBJECT-TYPE + SYNTAX Integer32 (0..30000) + MAX-ACCESS read-write + STATUS current + DESCRIPTION + "A variable containing the Time Limit For Test (minutes)" + ::= { systemParameters 26 } + +ampLimForTest OBJECT-TYPE + SYNTAX Integer32 (0..30000) + MAX-ACCESS read-write + STATUS current + DESCRIPTION + "A variable containing the Amphour Limit For Test (Ah)" + ::= { systemParameters 27 } + +year OBJECT-TYPE + SYNTAX Integer32 (0..255) + MAX-ACCESS read-write + STATUS current + DESCRIPTION + "A variable containing the Year" + ::= { systemParameters 28 } + +month OBJECT-TYPE + SYNTAX Integer32 (0..255) + MAX-ACCESS read-write + STATUS current + DESCRIPTION + "A variable containing the Month" + ::= { systemParameters 29 } + +day OBJECT-TYPE + SYNTAX Integer32 (0..255) + MAX-ACCESS read-write + STATUS current + DESCRIPTION + "A variable containing the Day" + ::= { systemParameters 30 } + +hour OBJECT-TYPE + SYNTAX Integer32 (0..255) + MAX-ACCESS read-write + STATUS current + DESCRIPTION + "A variable containing the Hour" + ::= { systemParameters 31 } + +minute OBJECT-TYPE + SYNTAX Integer32 (0..255) + MAX-ACCESS read-write + STATUS current + DESCRIPTION + "A variable containing the Minute" + ::= { systemParameters 32 } + +tempCompFlag OBJECT-TYPE + SYNTAX Integer32 (0..255) + MAX-ACCESS read-write + STATUS current + DESCRIPTION + "A variable containing the Temperature Compensation Flag" + ::= { systemParameters 33 } + +tempCompFactor OBJECT-TYPE + SYNTAX Integer32 (0..255) + MAX-ACCESS read-write + STATUS current + DESCRIPTION + "A variable containing the Temperature Compensation Factor (V*10/10C)" + ::= { systemParameters 34 } + +highTempLimit OBJECT-TYPE + SYNTAX Integer32 (0..255) + MAX-ACCESS read-write + STATUS current + DESCRIPTION + "A variable containing the High Temperature Limit (C)" + ::= { systemParameters 35 } + +lowTempLimit OBJECT-TYPE + SYNTAX Integer32 (0..255) + MAX-ACCESS read-write + STATUS current + DESCRIPTION + "A variable containing the Low Temperature Limit (C)" + ::= { systemParameters 36 } + +highLoadLimit OBJECT-TYPE + SYNTAX Integer32 (0..30000) + MAX-ACCESS read-write + STATUS current + DESCRIPTION + "A variable containing the High Load Limit (% of full capacity)" + ::= { systemParameters 37 } + +signals OBJECT-TYPE + SYNTAX Integer32 (0..255) + MAX-ACCESS read-write + STATUS current + DESCRIPTION + "A variable containing the Signal byte + Bit 0 - Reset Alarms + Bit 1 - Reconfigure System" + ::= { systemParameters 38 } + +shuntA OBJECT-TYPE + SYNTAX Integer32 (0..30000) + MAX-ACCESS read-write + STATUS current + DESCRIPTION + "A variable containing the Shunt Current Rating (A)" + ::= { systemParameters 39 } + +shuntmV OBJECT-TYPE + SYNTAX Integer32 (0..30000) + MAX-ACCESS read-write + STATUS current + DESCRIPTION + "A variable containing the Shunt mV Rating (mV)" + ::= { systemParameters 40 } + +batCurrLimEnabled OBJECT-TYPE + SYNTAX Integer32 (0..255) + MAX-ACCESS read-write + STATUS current + DESCRIPTION + "Battery Current Limit Enabled + " + ::= { systemParameters 41 } + +currLimRef OBJECT-TYPE + SYNTAX Integer32 (0..30000) + MAX-ACCESS read-write + STATUS current + DESCRIPTION + "A variable containing the battery Current Limit reference (A*10)" + ::= { systemParameters 42 } + +highACVoltLim OBJECT-TYPE + SYNTAX Integer32 (0..30000) + MAX-ACCESS read-write + STATUS current + DESCRIPTION + "A variable containing the High AC Voltage Limit (V)" + ::= { systemParameters 43 } + +lowACVoltLim OBJECT-TYPE + SYNTAX Integer32 (0..30000) + MAX-ACCESS read-write + STATUS current + DESCRIPTION + "A variable containing the Low AC Voltage Limit (V)" + ::= { systemParameters 44 } + +turnOnOffRecifiers OBJECT-TYPE + SYNTAX Integer32 (0 | 1) + MAX-ACCESS read-write + STATUS current + DESCRIPTION + "A switch for turning On/Off rectifiers, + NOTE: If system does not have another power source (e.g. battery), + this will cause system shutdown" + ::= { systemParameters 45 } + +-- ------------------------------------------------------------ +-- Custom boost parameters +-- ------------------------------------------------------------ + +cbBatteryCapacity OBJECT-TYPE + SYNTAX Integer32 (0..30000) + MAX-ACCESS read-write + STATUS current + DESCRIPTION + "Battery capacity Cn in Ah, capacity is for required rating" + ::= { customBoost 1 } + +cbBODTime OBJECT-TYPE + SYNTAX Integer32 + MAX-ACCESS read-write + STATUS current + DESCRIPTION + "Minimal Battery on discharge time in minutes + required to custom boost is activated" + ::= { customBoost 2 } + +cbStage1Duration OBJECT-TYPE + SYNTAX Integer32 + MAX-ACCESS read-write + STATUS current + DESCRIPTION + "Custom boost Stage1 duration in minutes" + ::= { customBoost 3 } + +cbStage1BatCurLimit OBJECT-TYPE + SYNTAX Integer32 (0..1000) + MAX-ACCESS read-write + STATUS current + DESCRIPTION + "Custom boost Stage1 battery current limit in % of cbBatteryCapacity + resolution is 1 => 0.1%" + ::= { customBoost 4 } + +cbStage2Duration OBJECT-TYPE + SYNTAX Integer32 + MAX-ACCESS read-write + STATUS current + DESCRIPTION + "Custom boost Stage2 duration in minutes" + ::= { customBoost 5 } + +cbStage2BatCurLimit OBJECT-TYPE + SYNTAX Integer32 (0..1000) + MAX-ACCESS read-write + STATUS current + DESCRIPTION + "Custom boost Stage2 battery current limit in % of cbBatteryCapacity + resolution is 1 => 0.1%" + ::= { customBoost 6 } + +cbStage2EarlyExitBatCurLimit OBJECT-TYPE + SYNTAX Integer32 (0..1000) + MAX-ACCESS read-write + STATUS current + DESCRIPTION + "Custom boost Stage2 early exit (before cbStage2Duration expires) + battery current limit in % of cbBatteryCapacity + resolution is 1 => 0.1%" + ::= { customBoost 7 } + +customBoostEnable OBJECT-TYPE + SYNTAX Integer32 (0..255) + MAX-ACCESS read-write + STATUS current + DESCRIPTION + "A variable containing the Custom Boost Flag (1 for auto boost enabled, 0 disabled)." + ::= { customBoost 8 } + +-- ------------------------------------------------------------ +-- AGENT SETUP +-- ------------------------------------------------------------ + +trapReciepient1 OBJECT-TYPE + SYNTAX IpAddress + MAX-ACCESS read-write + STATUS current + DESCRIPTION + "IP address of Trap Reciepient 1" + ::= { agentSetup 1 } + +trapReciepient2 OBJECT-TYPE + SYNTAX IpAddress + MAX-ACCESS read-write + STATUS current + DESCRIPTION + "IP address of Trap Reciepient 2" + ::= { agentSetup 2 } + +trapReciepient3 OBJECT-TYPE + SYNTAX IpAddress + MAX-ACCESS read-write + STATUS current + DESCRIPTION + "IP address of Trap Reciepient 3" + ::= { agentSetup 3 } + +trapReciepient4 OBJECT-TYPE + SYNTAX IpAddress + MAX-ACCESS read-write + STATUS current + DESCRIPTION + "IP address of Trap Reciepient 4" + ::= { agentSetup 4 } + +trapReciepient5 OBJECT-TYPE + SYNTAX IpAddress + MAX-ACCESS read-write + STATUS current + DESCRIPTION + "IP address of Trap Reciepient 5" + ::= { agentSetup 5 } + +trapReciepient6 OBJECT-TYPE + SYNTAX IpAddress + MAX-ACCESS read-write + STATUS current + DESCRIPTION + "IP address of Trap Reciepient 6" + ::= { agentSetup 6 } + +trapReciepient7 OBJECT-TYPE + SYNTAX IpAddress + MAX-ACCESS read-write + STATUS current + DESCRIPTION + "IP address of Trap Reciepient 7" + ::= { agentSetup 7 } + +trapReciepient8 OBJECT-TYPE + SYNTAX IpAddress + MAX-ACCESS read-write + STATUS current + DESCRIPTION + "IP address of Trap Reciepient 8" + ::= { agentSetup 8 } + +trapCommunityName OBJECT-TYPE + SYNTAX DisplayString (SIZE (0..15)) + MAX-ACCESS read-write + STATUS current + DESCRIPTION + "A variable containing Trap community name" + ::= { agentSetup 9 } + +-- ------------------------------------------------------------ +-- ALARM INFO variables (Alarm and Status Information) +-- The alarmData, extraAlarmData and statusData +-- are integers from 0-255 containing the byte value received +-- from the controlmodule. +-- ------------------------------------------------------------ + +numbOfAlarms OBJECT-TYPE + SYNTAX Integer32 (0..100) + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "Variable containing the number of active alarms at the moment, when sent with a trap 1 indicate active, 0 indicate clear" + ::= { alarmInfo 1 } + +alarmData1 OBJECT-TYPE + SYNTAX Integer32 (0..255) + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "A byte containing alarm data 1" + ::= { alarmInfo 2 } + +alarmData2 OBJECT-TYPE + SYNTAX Integer32 (0..255) + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "A byte containing alarm data 2" + ::= { alarmInfo 3 } + +alarmData3 OBJECT-TYPE + SYNTAX Integer32 (0..255) + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "A byte containing alarm data 3" + ::= { alarmInfo 4 } + +extraAlarmData1 OBJECT-TYPE + SYNTAX Integer32 (0..255) + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "A byte containing extra alarm data 1" + ::= { alarmInfo 5 } + +extraAlarmData2 OBJECT-TYPE + SYNTAX Integer32 (0..255) + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "A byte containing extra alarm data 2" + ::= { alarmInfo 6 } + +statusData1 OBJECT-TYPE + SYNTAX Integer32 (0..255) + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "A byte containing status data 1" + ::= { alarmInfo 7 } + +statusData2 OBJECT-TYPE + SYNTAX Integer32 (0..255) + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "A byte containing status data 2" + ::= { alarmInfo 8 } + +statusData3 OBJECT-TYPE + SYNTAX Integer32 (0..255) + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "A byte containing status data 3" + ::= { alarmInfo 9 } + +statusData4 OBJECT-TYPE + SYNTAX Integer32 (0..255) + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "A byte containing status data 4" + ::= { alarmInfo 10 } + +extAlarm0Name OBJECT-TYPE + SYNTAX DisplayString + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "Ext.alarm 0 name" + ::= { alarmInfo 11 } + +extAlarm1Name OBJECT-TYPE + SYNTAX DisplayString + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "Ext.alarm 1 name" + ::= { alarmInfo 12 } + +extAlarm2Name OBJECT-TYPE + SYNTAX DisplayString + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "Ext.alarm 2 name" + ::= { alarmInfo 13 } + +extAlarm3Name OBJECT-TYPE + SYNTAX DisplayString + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "Ext.alarm 3 name" + ::= { alarmInfo 14 } + +extAlarm4Name OBJECT-TYPE + SYNTAX DisplayString + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "Ext.alarm 4 name" + ::= { alarmInfo 15 } + +extAlarm5Name OBJECT-TYPE + SYNTAX DisplayString + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "Ext.alarm 5 name" + ::= { alarmInfo 16 } + +extAlarm6Name OBJECT-TYPE + SYNTAX DisplayString + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "Ext.alarm 6 name" + ::= { alarmInfo 17 } + +extAlarm7Name OBJECT-TYPE + SYNTAX DisplayString + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "Ext.alarm 7 name" + ::= { alarmInfo 18 } + +extAlarm8Name OBJECT-TYPE + SYNTAX DisplayString + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "Ext.alarm 8 name" + ::= { alarmInfo 19 } + +extAlarm9Name OBJECT-TYPE + SYNTAX DisplayString + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "Ext.alarm 9 name" + ::= { alarmInfo 20 } + +extAlarm10Name OBJECT-TYPE + SYNTAX DisplayString + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "Ext.alarm 10 name" + ::= { alarmInfo 21 } + +extAlarm11Name OBJECT-TYPE + SYNTAX DisplayString + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "Ext.alarm 11 name" + ::= { alarmInfo 22 } + +extAlarm12Name OBJECT-TYPE + SYNTAX DisplayString + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "Ext.alarm 12 name" + ::= { alarmInfo 23 } + +extAlarm13Name OBJECT-TYPE + SYNTAX DisplayString + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "Ext.alarm 13 name" + ::= { alarmInfo 24 } + +extAlarm14Name OBJECT-TYPE + SYNTAX DisplayString + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "Ext.alarm 14 name" + ::= { alarmInfo 25 } + +extAlarm15Name OBJECT-TYPE + SYNTAX DisplayString + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "Ext.alarm 15 name" + ::= { alarmInfo 26 } + +-- ------------------------------------------------------------ +-- rectifierInfo +-- ------------------------------------------------------------ + +numOfRectifiers OBJECT-TYPE + SYNTAX Integer32 (0..255) + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "Number of Rectifiers installed in the system" + ::= { rectifierInfo 1 } + +numOfChannels OBJECT-TYPE + SYNTAX Integer32 (0..255) + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "Number of RS485 channels in the system" + ::= { rectifierInfo 3 } + +selectChannel OBJECT-TYPE + SYNTAX Integer32 (0..255) + MAX-ACCESS read-write + STATUS current + DESCRIPTION + "Select actual channel for which module table will be displayed" + ::= { rectifierInfo 4 } + +moduleTable OBJECT-TYPE + SYNTAX SEQUENCE OF ModuleEntry + MAX-ACCESS not-accessible + STATUS current + DESCRIPTION + "Module Information Table" + ::= { rectifierInfo 2 } + +moduleEntry OBJECT-TYPE + SYNTAX ModuleEntry + MAX-ACCESS not-accessible + STATUS current + DESCRIPTION + "Queue of Module Table" + INDEX { moduleIndex } + ::= { moduleTable 1 } + +ModuleEntry ::= + SEQUENCE { + moduleIndex + Integer32, + moduleAddress + Integer32, + moduleComStatus + ComStatusValue, + moduleOk + AlarmValue, + moduleEnabled + SwitchValue, + inputVoltage + Integer32, + outputVoltage + Integer32, + outputCurrent + Integer32, + meanCurrent + Integer32, + temperature + Integer32, + moduleStatus + Integer32, + moduleFlag + Integer32, + moduleConfig + Integer32, + softVersion + DisplayString, + serialNumber + Integer32 + } + +moduleIndex OBJECT-TYPE + SYNTAX Integer32 (0..100) + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "Entry number in the Module Table" + ::= { moduleEntry 1 } + +moduleAddress OBJECT-TYPE + SYNTAX Integer32 (0..255) + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "Address of current module viewed in the Module Table, (-1) means this value is invalid" + ::= { moduleEntry 2 } + +moduleComStatus OBJECT-TYPE + SYNTAX ComStatusValue + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "Module Communication Status, 0-OK, 1-Failed, (-1) means this value is invalid" + ::= { moduleEntry 3 } + +moduleOk OBJECT-TYPE + SYNTAX AlarmValue + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "Rectifier Module Ok or Alarm, 0-OK, 1-Alarm, (-1) means this value is invalid" + ::= { moduleEntry 4 } + +moduleEnabled OBJECT-TYPE + SYNTAX SwitchValue + MAX-ACCESS read-write + STATUS current + DESCRIPTION + "Rectifier module is activated or not, 1-Activated, 0-Disable, (-1) means this value is invalid" + ::= { moduleEntry 5 } + +inputVoltage OBJECT-TYPE + SYNTAX Integer32 (0..30000) + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "Module Input Voltage(V), (-1) means measurement not available" + ::= { moduleEntry 6 } + +outputVoltage OBJECT-TYPE + SYNTAX Integer32 (0..30000) + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "Module Output Voltage(V*10), (-1) means measurement not available" + ::= { moduleEntry 7 } + +outputCurrent OBJECT-TYPE + SYNTAX Integer32 (0..30000) + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "Module Current (A*10), (-1) means measurement not available" + ::= { moduleEntry 8 } + +meanCurrent OBJECT-TYPE + SYNTAX Integer32 (0..30000) + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "Module MeanCurrent for current sharing (A*10), (-1) means measurement not available" + ::= { moduleEntry 9 } + +temperature OBJECT-TYPE + SYNTAX Integer32 + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "Module internal temperature (C), (-1) means measurement not available" + ::= { moduleEntry 10 } + +moduleStatus OBJECT-TYPE + SYNTAX Integer32 (0..255) + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "Module status, (-1) means this value is invalid" + ::= { moduleEntry 11 } + +moduleFlag OBJECT-TYPE + SYNTAX Integer32 (0..255) + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "Module Flag, (-1) means this value is invalid" + ::= { moduleEntry 12 } + +moduleConfig OBJECT-TYPE + SYNTAX Integer32 (0..255) + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "Module Config, (-1) means this value is invalid" + ::= { moduleEntry 13 } + +softVersion OBJECT-TYPE + SYNTAX DisplayString + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "Software version of the module, (-1) means this value is invalid" + ::= { moduleEntry 14 } + +serialNumber OBJECT-TYPE + SYNTAX Integer32 + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "Serial Number of the module, (-1) means this value is invalid" + ::= { moduleEntry 15 } + +-- ------------------------------------------------------------ +-- BATTERY INFORMATION +-- ------------------------------------------------------------ + +numbOfBatteries OBJECT-TYPE + SYNTAX Integer32 (0..100) + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "Number of battery strings installed in the system" + ::= { batteryInfo 1 } + +typeofBattery OBJECT-TYPE + SYNTAX Integer32 (0..100) + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "Type of battery installed in the system" + ::= { batteryInfo 2 } + +symmetryTable OBJECT-TYPE + SYNTAX SEQUENCE OF SymmetryEntry + MAX-ACCESS not-accessible + STATUS current + DESCRIPTION + "Symmetry Information Table" + ::= { batteryInfo 3 } + +symmetryEntry OBJECT-TYPE + SYNTAX SymmetryEntry + MAX-ACCESS not-accessible + STATUS current + DESCRIPTION + "Queue of Symmetry Table" + INDEX { batteryIndex } + ::= { symmetryTable 1 } + +SymmetryEntry ::= + SEQUENCE { + batteryIndex + Integer32, + symmetry1 + Integer32, + symmetry2 + Integer32, + symmetry3 + Integer32, + symmetry4 + Integer32 + } + +batteryIndex OBJECT-TYPE + SYNTAX Integer32 (0..100) + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "Index of current battery string viewed in the Symmetry Table" + ::= { symmetryEntry 1 } + +symmetry1 OBJECT-TYPE + SYNTAX Integer32 (0..30000) + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "Symmetry Voltage in Block 1 (V*100), (-1) means this value is invalid" + ::= { symmetryEntry 2 } + +symmetry2 OBJECT-TYPE + SYNTAX Integer32 (0..30000) + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "Symmetry Voltage in Block 2 (V*100), (-1) means this value is invalid" + ::= { symmetryEntry 3 } + +symmetry3 OBJECT-TYPE + SYNTAX Integer32 (0..30000) + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "Symmetry Voltage in Block 3 (V*100), (-1) means this value is invalid for this battery type" + ::= { symmetryEntry 4 } + +symmetry4 OBJECT-TYPE + SYNTAX Integer32 (0..30000) + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "Symmetry Voltage in Block 4 (V*100), (-1) means this value is invalid for this battery type" + ::= { symmetryEntry 5 } + +-- ------------------------------------------------------------ +-- ALARM HISTORY INFORMATION +-- ------------------------------------------------------------ + +alarmHistoryCount OBJECT-TYPE + SYNTAX Integer32 + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "Number of Alarm History entries in the History Table" + ::= { alarmHistory 1 } + +alarmHistoryTable OBJECT-TYPE + SYNTAX SEQUENCE OF AlarmHistoryEntry + MAX-ACCESS not-accessible + STATUS current + DESCRIPTION + "Alarm History Table" + ::= { alarmHistory 2 } + +alarmHistoryEntry OBJECT-TYPE + SYNTAX AlarmHistoryEntry + MAX-ACCESS not-accessible + STATUS current + DESCRIPTION + "Queue of History Table" + INDEX { ahTableIndex } + ::= { alarmHistoryTable 1 } + +AlarmHistoryEntry ::= + SEQUENCE { + ahTableIndex + Integer32, + ahTime + DisplayString, + ahData1 + Integer32, + ahData2 + Integer32, + ahData3 + Integer32, + ahData4 + Integer32, + ahData5 + Integer32 + } + +ahTableIndex OBJECT-TYPE + SYNTAX Integer32 (0..100) + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "Entery Number in the History Table" + ::= { alarmHistoryEntry 1 } + +ahTime OBJECT-TYPE + SYNTAX DisplayString + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "Time and date of the History Table entry" + ::= { alarmHistoryEntry 2 } + +ahData1 OBJECT-TYPE + SYNTAX Integer32 (0..255) + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "A byte containing alarm history data 1" + ::= { alarmHistoryEntry 3 } + +ahData2 OBJECT-TYPE + SYNTAX Integer32 (0..255) + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "A byte containing alarm history data 2" + ::= { alarmHistoryEntry 4 } + +ahData3 OBJECT-TYPE + SYNTAX Integer32 (0..255) + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "A byte containing alarm history data 3" + ::= { alarmHistoryEntry 5 } + +ahData4 OBJECT-TYPE + SYNTAX Integer32 (0..255) + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "A byte containing alarm history data 4" + ::= { alarmHistoryEntry 6 } + +ahData5 OBJECT-TYPE + SYNTAX Integer32 (0..255) + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "A byte containing alarm history data 5" + ::= { alarmHistoryEntry 7 } + +-- ------------------------------------------------------------ +-- DCDCModuleInfo +-- ------------------------------------------------------------ + +numOfDCDCUnits OBJECT-TYPE + SYNTAX Integer32 (0..255) + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "Number of DCDC Modules installed in the system" + ::= { dcdcInfo 1 } + +dcdcTable OBJECT-TYPE + SYNTAX SEQUENCE OF DCDCModuleEntry + MAX-ACCESS not-accessible + STATUS current + DESCRIPTION + "DCDC Module Information Table" + ::= { dcdcInfo 2 } + +dcdcModuleEntry OBJECT-TYPE + SYNTAX DCDCModuleEntry + MAX-ACCESS not-accessible + STATUS current + DESCRIPTION + "Queue of DCDC Module Table" + INDEX { dcdcModuleIndex } + ::= { dcdcTable 1 } + +DCDCModuleEntry ::= + SEQUENCE { + dcdcModuleIndex + Integer32, + dcdcModuleAddress + Integer32, + dcdcModuleComStatus + ComStatusValue, + dcdcModuleOk + AlarmValue, + dcdcModuleEnabled + SwitchValue, + dcdcInputVoltage + Integer32, + dcdcOutputVoltage + Integer32, + dcdcOutputCurrent + Integer32, + dcdcMeanCurrent + Integer32, + dcdcTemperature + Integer32, + dcdcModuleStatus + Integer32, + dcdcModuleFlag + Integer32, + dcdcModuleConfig + Integer32, + dcdcSoftVersion + DisplayString, + dcdcSerialNumber + Integer32 + } + +dcdcModuleIndex OBJECT-TYPE + SYNTAX Integer32 (0..100) + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "Entry number in the Module Table" + ::= { dcdcModuleEntry 1 } + +dcdcModuleAddress OBJECT-TYPE + SYNTAX Integer32 (0..255) + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "Address of current module viewed in the DCDC Module Table, (-1) means this value is invalid" + ::= { dcdcModuleEntry 2 } + +dcdcModuleComStatus OBJECT-TYPE + SYNTAX ComStatusValue + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "Module Communication Status, 0-OK, 1-Failed, (-1) means this value is invalid" + ::= { dcdcModuleEntry 3 } + +dcdcModuleOk OBJECT-TYPE + SYNTAX AlarmValue + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "DCDC Module Ok or Alarm, 0-OK, 1-Alarm, (-1) means this value is invalid" + ::= { dcdcModuleEntry 4 } + +dcdcModuleEnabled OBJECT-TYPE + SYNTAX SwitchValue + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "DCDC module is enabled or not, 1-Enabled, 0-Disabled, (-1) means this value is invalid" + ::= { dcdcModuleEntry 5 } + +dcdcInputVoltage OBJECT-TYPE + SYNTAX Integer32 (0..30000) + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "Module Input Voltage(V), (-1) means measurement not available" + ::= { dcdcModuleEntry 6 } + +dcdcOutputVoltage OBJECT-TYPE + SYNTAX Integer32 (0..30000) + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "Module Output Voltage(V*10), (-1) means measurement not available" + ::= { dcdcModuleEntry 7 } + +dcdcOutputCurrent OBJECT-TYPE + SYNTAX Integer32 (0..30000) + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "Module Current (A*10), (-1) means measurement not available" + ::= { dcdcModuleEntry 8 } + +dcdcMeanCurrent OBJECT-TYPE + SYNTAX Integer32 (0..30000) + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "Module MeanCurrent for current sharing (A*10), (-1) means measurement not available" + ::= { dcdcModuleEntry 9 } + +dcdcTemperature OBJECT-TYPE + SYNTAX Integer32 + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "Module internal temperature (C), (-1) means measurement not available" + ::= { dcdcModuleEntry 10 } + +dcdcModuleStatus OBJECT-TYPE + SYNTAX Integer32 (0..255) + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "Module status, (-1) means this value is invalid" + ::= { dcdcModuleEntry 11 } + +dcdcModuleFlag OBJECT-TYPE + SYNTAX Integer32 (0..255) + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "Module Flag, (-1) means this value is invalid" + ::= { dcdcModuleEntry 12 } + +dcdcModuleConfig OBJECT-TYPE + SYNTAX Integer32 (0..255) + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "Module Config, (-1) means this value is invalid" + ::= { dcdcModuleEntry 13 } + +dcdcSoftVersion OBJECT-TYPE + SYNTAX DisplayString + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "Software version of the module, (-1) means this value is invalid" + ::= { dcdcModuleEntry 14 } + +dcdcSerialNumber OBJECT-TYPE + SYNTAX Integer32 + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "Serial Number of the module, (-1) means this value is invalid" + ::= { dcdcModuleEntry 15 } + +-- ------------------------------------------------------------ +-- SLIInfo +-- ------------------------------------------------------------ + +numOfSLIUnits OBJECT-TYPE + SYNTAX Integer32 (0..255) + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "Number of SLI inverters installed in the system" + ::= { sliInfo 1 } + +sliTable OBJECT-TYPE + SYNTAX SEQUENCE OF SLIModuleEntry + MAX-ACCESS not-accessible + STATUS current + DESCRIPTION + "SLI Module internal information table" + ::= { sliInfo 2 } + +sliModuleEntry OBJECT-TYPE + SYNTAX SLIModuleEntry + MAX-ACCESS not-accessible + STATUS current + DESCRIPTION + "Queue of Module Table" + INDEX { sliModuleIndex } + ::= { sliTable 1 } + +SLIModuleEntry ::= + SEQUENCE { + sliModuleIndex + Integer32, + sliModuleAddress + Integer32, + sliModuleComStatus + ComStatusValue, + sliOutputVoltage + Integer32, + sliOutputCurrent + Integer32, + sliOutputPower + Integer32, + sliGridVoltage + Integer32, + sliGridCurrent + Integer32, + sliModuleGeneralFailure + AlarmValue, + sliModuleStatus1 + Integer32, + sliModuleStatus2 + Integer32, + sliModuleStatus3 + Integer32, + sliTSStatus + Integer32, + sliSerialNumber + Integer32 + } + +sliModuleIndex OBJECT-TYPE + SYNTAX Integer32 (0..100) + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "Seqential number which determines entry position of thr SLI inverter in the SLI Table" + ::= { sliModuleEntry 1 } + +sliModuleAddress OBJECT-TYPE + SYNTAX Integer32 (0..255) + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "Communication address of current SLI inverter viewed in the current SLI Table, (-1) means this value is not available" + ::= { sliModuleEntry 2 } + +sliModuleComStatus OBJECT-TYPE + SYNTAX ComStatusValue + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "Sli inverter communication status, 0-OK, 1-Failed, (-1) means this value is not available" + ::= { sliModuleEntry 3 } + +sliOutputVoltage OBJECT-TYPE + SYNTAX Integer32 + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "SLI inverter output voltage in tenth of Volts (V*10), (-1) means this value is not available" + ::= { sliModuleEntry 4 } + +sliOutputCurrent OBJECT-TYPE + SYNTAX Integer32 + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "SLI inverter output current in hundredths of A (A*100), (-1) means that this value is not available" + ::= { sliModuleEntry 5 } + +sliOutputPower OBJECT-TYPE + SYNTAX Integer32 + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "SLI inverter output power in tenths of Watts (W*10), (-1) means this value is not available" + ::= { sliModuleEntry 6 } + +sliGridVoltage OBJECT-TYPE + SYNTAX Integer32 + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "SLI inverter AC Grid Output Voltage in tenths of Volts (V*10), (-1) means this value is not available" + ::= { sliModuleEntry 7 } + +sliGridCurrent OBJECT-TYPE + SYNTAX Integer32 + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "SLI inverter AC Grid Output Current in hundredths of Amperes (A*100), (-1) means this value is not available" + ::= { sliModuleEntry 8 } + +sliModuleGeneralFailure OBJECT-TYPE + SYNTAX AlarmValue + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "SLI Failure flag which indicate general functionality of the unit, (-1) means this value is not available" + ::= { sliModuleEntry 9 } + +sliModuleStatus1 OBJECT-TYPE + SYNTAX Integer32 (0..255) + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "SLI Status 1 [uP Status], (-1) means this value is not available + Byte code description + 00 standby + 01 starting + 02 run + 03 bulk OverVoltage + 04 master indicator error + 05 input UnderVoltage + 06 input OverVoltage + 07 input Low + 08 input OverCurrent + 09 reserved + 10 reserved + 11 Ambient over temperature + 12 Ambient under temperature + 13 Reserved + 14 Reserved + 15 Reserved + 16 Internal over temperature + 17 Reserved + 18 Reserved + 19 Output OverCurrent + 20 output UV + 21 Reserved + 22 breaker off + 23 output OverVoltage + 24 transfer sync error + " + ::= { sliModuleEntry 10 } + +sliModuleStatus2 OBJECT-TYPE + SYNTAX Integer32 (0..255) + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "SLI Status 2 [DSP Status], (-1) means this value is not available + Byte code dDescription + 00 standby + 01 starting + 02 run + 03 bulk OverVoltage + 04 Out OverCurrent + 05 Out UnderVoltage + 06 Master Indicator ERROR + 07 Internal DSP Error + 08 Calibration not valid/received + 09 V Bulk Low + 10 bulk OverVoltage + " + ::= { sliModuleEntry 11 } + +sliModuleStatus3 OBJECT-TYPE + SYNTAX Integer32 (0..255) + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "SLI Status 3 [Fan Failure], (-1) means this value is not available + 0 Initialization / fan is OK + any value between 1-128 is fan error + " + ::= { sliModuleEntry 12 } + +sliTSStatus OBJECT-TYPE + SYNTAX Integer32 (0..255) + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "Transfer switch status, (-1) means this value is not available" + ::= { sliModuleEntry 13 } + +sliSerialNumber OBJECT-TYPE + SYNTAX Integer32 + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "Serial Number of the module, (-1) means value is not available" + ::= { sliModuleEntry 14 } + +-- ------------------------------------------------------------ +-- Alarm Table +-- ------------------------------------------------------------ + +alarmTTable OBJECT-TYPE + SYNTAX SEQUENCE OF AlarmTableEntry + MAX-ACCESS not-accessible + STATUS current + DESCRIPTION + "Alarm state and trap setting table" + ::= { alarmTable 1 } + +alarmTableEntry OBJECT-TYPE + SYNTAX AlarmTableEntry + MAX-ACCESS not-accessible + STATUS current + DESCRIPTION + "Queue of Alarm Table" + INDEX { alarmTableIndex } + ::= { alarmTTable 1 } + +AlarmTableEntry ::= + SEQUENCE { + alarmTableIndex + Integer32, + alarmDescription + DisplayString, + alarmStatus + Integer32, + alarmTrapDisable + Integer32 + } + +alarmTableIndex OBJECT-TYPE + SYNTAX Integer32 (0..100) + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "Seqential number of alarm" + ::= { alarmTableEntry 1 } + +alarmDescription OBJECT-TYPE + SYNTAX DisplayString + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "Alarm decription (Name)" + ::= { alarmTableEntry 2 } + +alarmStatus OBJECT-TYPE + SYNTAX Integer32 + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "Alarm Status, 0-Off (Alarm is not active), 1-Active" + ::= { alarmTableEntry 3 } + +alarmTrapDisable OBJECT-TYPE + SYNTAX Integer32 + MAX-ACCESS read-write + STATUS current + DESCRIPTION + "Flag if trap is disabled or enabled for this alarm" + ::= { alarmTableEntry 4 } + +-- ------------------------------------------------------------ +-- SNMPv3 USM +-- This section is not available if SNMPv1/2 is used in ACX +-- ------------------------------------------------------------ + +usmUserTable OBJECT-TYPE + SYNTAX SEQUENCE OF UsmUserEntry + MAX-ACCESS not-accessible + STATUS current + DESCRIPTION "This table is used to configure ACX USM. + To get the SNMPv3 access, user need to configure security + name,authentication,auth password,priv protocol and priv password. + Table returns zero strings if SNMPv1/2c is selected in controller" + ::= { snmpV3USM 1 } + +usmUserEntry OBJECT-TYPE + SYNTAX UsmUserEntry + MAX-ACCESS not-accessible + STATUS current + DESCRIPTION + "User security configurations for USM." + INDEX { usmIndex } + ::= { usmUserTable 1 } + +UsmUserEntry ::= SEQUENCE { + usmIndex Integer32, + usmSecurityName SnmpAdminString, + usmAuthProtocol UsmAuthProtocol, + usmAuthKey KeyChange, + usmPrivProtocol UsmPrivProtocol, + usmPrivKey KeyChange, + usmStorage StorageType, + usmStatus RowStatus + } + +usmIndex OBJECT-TYPE + SYNTAX Integer32 (0) + MAX-ACCESS read-only + STATUS current + DESCRIPTION "Usm configuration index. " + ::= { usmUserEntry 1 } + + +usmSecurityName OBJECT-TYPE + SYNTAX SnmpAdminString + MAX-ACCESS read-write + STATUS current + DESCRIPTION "A human readable string representing the user in + Security Model independent format." + ::= { usmUserEntry 2 } + +usmAuthProtocol OBJECT-TYPE + SYNTAX UsmAuthProtocol + MAX-ACCESS read-write + STATUS current + DESCRIPTION + "Authentication support to the SNMPv3. + If usmAuthProtocol == NoAuthProtocol, then SNMPv3 Stack does + not support/requires authentication. + If usmAuthProtocol == HMACMD5Auth , supports MD5 auth + If usmAuthProtocol == HMACSHAAuth, supports SHA Auth + If a set operation tries to set value as + NoAuthProtocol while the usmPrivProtocol value + for the same userName is not equal to NoPrivProtocol, + then an 'inconsistentValue' error must be returned. + This implies that SNMP command generator (SNMP Manager) + application must first ensure that the usmPrivProtocol is set + to NoPrivProtocol value before it can set + the usmAuthProtocol value to NoAuthProtocol." + ::= { usmUserEntry 3 } + +usmAuthKey OBJECT-TYPE + SYNTAX KeyChange -- typically (SIZE (0 | 32)) for HMACMD5 + -- typically (SIZE (0 | 40)) for HMACSHA + MAX-ACCESS read-write + STATUS current + DESCRIPTION + "This object in the MIB is associated to usmAuthProtocol. + A secret authentication key is required to establish a secure connection + between snmp agent and manager." + ::= { usmUserEntry 4 } + +usmPrivProtocol OBJECT-TYPE + SYNTAX UsmPrivProtocol + MAX-ACCESS read-write + STATUS current + DESCRIPTION + " A privacy protocol to provide encryption and decryption + of SNMPv3 pdu." + ::= { usmUserEntry 5 } + +usmPrivKey OBJECT-TYPE + SYNTAX KeyChange -- typically (SIZE (0 | 32)) for AES + MAX-ACCESS read-write + STATUS current + DESCRIPTION + "This object in the MIB is associated to usmPrivProtocol. + A secret privacy key is required to establish a secure connection + between snmp agent and manager." + ::= { usmUserEntry 6 } + +usmStorage OBJECT-TYPE + SYNTAX StorageType + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "This object indicates storage type for user data (always nonVolatile)." + ::= { usmUserEntry 7 } + +usmStatus OBJECT-TYPE + SYNTAX RowStatus + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "This object indicates user status (always active)." + ::= { usmUserEntry 8 } + +-- ------------------------------------------------------------ +-- Traps +-- As defined in RFC each TRAP V2 contains at least OBJECTS { snmpTrapOID } +-- which is set to 1 at cleared to 0 during corresponding events +-- ------------------------------------------------------------ + +lowVoltTrap NOTIFICATION-TYPE + OBJECTS { snmpTrapOID } + STATUS current + DESCRIPTION + "Low DC Voltage Alarm " + ::= { powecACXTrap 1 } + + +highVoltTrap NOTIFICATION-TYPE + OBJECTS { snmpTrapOID } + STATUS current + DESCRIPTION + "High DC Voltage Alarm" + ::= { powecACXTrap 2 } + +loadBattDisconTrap NOTIFICATION-TYPE + OBJECTS { snmpTrapOID } + STATUS current + DESCRIPTION + "Load/Battery Disconnected" + ::= { powecACXTrap 3 } + +mainsFailTrap NOTIFICATION-TYPE + OBJECTS { snmpTrapOID } + STATUS current + DESCRIPTION + "Mains Failure Alarm" + ::= { powecACXTrap 4 } + +distrFuseTrap NOTIFICATION-TYPE + OBJECTS { snmpTrapOID } + STATUS current + DESCRIPTION + "Distribution Fuse Failure" + ::= { powecACXTrap 5 } + +lowACTrap NOTIFICATION-TYPE + OBJECTS { snmpTrapOID } + STATUS current + DESCRIPTION + "Low AC input voltage" + ::= { powecACXTrap 6 } + +battFailTrap NOTIFICATION-TYPE + OBJECTS { snmpTrapOID } + STATUS current + DESCRIPTION + "Battery Test Failure" + ::= { powecACXTrap 7 } + +moduleFailTrap NOTIFICATION-TYPE + OBJECTS { snmpTrapOID } + STATUS current + DESCRIPTION + "Module Alarm" + ::= { powecACXTrap 8 } + +battTempTrap NOTIFICATION-TYPE + OBJECTS { snmpTrapOID } + STATUS current + DESCRIPTION + "High Battery Temperature Alarm" + ::= { powecACXTrap 9 } + +symmFailTrap NOTIFICATION-TYPE + OBJECTS { snmpTrapOID } + STATUS current + DESCRIPTION + "Battery Symmetry Alarm" + ::= { powecACXTrap 10 } + +battFuseTrap NOTIFICATION-TYPE + OBJECTS { snmpTrapOID } + STATUS current + DESCRIPTION + "Battery Fuse Failure" + ::= { powecACXTrap 11 } + +highLoadTrap NOTIFICATION-TYPE + OBJECTS { snmpTrapOID } + STATUS current + DESCRIPTION + "High Load" + ::= { powecACXTrap 12 } + +highACTrap NOTIFICATION-TYPE + OBJECTS { snmpTrapOID } + STATUS current + DESCRIPTION + "High AC input voltage" + ::= { powecACXTrap 13 } + +urgentModFailTrap NOTIFICATION-TYPE + OBJECTS { snmpTrapOID } + STATUS current + DESCRIPTION + "Urgent Module Alarm" + ::= { powecACXTrap 14 } + +comFailTrap NOTIFICATION-TYPE + OBJECTS { snmpTrapOID } + STATUS current + DESCRIPTION + "Communication Failure" + ::= { powecACXTrap 15 } + +partLoadDiscon1Trap NOTIFICATION-TYPE + OBJECTS { snmpTrapOID } + STATUS current + DESCRIPTION + "Partial Load Disconnect 1 Alarm" + ::= { powecACXTrap 16 } + +tempProbeTrap NOTIFICATION-TYPE + OBJECTS { snmpTrapOID } + STATUS current + DESCRIPTION + "Temperature probe fault" + ::= { powecACXTrap 17 } + +dischargingTrap NOTIFICATION-TYPE + OBJECTS { snmpTrapOID } + STATUS current + DESCRIPTION + "Battery on Discharge" + ::= { powecACXTrap 18 } + +ovShutdownTrap NOTIFICATION-TYPE + OBJECTS { snmpTrapOID } + STATUS current + DESCRIPTION + "Overvoltage Shutdown alarm" + ::= { powecACXTrap 19 } + +lowBattTempTrap NOTIFICATION-TYPE + OBJECTS { snmpTrapOID } + STATUS current + DESCRIPTION + "Low Battery Temperature" + ::= { powecACXTrap 20 } + +partLoadDiscon2Trap NOTIFICATION-TYPE + OBJECTS { snmpTrapOID } + STATUS current + DESCRIPTION + "Partial Load Disconnect 2 Alarm" + ::= { powecACXTrap 21 } + +partLoadDiscon3Trap NOTIFICATION-TYPE + OBJECTS { snmpTrapOID } + STATUS current + DESCRIPTION + "Partial Load Disconnect 3 Alarm" + ::= { powecACXTrap 22 } + +alarmsBlockedTrap NOTIFICATION-TYPE + OBJECTS { snmpTrapOID } + STATUS current + DESCRIPTION + "Alarms Blocked" + ::= { powecACXTrap 23 } + +extAlarm0Trap NOTIFICATION-TYPE + OBJECTS { snmpTrapOID } + STATUS current + DESCRIPTION + "Ext.alarm 0" + ::= { powecACXTrap 24 } + +extAlarm1Trap NOTIFICATION-TYPE + OBJECTS { snmpTrapOID } + STATUS current + DESCRIPTION + "Ext.alarm 1" + ::= { powecACXTrap 25 } + +extAlarm2Trap NOTIFICATION-TYPE + OBJECTS { snmpTrapOID } + STATUS current + DESCRIPTION + "Ext.alarm 2" + ::= { powecACXTrap 26 } + +extAlarm3Trap NOTIFICATION-TYPE + OBJECTS { snmpTrapOID } + STATUS current + DESCRIPTION + "Ext.alarm 3" + ::= { powecACXTrap 27 } + +extAlarm4Trap NOTIFICATION-TYPE + OBJECTS { snmpTrapOID } + STATUS current + DESCRIPTION + "Ext.alarm 4" + ::= { powecACXTrap 28 } + +extAlarm5Trap NOTIFICATION-TYPE + OBJECTS { snmpTrapOID } + STATUS current + DESCRIPTION + "Ext.alarm 5" + ::= { powecACXTrap 29 } + +extAlarm6Trap NOTIFICATION-TYPE + OBJECTS { snmpTrapOID } + STATUS current + DESCRIPTION + "Ext.alarm 6" + ::= { powecACXTrap 30 } + +extAlarm7Trap NOTIFICATION-TYPE + OBJECTS { snmpTrapOID } + STATUS current + DESCRIPTION + "Ext.alarm 7" + ::= { powecACXTrap 31 } + +extAlarm8Trap NOTIFICATION-TYPE + OBJECTS { snmpTrapOID } + STATUS current + DESCRIPTION + "Ext.alarm 8" + ::= { powecACXTrap 32 } + +extAlarm9Trap NOTIFICATION-TYPE + OBJECTS { snmpTrapOID } + STATUS current + DESCRIPTION + "Ext.alarm 9" + ::= { powecACXTrap 33 } + +extAlarm10Trap NOTIFICATION-TYPE + OBJECTS { snmpTrapOID } + STATUS current + DESCRIPTION + "Ext.alarm 10" + ::= { powecACXTrap 34 } + +extAlarm11Trap NOTIFICATION-TYPE + OBJECTS { snmpTrapOID } + STATUS current + DESCRIPTION + "Ext.alarm 11" + ::= { powecACXTrap 35 } + +extAlarm12Trap NOTIFICATION-TYPE + OBJECTS { snmpTrapOID } + STATUS current + DESCRIPTION + "Ext.alarm 12" + ::= { powecACXTrap 36 } + +extAlarm13Trap NOTIFICATION-TYPE + OBJECTS { snmpTrapOID } + STATUS current + DESCRIPTION + "Ext.alarm 13" + ::= { powecACXTrap 37 } + +extAlarm14Trap NOTIFICATION-TYPE + OBJECTS { snmpTrapOID } + STATUS current + DESCRIPTION + "Ext.alarm 14" + ::= { powecACXTrap 38 } + +extAlarm15Trap NOTIFICATION-TYPE + OBJECTS { snmpTrapOID } + STATUS current + DESCRIPTION + "Ext.alarm 15" + ::= { powecACXTrap 39 } + +u1NormalTrap NOTIFICATION-TYPE + OBJECTS { snmpTrapOID } + STATUS current + DESCRIPTION + "System output reference changed to Normal" + ::= { powecACXTrap 40 } + +u2BoostTrap NOTIFICATION-TYPE + OBJECTS { snmpTrapOID } + STATUS current + DESCRIPTION + "System output reference changed to Boost" + ::= { powecACXTrap 41 } + +u3TestTrap NOTIFICATION-TYPE + OBJECTS { snmpTrapOID } + STATUS current + DESCRIPTION + "System output reference changed to Test" + ::= { powecACXTrap 42 } + +u4SpareTrap NOTIFICATION-TYPE + OBJECTS { snmpTrapOID } + STATUS current + DESCRIPTION + "System output reference changed to Spare" + ::= { powecACXTrap 43 } + +snmpV3ReadyTrap NOTIFICATION-TYPE + OBJECTS { snmpTrapOID } + STATUS current + DESCRIPTION + "SNMPv3 Engine is ready" + ::= { powecACXTrap 44 } + +END diff --git a/infra/jobs/station/monitoring.levant.nomad b/infra/jobs/station/monitoring.levant.nomad index 0904e47a031fc3fa402ab901b5f641ad4f2c7000..90021c0a0ccd03f7c608d546fb06cea94cf5c5fb 100644 --- a/infra/jobs/station/monitoring.levant.nomad +++ b/infra/jobs/station/monitoring.levant.nomad @@ -290,6 +290,8 @@ postgres.service.consul:5432:grafana:postgres:password target_label: __param_module - source_labels: [__meta_consul_service_address] target_label: __param_target + - source_labels: [__meta_consul_service_metadata_auth] + target_label: __param_auth - target_label: __address__ replacement: "snmp-exporter.service.consul:9116" - source_labels: [__meta_consul_service] diff --git a/infra/jobs/station/snmp-exporter.levant.nomad b/infra/jobs/station/snmp-exporter.levant.nomad index 735754721d88794c2a133e9f1df5ffa7ae50405b..e3a58512719d936ac2ab1ded8b38a75cb1777124 100644 --- a/infra/jobs/station/snmp-exporter.levant.nomad +++ b/infra/jobs/station/snmp-exporter.levant.nomad @@ -28,6 +28,7 @@ job "snmp-exporter" { config { image = "[[.registry.astron.url]]/snmp-exporter:[[.image_tag]]" ports = ["http"] + args = ["--config.file=/etc/snmp_exporter/snmp.yml", "--snmp.module-concurrency=3", "--snmp.wrap-large-counters"] } resources { cpu = 100 diff --git a/infra/station/consul/consul.hcl.j2 b/infra/station/consul/consul.hcl.j2 index 6ca3bcf4ec24759f40dc718793352be9f21f9d6c..8b2ea274d1931381bcc04708cb4f7661a4d1df73 100644 --- a/infra/station/consul/consul.hcl.j2 +++ b/infra/station/consul/consul.hcl.j2 @@ -59,23 +59,25 @@ services { } services { - name = "pcon1-snmp" - id = "pcon1-snmp" + name = "pcon0-snmp" + id = "pcon0-snmp" address = "10.99.250.70" port = 161 tags = ["snmp-scrape"] meta = { - mibs = "eltek" + mibs = "powecMIB,powecMIB_rectifier3" + auth = "pcon_acx" } } services { - name = "pcon2-snmp" - id = "pcon2-snmp" + name = "pcon1-snmp" + id = "pcon1-snmp" address = "10.99.250.71" port = 161 tags = ["snmp-scrape"] meta = { - mibs = "eltek" + mibs = "powecMIB,powecMIB_rectifier3" + auth = "pcon_acx" } } diff --git a/tangostationcontrol/VERSION b/tangostationcontrol/VERSION index c9ec1d542634bc53254f867a47495faa27c3b324..90d7d2b462d7ddd7b29c887c866893205e8f30b9 100644 --- a/tangostationcontrol/VERSION +++ b/tangostationcontrol/VERSION @@ -1 +1 @@ -0.33.2 +0.33.3