-- ***************************************************************** -- GARRETTCOM-SMI: GarrettCom Enterprise Structure of Management Information -- -- Copyright (c) 2018 by GarrettCom, Inc. -- All rights reserved. -- -- ***************************************************************** -- MIB for 'GC System containing SW Management, Config Management, -- Reset/Diagnostic Triggers, Chassis Name, Serial Number info' -- The MIB definition is as follows: GARRETTCOM-SYSTEM-MIB DEFINITIONS ::= BEGIN IMPORTS MODULE-IDENTITY, OBJECT-TYPE, Counter32,enterprises, IpAddress, Integer32, Unsigned32, NOTIFICATION-TYPE FROM SNMPv2-SMI InterfaceIndex FROM IF-MIB RowStatus, TruthValue, DisplayString, TEXTUAL-CONVENTION, MacAddress, StorageType FROM SNMPv2-TC gcAtlantisBaseSystemMib FROM GARRETTCOM-SMI; gcSystem MODULE-IDENTITY LAST-UPDATED "201806110000Z" ORGANIZATION "GarrettCom, Inc." CONTACT-INFO "Postal: GarrettCom Incorporated 255 Fourier Avenue, Fremont, CA-94539 USA Phone: +1 510 438 9071 E-mail: support@garrettcom.com WWW: http://www.garrettcom.com" DESCRIPTION "The MIB module implements the Atlantis System configuration MIB." REVISION "201806110000Z" DESCRIPTION "SMI for GarrettCom System Management Info " ::= { gcAtlantisBaseSystemMib 1 } GcSwMgmtImageStateTc ::= TEXTUAL-CONVENTION STATUS current DESCRIPTION "This textual convention enumerates the possible upgrade states of the executable software images residing in non-volitile memory. initial(0) There is a single image present. readyToUpgrade(1) A new image has been successfully uploaded to the device. upgrading(2) A new image is being processed for upgrading the device. fallback(3) A previous image has been used to start the device. upgraded(4) A new image has successfully loaded and is running." SYNTAX INTEGER { initial(0), readyToUpgrade(1), upgrading(2), fallback(3), upgraded(4) } gcSystemInfo OBJECT IDENTIFIER ::= { gcSystem 1 } gcSystemAdmin OBJECT IDENTIFIER ::= { gcSystem 2 } gcSystemAdminRestart OBJECT-TYPE SYNTAX TruthValue MAX-ACCESS read-write STATUS current DESCRIPTION "This object allows the user to restart the Switch (i.e)the entire switch will operationally go down and start again. Setting a value of 'true' causes the switch to be restarted. When the switch operationally goes down, configuration save operation is initiated based on the configuration save option chosen. When the switch operationally come up, the saved configurations are restored based on the restore option chosen. Once the switch is restarted, the value of this object reverts to 'false'." DEFVAL { false } ::= { gcSystemAdmin 1 } gcSystemDiagnosticsTrigger OBJECT-TYPE SYNTAX TruthValue MAX-ACCESS read-write STATUS current DESCRIPTION " Trigger the device diagnostics" ::={ gcSystemAdmin 2 } gcSystemAdminStatsResetTrigger OBJECT-TYPE SYNTAX TruthValue MAX-ACCESS read-write STATUS current DESCRIPTION " Trigger the device statistics Reset" ::= { gcSystemAdmin 3 } gcSystemSwMgmt OBJECT IDENTIFIER ::= { gcSystemAdmin 4 } gcSystemAdminConfigLoadSave OBJECT-TYPE SYNTAX INTEGER { idle (0), save (1), load (2) } MAX-ACCESS read-write STATUS current DESCRIPTION " Trigger save/load config file. this value must be set only after ALL the required params (such as host/local mib variables) are set related to gcSystemMgmtUrlParams Load: copy spcified file (location set in gcSystemMgmtUrlParams ) to ./root/iss/iss.conf on device Save copy running-configuration to file (location set in gcSystemMgmtUrlParams ) " ::= { gcSystemAdmin 5 } gcSystemHdpAdminStatus OBJECT-TYPE SYNTAX INTEGER { disable (0), enable-readOnly (1), enable-readWrite (2) } MAX-ACCESS read-write STATUS current DESCRIPTION " Control the HDP behavior 0) Disable -- Discard HDP packets 1) enable read-only -- HDP is turned on, but no SET Order is allowed 2) enable read-write -- HDP is allowed for all orders" ::= { gcSystemAdmin 6 } gcSystemMgmtUrlParams OBJECT IDENTIFIER ::= {gcSystemAdmin 7 } gcSystemSnapshotMgmt OBJECT IDENTIFIER ::= { gcSystemAdmin 8 } gcSystemSarStatus OBJECT-TYPE SYNTAX INTEGER { disable (0), enable (1) } MAX-ACCESS read-write STATUS current DESCRIPTION " stores SAR Configuration 0) Disable -- Disable SAR collection 1) enable -- Enable SAR collection" ::= { gcSystemAdmin 9 } gcSystemClientSessionMgmt OBJECT IDENTIFIER ::= { gcSystemAdmin 10 } gcSystemAdminConfigSaveOption OBJECT-TYPE SYNTAX INTEGER { text (0), encrypted (1) } MAX-ACCESS read-write STATUS current DESCRIPTION "Set format option for download config file" ::= { gcSystemAdmin 11 } -- -- The following OIDs are logically grouped under 'gcSystemMgmtUrlParams` -- These are used for File transfer operations To/From Device to a remote -- Host/File Server. -- The transfer mode is determined by gcSystemMgmtUrlType -- Depending on gcSystemMgmtUrlType, the rest of the URL parameters are -- applicable. -- Mode RequiredParams -- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -- flash(1) gcSystemMgmtUrlFileName -- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -- tftp(2) gcSystemMgmtUrlFileName, gcSystemMgmtUrlIpAddr -- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -- sftp(3) gcSystemMgmtUrlFileName, gcSystemMgmtUrlIpAddr, -- gcSystemMgmtUrlUsername & gcSystemMgmtUrlUserPassword -- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ gcSystemMgmtUrlType OBJECT-TYPE SYNTAX INTEGER { flash (1), tftp (2), sftp (3) } MAX-ACCESS read-write STATUS current DESCRIPTION "Transfer mode to be used to transfer the file from remote system. This will be used for a) transferring Configuration file to/from the host/server b) Upgrading image from a file host/server OR from flash" ::= { gcSystemMgmtUrlParams 1 } gcSystemMgmtUrlUsername OBJECT-TYPE SYNTAX DisplayString (SIZE(1..20)) MAX-ACCESS read-write STATUS current DESCRIPTION "User name for URL parameters, for credentials" ::= { gcSystemMgmtUrlParams 2 } gcSystemMgmtUrlUserPassword OBJECT-TYPE SYNTAX DisplayString (SIZE(1..20)) MAX-ACCESS read-write STATUS current DESCRIPTION "Password of the host system to with which the switch will interact." ::= { gcSystemMgmtUrlParams 3 } gcSystemMgmtUrlIpAddr OBJECT-TYPE SYNTAX IpAddress MAX-ACCESS read-write STATUS current DESCRIPTION "IP Address of the host system to with which the switch will interact." ::= { gcSystemMgmtUrlParams 4 } gcSystemMgmtUrlFileName OBJECT-TYPE SYNTAX DisplayString (SIZE(1..20)) MAX-ACCESS read-write STATUS current DESCRIPTION "File name of the host system to with which the switch will interact." ::= { gcSystemMgmtUrlParams 5 } gcSwMgmtTrigger OBJECT-TYPE SYNTAX INTEGER { idle (0), finalize (1), retry (2), fallback (3), upgrade (4) } MAX-ACCESS read-write STATUS current DESCRIPTION "Finalize(1) Finalize the ready-Image. Retry(2) Retry Software Upgrade. Fallback(3) Use the previous image to start the device. Upgrade(4) Upgrade the system with new image at specified URL as set in gcSystemMgmtUrlParams " ::= { gcSystemSwMgmt 1 } -- Table containing Image Id, Name, Version, State of the images in slot0, slot1 gcSwMgmtImageTable OBJECT-TYPE SYNTAX SEQUENCE OF GcSwMgmtImageEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "A table containing all the executable images present in non- volitile memory on the managed entity." ::= { gcSystemSwMgmt 2 } gcSwMgmtImageEntry OBJECT-TYPE SYNTAX GcSwMgmtImageEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "Conceptually defines a particular entry within the gcSwMgmtImageTable." INDEX { gcSwMgmtImageEntryIndex } ::= { gcSwMgmtImageTable 1 } GcSwMgmtImageEntry ::= SEQUENCE { gcSwMgmtImageEntryIndex Unsigned32, gcSwMgmtImageEntryVersion DisplayString, gcSwMgmtImageEntryName DisplayString, gcSwMgmtImageEntryState DisplayString } gcSwMgmtImageEntryIndex OBJECT-TYPE SYNTAX Unsigned32 MAX-ACCESS not-accessible STATUS current DESCRIPTION "An arbitrary unique number that identifies the index of the binary software image for this managed entity." ::= { gcSwMgmtImageEntry 1 } gcSwMgmtImageEntryVersion OBJECT-TYPE SYNTAX DisplayString MAX-ACCESS read-only STATUS current DESCRIPTION "The textual description of the image version." ::= { gcSwMgmtImageEntry 2 } gcSwMgmtImageEntryName OBJECT-TYPE SYNTAX DisplayString MAX-ACCESS read-only STATUS current DESCRIPTION "The file name used for the image loaded on the managed entity." ::= { gcSwMgmtImageEntry 3 } gcSwMgmtImageEntryState OBJECT-TYPE SYNTAX DisplayString MAX-ACCESS read-only STATUS current DESCRIPTION "The current state of the software image entry for the given slot" ::= { gcSwMgmtImageEntry 4 } gcSwMgmtSwState OBJECT-TYPE SYNTAX GcSwMgmtImageStateTc MAX-ACCESS read-only STATUS current DESCRIPTION "The current state of the software loaded on the system" ::= { gcSystemSwMgmt 3 } gcSsMgmtMaxSnapshot OBJECT-TYPE SYNTAX INTEGER MAX-ACCESS read-only STATUS current DESCRIPTION "The maximum number of snapshots that can be created " DEFVAL { 5 } ::= { gcSystemSnapshotMgmt 1 } gcSsMgmtSnapshotUpload OBJECT-TYPE SYNTAX Unsigned32 (1..5) MAX-ACCESS read-write STATUS current DESCRIPTION "Trigger the upload of a snapshot. The value of this field indicates the index of the gcSsMgmtSnapshotTable which will be populated with details of the snapshot. The specified snapshot(location set in gcSystemMgmtUrlParams ) will be uploaded to /home/udir on device. This value must be set only after ALL the required params (such as host/local mib variables) are set related to gcSystemMgmtUrlParams" ::= { gcSystemSnapshotMgmt 2 } gcSsMgmtSnapshotDownload OBJECT-TYPE SYNTAX Unsigned32 (1..5) MAX-ACCESS read-write STATUS current DESCRIPTION "Trigger the download of a snapshot. The value of this field indicates the index of the gcSsMgmtSnapshotTable specifying the snapshot to be downloaded. It will copy snapshot from /home/udir to remote server (location set in gcSystemMgmtUrlParams ). This value must be set only after ALL the required params (such as host/local mib variables) are set related to gcSystemMgmtUrlParams" ::= { gcSystemSnapshotMgmt 3 } -- Table containing Name, User, Timestamp of the Snapshots gcSsMgmtSnapshotTable OBJECT-TYPE SYNTAX SEQUENCE OF GcSsMgmtSnapshotEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "A table containing all the snapshots present in non- volatile memory on the managed entity." ::= { gcSystemSnapshotMgmt 4 } gcSsMgmtSnapshotEntry OBJECT-TYPE SYNTAX GcSsMgmtSnapshotEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "Conceptually defines a particular entry within the gcSsMgmtSnapshotTable." INDEX { gcSsMgmtSnapshotEntryIndex } ::= { gcSsMgmtSnapshotTable 1 } GcSsMgmtSnapshotEntry ::= SEQUENCE { gcSsMgmtSnapshotEntryIndex Unsigned32, gcSsMgmtSnapshotEntryName DisplayString, gcSsMgmtSnapshotEntryUser DisplayString, gcSsMgmtSnapshotEntryTime DisplayString, gcSsMgmtSnapshotRestore TruthValue, gcSsMgmtSnapshotEntryState INTEGER, gcSsMgmtSnapshotEntryErrorReason INTEGER, gcSsMgmtSnapshotRowStatus RowStatus } gcSsMgmtSnapshotEntryIndex OBJECT-TYPE SYNTAX Unsigned32 (1..5) MAX-ACCESS not-accessible STATUS current DESCRIPTION "An arbitrary unique number that identifies the index of the snapshot" ::= { gcSsMgmtSnapshotEntry 1 } gcSsMgmtSnapshotEntryName OBJECT-TYPE SYNTAX DisplayString (SIZE(1..32)) MAX-ACCESS read-create STATUS current DESCRIPTION "The name of the snapshot." ::= { gcSsMgmtSnapshotEntry 2 } gcSsMgmtSnapshotEntryUser OBJECT-TYPE SYNTAX DisplayString MAX-ACCESS read-only STATUS current DESCRIPTION "The user who created the snapshot." ::= { gcSsMgmtSnapshotEntry 3 } gcSsMgmtSnapshotEntryTime OBJECT-TYPE SYNTAX DisplayString MAX-ACCESS read-only STATUS current DESCRIPTION "The timestamp when snapshot was created." ::= { gcSsMgmtSnapshotEntry 4 } gcSsMgmtSnapshotRestore OBJECT-TYPE SYNTAX TruthValue MAX-ACCESS read-write STATUS current DESCRIPTION " Trigger the restore of device using the snapshot" ::={ gcSsMgmtSnapshotEntry 5 } gcSsMgmtSnapshotEntryState OBJECT-TYPE SYNTAX INTEGER { initial(0), creationInProgress(1), creationSuccess(2), creationFailed(3), restoreInProgress(4), restoreSuccess(5), restoreFailed(6) } MAX-ACCESS read-only STATUS current DESCRIPTION "This enumerates the possible states while snapshot creation. initial(0) The snapshot creation has not been triggered creationInProgress(1) The snapshot creation is in progress creationSuccess(2) The snapshot creation is successful creationFailed(3) The snapshot creation has failed restoreInProgress(4) The snapshot restoration is in progress restoreSuccess(5) The snapshot restoration is successful restoreFailed(6) The snapshot restoration has failed" ::= { gcSsMgmtSnapshotEntry 6 } gcSsMgmtSnapshotEntryErrorReason OBJECT-TYPE SYNTAX INTEGER { noError(0), infocollectFailure(1), imageEncryptionFailure(2), md5HashFailure(3), imageDecryptionFailure(4), snapshotIntegrityFailure(5), imageUpgradeFailure(6), confRestoreFailure(7), otherFailure(8) } MAX-ACCESS read-only STATUS current DESCRIPTION "This enumerates the possible error codes while snapshot creation. noError(0) No error while snapshot creation/restoration. infocollectFailure(1) InfoCollect generation while snapshot creation failed. imageEncryptionFailure(2) Image Encryption while snapshot creation failed. md5HashFailure(3) MD5 Hash Calculation while snapshot creation failed imageDecryptionFailure(4) Image Decryption while snapshot restoration failed snapshotIntegrityFailure(5) Snapshot did not pass the integrity checks while restoration imageUpgradeFailure(6) Image upgradation while snapshot restoration failed confRestoreFailure(7) Configuration restore failed while snapshot restoration otherFailure(8) Other Failure" ::= { gcSsMgmtSnapshotEntry 7 } gcSsMgmtSnapshotRowStatus OBJECT-TYPE SYNTAX RowStatus MAX-ACCESS read-create STATUS current DESCRIPTION "This object is used for adding/deleting entries in this table. This object can be set to 'active' only if gcSsMgmtSnapshotEntryName is configured for the row." ::= { gcSsMgmtSnapshotEntry 8 } gcTelnetClientStatus OBJECT-TYPE SYNTAX INTEGER { disabled(0), enabled(1) } MAX-ACCESS read-write STATUS current DESCRIPTION "This object is for enabling or disabling the TELNET client functionality in the system. Set operation of enable will allow to establish new Telnet client sessions. Set operation of disable will not allow a new Telnet client session, also terminates the active client sessions which are already running. By default it will be enabled" DEFVAL { enabled } ::= { gcSystemClientSessionMgmt 1 } gcSshClientStatus OBJECT-TYPE SYNTAX INTEGER { disabled(0), enabled(1) } MAX-ACCESS read-write STATUS current DESCRIPTION "This object is for enabling or disabling the SSH client functionality in the system. Set operation of enable will allow to establish new SSH client sessions. Set operation of disable will not allow a new SSH client sessions, also terminates the active client sessions which are already running. By default it will be enabled" DEFVAL { enabled } ::= { gcSystemClientSessionMgmt 2 } gcActiveTelnetClientSessions OBJECT-TYPE SYNTAX Integer32 MAX-ACCESS read-only STATUS current DESCRIPTION "Specifies the number of active Telnet client sessions running" ::= { gcSystemClientSessionMgmt 3 } gcActiveSshClientSessions OBJECT-TYPE SYNTAX Integer32 MAX-ACCESS read-only STATUS current DESCRIPTION "Specifies the number of active SSH client sessions running" ::= { gcSystemClientSessionMgmt 4 } gcSystemAdminChassisName OBJECT-TYPE SYNTAX DisplayString (SIZE(1..15)) MAX-ACCESS read-write STATUS current DESCRIPTION "Manage the Chassis/Switch name" ::= { gcSystemInfo 1 } gcSystemChassisSerialNum OBJECT-TYPE SYNTAX DisplayString (SIZE(1..32)) MAX-ACCESS read-only STATUS current DESCRIPTION "Returns the Manufacurer's serial number of the switch." ::= { gcSystemInfo 2 } gcSystemHostName OBJECT-TYPE SYNTAX DisplayString (SIZE(1..32)) MAX-ACCESS read-write STATUS current DESCRIPTION "Manage the HostName/CLI prompt of a RX." ::= { gcSystemInfo 3 } gcCurrentTemperatureCelsius OBJECT-TYPE SYNTAX Integer32 MAX-ACCESS read-only STATUS current DESCRIPTION "Returns the temperature of a device in degree Celsius." ::= { gcSystemInfo 4 } gcCurrentTemperatureFahrenheit OBJECT-TYPE SYNTAX Integer32 MAX-ACCESS read-only STATUS current DESCRIPTION "Returns the temperature of a device in degree Fahrenheit." ::= { gcSystemInfo 5 } gcSystemUpTime OBJECT-TYPE SYNTAX DisplayString MAX-ACCESS read-only STATUS current DESCRIPTION "Returns the system up time. eg:365 days, 23 hours, 59 minutes, 59 seconds" ::= { gcSystemInfo 6} gcSystemPowerSupply1 OBJECT-TYPE SYNTAX DisplayString (SIZE(1..15)) MAX-ACCESS read-only STATUS current DESCRIPTION "Returns the Status of Power Supply 1 Good, Bad, Not Installed" ::= { gcSystemInfo 7} gcSystemPowerSupply2 OBJECT-TYPE SYNTAX DisplayString (SIZE(1..15)) MAX-ACCESS read-only STATUS current DESCRIPTION "Returns the Status of Power Supply 2 Good, Bad, Not Installed" ::= { gcSystemInfo 8} gcSystemCPUtilization OBJECT-TYPE SYNTAX Unsigned32 (0..100) MAX-ACCESS read-only STATUS current DESCRIPTION "Returns the CPU Utilization of a device in percentage" ::= { gcSystemInfo 9} gcSystemMemoryUtilization OBJECT-TYPE SYNTAX Unsigned32 (0..100) MAX-ACCESS read-only STATUS current DESCRIPTION "Returns the Memory Utilization of a device in percentage" ::= { gcSystemInfo 10} END