summaryrefslogtreecommitdiffabout
path: root/src/MYSQL-STAT-MIB.txt
Side-by-side diff
Diffstat (limited to 'src/MYSQL-STAT-MIB.txt') (more/less context) (ignore whitespace changes)
-rw-r--r--src/MYSQL-STAT-MIB.txt79
1 files changed, 75 insertions, 4 deletions
diff --git a/src/MYSQL-STAT-MIB.txt b/src/MYSQL-STAT-MIB.txt
index 33bae3b..9efc19d 100644
--- a/src/MYSQL-STAT-MIB.txt
+++ b/src/MYSQL-STAT-MIB.txt
@@ -18,12 +18,12 @@ IMPORTS
FROM INET-ADDRESS-MIB;
mysql MODULE-IDENTITY
- LAST-UPDATED "201606071145Z"
+ LAST-UPDATED "201606090926Z"
ORGANIZATION "Gray Software"
CONTACT-INFO "Sergey Poznyakoff <gray@gnu.org>"
DESCRIPTION
"This MIB module defines objects for MySQL statistics."
- REVISION "201606071145Z"
+ REVISION "201606090926Z"
DESCRIPTION
"First revision."
::= { enterprises 9163 102 }
@@ -69,7 +69,7 @@ ReplSlaveStatusEntry ::= SEQUENCE {
replLastIOErrno Integer32,
replLastIOError SQLErrorString,
replExecMasterLogPos Counter32,
- replRelayLogSpace Counter64,
+ replRelayLogSpace Gauge32,
replSecondsBehindMaster TimeStamp,
replMasterHost DisplayString,
replMasterUser DisplayString,
@@ -81,7 +81,7 @@ ReplSlaveStatusEntry ::= SEQUENCE {
replReplicateIgnoreTable DisplayString,
replReplicateWildDoTable DisplayString,
replReplicateWildIgnoreTable DisplayString,
- replSkipCounter Counter32,
+ replSkipCounter Gauge32,
replUntilCondition DisplayString,
replUntilLogFile DisplayString,
replUntilLogPos DisplayString,
@@ -461,6 +461,77 @@ replMasterSSLVerifyServerCert OBJECT-TYPE
::= { replSlaveStatusEntry 38 }
--
+-- Replication master status
+--
+
+replMasterStatusTable OBJECT-TYPE
+ SYNTAX SEQUENCE OF ReplMasterStatusEntry
+ MAX-ACCESS not-accessible
+ STATUS current
+ DESCRIPTION
+ "A table of replication master status. On replication master,
+ it contains a single row, describing the current
+ status."
+ ::= { replication 2 }
+
+replMasterStatusEntry OBJECT-TYPE
+ SYNTAX ReplMasterStatusEntry
+ MAX-ACCESS not-accessible
+ STATUS current
+ DESCRIPTION
+ "An entry describing master status."
+ INDEX { replMasterIndex }
+ ::= { replMasterStatusTable 1 }
+
+ReplMasterStatusEntry ::= SEQUENCE {
+ replMasterIndex Integer32,
+ replMasterCurrentLogFile DisplayString,
+ replMasterCurrentLogPos Counter32,
+ replMasterBinlogDoDB DisplayString,
+ replMasterBinlogIgnoreDB DisplayString
+}
+
+replMasterIndex OBJECT-TYPE
+ SYNTAX Integer32 (0..65535)
+ MAX-ACCESS not-accessible
+ STATUS current
+ DESCRIPTION
+ "A number uniquely identifying master status row."
+ ::= { replMasterStatusEntry 1 }
+
+replMasterCurrentLogFile OBJECT-TYPE
+ SYNTAX DisplayString
+ MAX-ACCESS read-only
+ STATUS current
+ DESCRIPTION
+ "The name of the master binary log file."
+ ::= { replMasterStatusEntry 2 }
+
+replMasterCurrentLogPos OBJECT-TYPE
+ SYNTAX Counter32
+ MAX-ACCESS read-only
+ STATUS current
+ DESCRIPTION
+ "The position in the current master binary log file."
+ ::= { replMasterStatusEntry 3 }
+
+replMasterBinlogDoDB OBJECT-TYPE
+ SYNTAX DisplayString
+ MAX-ACCESS read-only
+ STATUS current
+ DESCRIPTION
+ "The list of database names to include in the binlog."
+ ::= { replMasterStatusEntry 4 }
+
+replMasterBinlogIgnoreDB OBJECT-TYPE
+ SYNTAX DisplayString
+ MAX-ACCESS read-only
+ STATUS current
+ DESCRIPTION
+ "The list of database names to exclude from the binlog."
+ ::= { replMasterStatusEntry 5 }
+
+--
-- Process List
--

Return to:

Send suggestions and report system problems to the System administrator.