-- ***************************************************************** -- AMBEDDED-AGENT-MIB.txt: Ambedded Company Snmp Agent Mib -- -- Oct 2017, Cyril Chang -- -- Copyright (c) 2017-2020 by Ambedded, Inc. -- All rights reserved. -- -- ***************************************************************** -- AMBEDDED-AGENT-MIB DEFINITIONS ::= BEGIN IMPORTS MODULE-IDENTITY, OBJECT-TYPE, OBJECT-IDENTITY, enterprises, NOTIFICATION-TYPE, Integer32, Counter32 FROM SNMPv2-SMI MODULE-COMPLIANCE, OBJECT-GROUP FROM SNMPv2-CONF TEXTUAL-CONVENTION, DisplayString, TruthValue FROM SNMPv2-TC; ambedded MODULE-IDENTITY LAST-UPDATED "201710250000Z" ORGANIZATION "Ambedded Technology Co., LTD." CONTACT-INFO "Ambedded Technology Co., LTD. No.18,Syuan St.,Jungjeng Chiu, Taipei,10091,Taiwan,R.O.C Tel: +886 2-2365-0500 E-mail: cyril_chang@ambedded.com.tw" DESCRIPTION "Ambedded Technology. SNMP MIB" REVISION "201710250000Z" -- 25 Oct 2017 DESCRIPTION "Revision: 1.40A01 (2011/11/03) New release . " ::= { enterprises 50543} AmbeddedErrorFlag ::= TEXTUAL-CONVENTION STATUS current DESCRIPTION "Represents a possible error condition" SYNTAX INTEGER { noError(0), error(1) } AmbeddedifLinkStatus ::= TEXTUAL-CONVENTION STATUS current DESCRIPTION "Represents a Network Link Status condition 0 for down , 1 for up, -1 for no network device" SYNTAX INTEGER { na(-1), down(0), up(1) } AmbeddedCephHealth ::= TEXTUAL-CONVENTION STATUS current DESCRIPTION "Represents Health Status of Ceph Cluster Status 0 for health_ok , 1 for health_warn, -1 for health_error" SYNTAX INTEGER { HEALTHERR(-1), HEALTHOK(0), HEALTHWARN(1) } hardware OBJECT-IDENTITY STATUS current DESCRIPTION "Ambedded hardware OIDs Collection" ::= { ambedded 1 } software OBJECT-IDENTITY STATUS current DESCRIPTION "Ambedded software OIDs Collection" ::= { ambedded 2 } cpu OBJECT-IDENTITY STATUS current DESCRIPTION "CPU OIDs Collection" ::= { hardware 1 } cpuUsage OBJECT-TYPE SYNTAX Integer32 (0..100) MAX-ACCESS read-only STATUS current DESCRIPTION "CPU Usage of Node" ::= { cpu 1 } cpuTemperature OBJECT-TYPE SYNTAX Integer32 UNITS "degree C" MAX-ACCESS read-only STATUS current DESCRIPTION "CPU Temperature of Node" ::= { cpu 2 } memory OBJECT-IDENTITY STATUS current DESCRIPTION "Memory OIDs Collection" ::= { hardware 2 } --memIndex OBJECT-TYPE -- SYNTAX Integer32 -- MAX-ACCESS read-only -- STATUS current -- DESCRIPTION -- "Bogus Index. This should always return the integer 0." -- ::= { memory 1 } -- --memErrorName OBJECT-TYPE -- SYNTAX DisplayString -- MAX-ACCESS read-only -- STATUS current -- DESCRIPTION -- "Bogus Name. This should always return the string 'swap'." -- ::= { memory 2 } memTotalSwap OBJECT-TYPE SYNTAX Integer32 UNITS "kB" MAX-ACCESS read-only STATUS current DESCRIPTION "The total amount of swap space configured on this node." ::= { memory 1 } memAvailSwap OBJECT-TYPE SYNTAX Integer32 UNITS "kB" MAX-ACCESS read-only STATUS current DESCRIPTION "The amount of swap space currently unused or available." ::= { memory 2 } memTotalReal OBJECT-TYPE SYNTAX Integer32 UNITS "kB" MAX-ACCESS read-only STATUS current DESCRIPTION "The total amount of real/physical memory installed on this node." ::= { memory 3 } memAvailReal OBJECT-TYPE SYNTAX Integer32 UNITS "kB" MAX-ACCESS read-only STATUS current DESCRIPTION "The amount of real/physical memory currently unused or available." ::= { memory 4 } memTotalFree OBJECT-TYPE SYNTAX Integer32 UNITS "kB" MAX-ACCESS read-only STATUS current DESCRIPTION "The total amount of memory free or available for use on this node. This value typically covers both real memory and swap space or virtual memory." ::= { memory 5 } memMinimumSwap OBJECT-TYPE SYNTAX Integer32 UNITS "kB" MAX-ACCESS read-only STATUS current DESCRIPTION "The minimum amount of swap space expected to be kept free or available during normal operation of this node. If this value (as reported by 'memAvailSwap') falls below the specified level, then 'memSwapError' will be set to 1 and an error message made available via 'memSwapErrorMsg'." ::= { memory 6 } memShared OBJECT-TYPE SYNTAX Integer32 UNITS "kB" MAX-ACCESS read-only STATUS current DESCRIPTION "The total amount of real or virtual memory currently allocated for use as shared memory. This object will not be implemented on node where the underlying operating system does not explicitly identify memory as specifically reserved for this purpose." ::= { memory 7 } memBuffer OBJECT-TYPE SYNTAX Integer32 UNITS "kB" MAX-ACCESS read-only STATUS current DESCRIPTION "The total amount of real or virtual memory currently allocated for use as memory buffers." ::= { memory 8 } memCached OBJECT-TYPE SYNTAX Integer32 UNITS "kB" MAX-ACCESS read-only STATUS current DESCRIPTION "The total amount of real or virtual memory currently allocated for use as cached memory." ::= { memory 9 } memSwapError OBJECT-TYPE SYNTAX AmbeddedErrorFlag MAX-ACCESS read-only STATUS current DESCRIPTION "Indicates whether the amount of available swap space (as reported by 'memAvailSwap'), is less than the desired minimum (specified by 'memMinimumSwap')." ::= { memory 10 } memSwapErrorMsg OBJECT-TYPE SYNTAX DisplayString MAX-ACCESS read-only STATUS current DESCRIPTION "Describes whether the amount of available swap space (as reported by 'memAvailSwap'), is less than the desired minimum (specified by 'memMinimumSwap')." ::= { memory 11 } diskInfo OBJECT-IDENTITY STATUS current DESCRIPTION "Ambedded disk info OID Collection" ::= { hardware 3 } diskNumber OBJECT-TYPE SYNTAX Integer32 MAX-ACCESS read-only STATUS current DESCRIPTION "Show the Amount of Hard Disks (device name with /dev/sdX)" ::= { diskInfo 1 } sdaModelName OBJECT-TYPE SYNTAX DisplayString MAX-ACCESS read-only STATUS current DESCRIPTION "Show the Model Name of sda" ::= { diskInfo 2 } sdaSize OBJECT-TYPE SYNTAX Integer32 UNITS "GiB" MAX-ACCESS read-only STATUS current DESCRIPTION "Show the Total Size of sda." ::= { diskInfo 3 } sdaUsed OBJECT-TYPE SYNTAX Integer32 UNITS "MB" MAX-ACCESS read-only STATUS current DESCRIPTION "Show Used Size of FileSystem of sda." ::= { diskInfo 4 } sdbModelName OBJECT-TYPE SYNTAX DisplayString MAX-ACCESS read-only STATUS current DESCRIPTION "Show the Model Name of sdb." ::= { diskInfo 5 } sdbSize OBJECT-TYPE SYNTAX Integer32 UNITS "GiB" MAX-ACCESS read-only STATUS current DESCRIPTION "Show the Total Size of sdb." ::= { diskInfo 6 } sdbUsed OBJECT-TYPE SYNTAX Integer32 UNITS "MB" MAX-ACCESS read-only STATUS current DESCRIPTION "Show Used Size of FileSystem of sdb" ::= { diskInfo 7 } network OBJECT-IDENTITY STATUS current DESCRIPTION "Ambedded Network OID Collection" ::= { hardware 4 } ifNumber OBJECT-TYPE SYNTAX Integer32 MAX-ACCESS read-only STATUS current DESCRIPTION "Show the amount of Ethernet Adapters" ::= { network 1 } ifName1 OBJECT-TYPE SYNTAX DisplayString MAX-ACCESS read-only STATUS current DESCRIPTION "Show 1st Ethernet Adapter's Name , Null string for None Adapter" ::= { network 2 } ifName2 OBJECT-TYPE SYNTAX DisplayString MAX-ACCESS read-only STATUS current DESCRIPTION "Show 2nd Ethernet Adapter's Name , Null string for None Adapter" ::= { network 3 } ifName3 OBJECT-TYPE SYNTAX DisplayString MAX-ACCESS read-only STATUS current DESCRIPTION "Show 3rd Ethernet Adapter's Name , Null string for None Adapter" ::= { network 4 } ifName4 OBJECT-TYPE SYNTAX DisplayString MAX-ACCESS read-only STATUS current DESCRIPTION "Show 4th Ethernet Adapter's Name , Null string for None Adapter" ::= { network 5 } ifName5 OBJECT-TYPE SYNTAX DisplayString MAX-ACCESS read-only STATUS current DESCRIPTION "Show 5th Ethernet Adapter's Name , Null string for None Adapter" ::= { network 6 } ifLinkStatus1 OBJECT-TYPE SYNTAX AmbeddedifLinkStatus MAX-ACCESS read-only STATUS current DESCRIPTION "Link status of Network Adapter 1 , 0 for down , 1 for up , -1 for None Adapter" ::= { network 7 } ifLinkStatus2 OBJECT-TYPE SYNTAX AmbeddedifLinkStatus MAX-ACCESS read-only STATUS current DESCRIPTION "Link status of Network Adapter 2 , 0 for down , 1 for up , -1 for None Adapter" ::= { network 8 } ifLinkStatus3 OBJECT-TYPE SYNTAX AmbeddedifLinkStatus MAX-ACCESS read-only STATUS current DESCRIPTION "Link status of Network Adapter 3 , 0 for down , 1 for up , -1 for None Adapter" ::= { network 9} ifLinkStatus4 OBJECT-TYPE SYNTAX AmbeddedifLinkStatus MAX-ACCESS read-only STATUS current DESCRIPTION "Link status of Network Adapter 4 , 0 for down , 1 for up , -1 for None Adapter" ::= { network 10} ifLinkStatus5 OBJECT-TYPE SYNTAX AmbeddedifLinkStatus MAX-ACCESS read-only STATUS current DESCRIPTION "Link status of Network Adapter 5 , 0 for down , 1 for up , -1 for None Adapter" ::= { network 11 } healthy OBJECT-IDENTITY STATUS current DESCRIPTION "Ambedded Hardware Healthy OID Collection" ::= { hardware 5 } hddError OBJECT-IDENTITY STATUS current DESCRIPTION "Ambedded HDDHealthy OID Collection" ::= { healthy 1 } sdaError OBJECT-TYPE SYNTAX INTEGER32 UNITS "errCode" MAX-ACCESS read-only STATUS current DESCRIPTION "Show Hrad Disk sda Healthy (SMART Status) for MS nodes Return Smart Standard Error Code" ::= { hddError 1 } sdbError OBJECT-TYPE SYNTAX INTEGER32 UNITS "errCode" MAX-ACCESS read-only STATUS current DESCRIPTION "Show Hrad Disk sdb Healthy (SMART Status) for MS nodes Return Smart Standard Error Code" ::= { hddError 2 } fanError OBJECT-TYPE SYNTAX AmbeddedErrorFlag MAX-ACCESS read-only STATUS current DESCRIPTION "Show Fan Healthy Status form BMC, 0 for PASSED , 1 for FAILED" ::= { healthy 2 } switch1Error OBJECT-TYPE SYNTAX AmbeddedErrorFlag MAX-ACCESS read-only STATUS current DESCRIPTION "Show Switch1 Healthy Status form BMC, 0 for PASSED , 1 for FAILED" ::= { healthy 3 } switch2Error OBJECT-TYPE SYNTAX AmbeddedErrorFlag MAX-ACCESS read-only STATUS current DESCRIPTION "Show Switch2 Healthy Status form BMC, 0 for PASSED , 1 for FAILED" ::= { healthy 4 } powerEerror OBJECT-TYPE SYNTAX AmbeddedErrorFlag MAX-ACCESS read-only STATUS current DESCRIPTION "Show Power Healthy Status form BMC, 0 for PASSED , 1 for FAILED" ::= { healthy 5 } chasisTemp OBJECT-TYPE SYNTAX Integer32 MAX-ACCESS read-only STATUS current DESCRIPTION "Show Chasis Tempture Healthy Status form BMC, 0 for PASSED , 1 for FAILED" ::= { healthy 6 } --serviceList OBJECT-IDENTITY -- STATUS current -- DESCRIPTION "Ambedded MS OIDS" -- ::= { hardware 6 } -- --serviceListTable OBJECT-TYPE -- SYNTAX SEQUENCE OF ServiceListEntry -- MAX-ACCESS not-accessible -- STATUS current -- DESCRIPTION -- "The (conceptual) table of software running on the -- host." -- ::= { serviceList 1 } --serviceListEntry OBJECT-TYPE -- SYNTAX ServiceListEntry -- MAX-ACCESS not-accessible -- STATUS current -- DESCRIPTION -- "A (conceptual) entry for one piece of software -- running on the host Note that because the installed -- software table only contains information for software -- stored locally on this host, not every piece of -- running software will be found in the installed -- software table. This is true of software that was -- loaded and run from a non-local source, such as a -- network-mounted file system. -- -- As an example of how objects in this table are named, -- an instance of the hrSWRunName object might be named -- hrSWRunName.1287" -- INDEX { serviceListIndex } -- ::= { serviceListTable 1 } -- --ServiceListEntry ::= SEQUENCE { -- serviceListIndex Integer32, -- serviceListName DisplayString, -- serviceListPath DisplayString, -- serviceListParameter DisplayString, -- serviceListType INTEGER, -- serviceListStatus INTEGER -- } -- --serviceListIndex OBJECT-TYPE -- SYNTAX Integer32 -- MAX-ACCESS read-only -- STATUS current -- DESCRIPTION -- "A unique value for each piece of software running on -- the host. Wherever possible, this should be the -- system's native, unique identification number." -- ::= { serviceListEntry 1 } -- --serviceListName OBJECT-TYPE -- SYNTAX DisplayString -- MAX-ACCESS read-only -- STATUS current -- DESCRIPTION -- "A textual description of this running piece of -- software, including the manufacturer, revision, and -- the name by which it is commonly known. If this -- software was installed locally, this should be the -- same string as used in the corresponding -- hrSWInstalledName." -- ::= { serviceListEntry 2 } -- -- --serviceListPath OBJECT-TYPE -- SYNTAX DisplayString -- MAX-ACCESS read-only -- STATUS current -- DESCRIPTION -- "A description of the location on long-term storage -- (e.g. a disk drive) from which this software was -- loaded." -- ::= { serviceListEntry 3 } -- --serviceListParameter OBJECT-TYPE -- SYNTAX DisplayString -- MAX-ACCESS read-only -- STATUS current -- DESCRIPTION -- "A description of the parameters supplied to this -- software when it was initially loaded." -- ::= { serviceListEntry 4 } -- --serviceListType OBJECT-TYPE -- SYNTAX INTEGER { -- unknown(1), -- operatingSystem(2), -- deviceDriver(3), -- application(4) -- } -- MAX-ACCESS read-only -- STATUS current -- DESCRIPTION -- "The type of this software." -- ::= { serviceListEntry 5 } -- --serviceListStatus OBJECT-TYPE -- SYNTAX INTEGER { -- uninterruptibleSleep(1), -- running(2), -- interruptibleSleep(3), -- stoppedByJobControlSignal(4), -- stoppedByDebuggerDuringTheTracing(5), -- paging(6), -- dead(7), -- defunct(8), -- UnknownStat(9) -- } -- MAX-ACCESS read-only -- STATUS current -- DESCRIPTION -- "The status of this running piece of software. -- Setting this value to invalid(4) shall cause this -- software to stop running and to be unloaded. Sets to -- other values are not valid." -- ::= { serviceListEntry 6 } system OBJECT-IDENTITY STATUS current DESCRIPTION "Ambedded System OIDs Collection" ::= { software 1 } ceph OBJECT-IDENTITY STATUS current DESCRIPTION "Ambedded Ceph OIDs Collection" ::= { software 2 } cephStatus OBJECT-IDENTITY STATUS current DESCRIPTION "Ambedded Ceph OIDs Collection" ::= { ceph 1 } cephHealthy OBJECT-TYPE SYNTAX DisplayString MAX-ACCESS read-only STATUS current DESCRIPTION "Ceph Cluster Healthy Status, health_ok/health_warn/health_err" ::= { cephStatus 1 } cephOsdStatus OBJECT-TYPE SYNTAX DisplayString MAX-ACCESS read-only STATUS current DESCRIPTION "OSD Status" ::= { cephStatus 2 } cephReadIOPS OBJECT-TYPE SYNTAX Integer32 UNITS "IOPS" MAX-ACCESS read-only STATUS current DESCRIPTION "Real Time Read IOPS of cluster." ::= { cephStatus 3 } cephReadBandwidth OBJECT-TYPE SYNTAX Integer32 UNITS "kB" MAX-ACCESS read-only STATUS current DESCRIPTION "Real Time Read Bandwidth of cluster. (in kB)" ::= { cephStatus 4 } cephWriteIOPS OBJECT-TYPE SYNTAX Integer32 UNITS "IOPS" MAX-ACCESS read-only STATUS current DESCRIPTION "Real Time Write IOPS of cluster." ::= { cephStatus 5 } cephWriteBandwidth OBJECT-TYPE SYNTAX Integer32 UNITS "kB" MAX-ACCESS read-only STATUS current DESCRIPTION "Real Time Write Bandwidth of cluster. (in kB)" ::= { cephStatus 6 } END