SYNOLOGY-SYSTEM-MIB DEFINITIONS ::= BEGIN

IMPORTS
	enterprises
				FROM SNMPv2-SMI
    DisplayString
				FROM SNMPv2-TC
    OBJECT-TYPE, INTEGER
				FROM SNMPv2-SMI;

synology	 OBJECT IDENTIFIER 
	::= { enterprises 6574 }

synoSystem OBJECT IDENTIFIER ::= { synology 1 }

SystemStatus OBJECT-TYPE
    SYNTAX	  INTEGER {
					Normal(1),
					Failed(2)
			  }
    MAX-ACCESS  read-only
    STATUS	  current
    DESCRIPTION
    "Synology system status
	 Each meanings of status represented describe below.
	 Normal(1): System functionals normally.
	 Failed(2): Volume has crashed.
	"
    ::= { synoSystem 1 }

Temperature OBJECT-TYPE
    SYNTAX	  INTEGER
    MAX-ACCESS  read-only
    STATUS	  current
    DESCRIPTION
    "Synology system temperature
	 The temperature of Disk Station uses Celsius degree.
	"
    ::= { synoSystem 2 }

PowerStatus OBJECT-TYPE
    SYNTAX	  INTEGER {
					Normal(1),
					Failed(2)
			  }
    MAX-ACCESS  read-only
    STATUS	  current
    DESCRIPTION
    "Synology power status
	 Each meanings of status represented describe below.
	 Normal(1): All power supplies functional normally.
	 Failed(2): One of power supply has failed.
	"
    ::= { synoSystem 3 }

Fan OBJECT IDENTIFIER ::= { synoSystem 4 }

SystemFanStatus OBJECT-TYPE
    SYNTAX	  INTEGER {
					Normal(1),
					Failed(2)
			  }
    MAX-ACCESS  read-only
    STATUS	  current
    DESCRIPTION
    "Synology system fan status
	 Each meanings of status represented describe below.
	 Normal(1): All Internal fans functional normally.
	 Failed(2): One of internal fan stopped.
	"
    ::= { Fan 1 }


CPUFanStatus OBJECT-TYPE
    SYNTAX	  INTEGER {
					Normal(1),
					Failed(2)
			  }
    MAX-ACCESS  read-only
    STATUS	  current
    DESCRIPTION
    "Synology cpu fan status
	 Each meanings of status represented describe below.
	 Normal(1): All CPU fans functional normally.
	 Failed(2): One of CPU fan stopped.
	"
    ::= { Fan 2 }

DSMInfo OBJECT IDENTIFIER ::= { synoSystem 5 }

ModelName OBJECT-TYPE
    SYNTAX	  OCTET STRING
    MAX-ACCESS  read-only
    STATUS	  current
    DESCRIPTION
    "The Model name of this NAS"
    ::= { DSMInfo 1 }

SerialNumber OBJECT-TYPE
    SYNTAX	  OCTET STRING
    MAX-ACCESS  read-only
    STATUS	  current
    DESCRIPTION
    "The serial number of this NAS"
    ::= { DSMInfo 2 }

Version OBJECT-TYPE
    SYNTAX	  OCTET STRING
    MAX-ACCESS  read-only
    STATUS	  current
    DESCRIPTION
    "The version of this DSM"
    ::= { DSMInfo 3 }

UpgradeAvailable OBJECT-TYPE
    SYNTAX    INTEGER {
        Available(1),
        Unavailable(2),
		Checking(3),
		Disconnected(4),
        Others(5)
    }
    MAX-ACCESS  read-only
    STATUS	  current
    DESCRIPTION
    "This oid is for checking whether there is a latest DSM can be upgraded.
	 Available: There is version ready for download.
	 Unavailable: The DSM is latest version.
	 Connecting: Checking for the latest DSM.
	 Disconnected: Failed to connect to server.
	 Others: If DSM is upgrading or downloading, the status will show others."
    ::= { DSMInfo 4 }

END
