mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Detection, sensors and zpool/dataset usage for FreeNAS, TrueNAS (#11474)
It's also possible to do zpool IO from the MIB, but diskIO on LibreNMS makes a lot of assumptions about it coming from the UCD MIB. This changeset adds detection for FreeNAS and TrueNAS - despite having their own enterprise number, the snmpd uses the FreeBSD one. The naming is a bit all over the place, because this reflects reality - IXSystems produce FreeNAS and TrueNAS, the product lines have merged to eliminate FreeNAS, but TrueNAS still calls itself FreeNAS everywhere except the GUI.
This commit is contained in:
Binary file not shown.
|
After Width: | Height: | Size: 5.2 KiB |
@@ -0,0 +1,128 @@
|
||||
mib: FREENAS-MIB
|
||||
modules:
|
||||
sensors:
|
||||
count:
|
||||
data:
|
||||
-
|
||||
oid: zfsArcSize
|
||||
value: zfsArcSize
|
||||
num_oid: .1.3.6.1.4.1.50536.1.4.1.{{ $index }}
|
||||
descr: 'ARC Size'
|
||||
index: zfsArcSize.{{ $index }}
|
||||
-
|
||||
oid: zfsArcMeta
|
||||
value: zfsArcMeta
|
||||
num_oid: .1.3.6.1.4.1.50536.1.4.2.{{ $index }}
|
||||
descr: 'ARC Metadata'
|
||||
index: zfsArcMeta.{{ $index }}
|
||||
-
|
||||
oid: zfsArcData
|
||||
value: zfsArcData
|
||||
num_oid: .1.3.6.1.4.1.50536.1.4.3.{{ $index }}
|
||||
descr: 'ARC Data'
|
||||
index: zfsArcData.{{ $index }}
|
||||
-
|
||||
oid: zfsArcHits
|
||||
value: zfsArcHits
|
||||
num_oid: .1.3.6.1.4.1.50536.1.4.4.{{ $index }}
|
||||
descr: 'ARC Hits'
|
||||
index: zfsArcHits.{{ $index }}
|
||||
-
|
||||
oid: zfsArcMisses
|
||||
value: zfsArcMisses
|
||||
num_oid: .1.3.6.1.4.1.50536.1.4.5.{{ $index }}
|
||||
descr: 'ARC Misses'
|
||||
index: zfsArcMisses.{{ $index }}
|
||||
-
|
||||
oid: zfsArcC
|
||||
value: zfsArcC
|
||||
num_oid: .1.3.6.1.4.1.50536.1.4.6.{{ $index }}
|
||||
descr: 'ARC C'
|
||||
index: zfsArcC.{{ $index }}
|
||||
-
|
||||
oid: zfsArcP
|
||||
value: zfsArcP
|
||||
num_oid: .1.3.6.1.4.1.50536.1.4.7.{{ $index }}
|
||||
descr: 'ARC P'
|
||||
index: zfsArcP.{{ $index }}
|
||||
-
|
||||
oid: zfsArcMissPercent
|
||||
value: zfsArcMissPercent
|
||||
num_oid: .1.3.6.1.4.1.50536.1.4.8.{{ $index }}
|
||||
descr: 'ARC Miss Percent'
|
||||
index: zfsArcMissPercent.{{ $index }}
|
||||
-
|
||||
oid: zfsArcHitRatio
|
||||
value: zfsArcHitRatio
|
||||
num_oid: .1.3.6.1.4.1.50536.1.4.9.{{ $index }}
|
||||
descr: 'ARC Hit Ratio'
|
||||
index: zfsArcHitRatio.{{ $index }}
|
||||
-
|
||||
oid: zfsArcMissRatio
|
||||
value: zfsArcMissRatio
|
||||
num_oid: .1.3.6.1.4.1.50536.1.4.10.{{ $index }}
|
||||
descr: 'ARC Miss Ratio'
|
||||
index: zfsArcMissRatio.{{ $index }}
|
||||
-
|
||||
oid: zfsL2ArcHits
|
||||
value: zfsL2ArcHits
|
||||
num_oid: .1.3.6.1.4.1.50536.1.5.1.{{ $index }}
|
||||
descr: 'L2ARC Hits'
|
||||
index: zfsL2ArcHits.{{ $index }}
|
||||
-
|
||||
oid: zfsL2ArcMisses
|
||||
value: zfsL2ArcMisses
|
||||
num_oid: .1.3.6.1.4.1.50536.1.5.2.{{ $index }}
|
||||
descr: 'L2ARC Misses'
|
||||
index: zfsL2ArcMisses.{{ $index }}
|
||||
-
|
||||
oid: zfsL2ArcRead
|
||||
value: zfsL2ArcRead
|
||||
num_oid: .1.3.6.1.4.1.50536.1.5.3.{{ $index }}
|
||||
descr: 'L2ARC Reads'
|
||||
index: zfsL2ArcRead.{{ $index }}
|
||||
-
|
||||
oid: zfsL2ArcWrite
|
||||
value: zfsL2ArcWrite
|
||||
num_oid: .1.3.6.1.4.1.50536.1.5.4.{{ $index }}
|
||||
descr: 'L2ARC Writes'
|
||||
index: zfsL2ArcWrite.{{ $index }}
|
||||
-
|
||||
oid: zfsL2ArcSize
|
||||
value: zfsL2ArcSize
|
||||
num_oid: .1.3.6.1.4.1.50536.1.5.5.{{ $index }}
|
||||
descr: 'L2ARC Size'
|
||||
index: zfsL2ArcSize.{{ $index }}
|
||||
-
|
||||
oid: zfsZilstatOps1sec
|
||||
value: zfsZilstatOps1sec
|
||||
num_oid: .1.3.6.1.4.1.50536.1.6.1.{{ $index }}
|
||||
descr: 'ZIL Operations last second'
|
||||
index: zfsZilstatOps1sec.{{ $index }}
|
||||
-
|
||||
oid: zfsZilstatOps5sec
|
||||
value: zfsZilstatOps5sec
|
||||
num_oid: .1.3.6.1.4.1.50536.1.6.2.{{ $index }}
|
||||
descr: 'ZIL Operations last 5 seconds'
|
||||
index: zfsZilstatOps5sec.{{ $index }}
|
||||
-
|
||||
oid: zfsZilstatOps10sec
|
||||
value: zfsZilstatOps10sec
|
||||
num_oid: .1.3.6.1.4.1.50536.1.6.3.{{ $index }}
|
||||
descr: 'ZIL Operations last 10 seconds'
|
||||
index: zfsZilstatOps10sec.{{ $index }}
|
||||
state:
|
||||
data:
|
||||
-
|
||||
oid: zpoolTable
|
||||
value: zpoolHealth
|
||||
num_oid: .1.3.6.1.4.1.50536.1.1.1.1.7.{{ $index }}
|
||||
descr: 'ZPool: {{ $zpoolDescr }}'
|
||||
index: zpoolHealth.{{ $index }}
|
||||
states:
|
||||
- { value: 0, descr: online, graph: 1, generic: 0 }
|
||||
- { value: 1, descr: degraded, graph: 1, generic: 1 }
|
||||
- { value: 2, descr: faulted, graph: 1, generic: 2 }
|
||||
- { value: 3, descr: offline, graph: 1, generic: 2 }
|
||||
- { value: 4, descr: unavail, graph: 1, generic: 2 }
|
||||
- { value: 5, descr: removed, graph: 1, generic: 2 }
|
||||
@@ -9,4 +9,8 @@ over:
|
||||
discovery_modules:
|
||||
applications: true
|
||||
discovery:
|
||||
- sysDescr: FreeBSD
|
||||
-
|
||||
sysDescr: FreeBSD
|
||||
sysDescr_except:
|
||||
- FreeNAS
|
||||
- TrueNAS
|
||||
|
||||
@@ -0,0 +1,29 @@
|
||||
os: truenas
|
||||
type: storage
|
||||
text: TrueNAS
|
||||
processor_stacked: true
|
||||
mib_dir:
|
||||
- ixsystems
|
||||
over:
|
||||
- { graph: device_processor, text: 'Processor Usage' }
|
||||
- { graph: device_ucd_memory, text: 'Memory Usage' }
|
||||
- { graph: device_storage, text: 'Storage Usage' }
|
||||
poller_modules:
|
||||
applications: false
|
||||
bgp-peers: false
|
||||
mpls: false
|
||||
ospf: false
|
||||
stp: false
|
||||
wireless: false
|
||||
discovery_modules:
|
||||
applications: false
|
||||
bgp-peers: false
|
||||
mpls: false
|
||||
stp: false
|
||||
wireless: false
|
||||
discovery:
|
||||
-
|
||||
sysObjectID: .1.3.6.1.4.1.8072.3.2.8
|
||||
sysDescr:
|
||||
- FreeNAS
|
||||
- TrueNAS
|
||||
@@ -0,0 +1,21 @@
|
||||
<?php
|
||||
|
||||
$datasetTable_array = snmpwalk_cache_oid($device, 'datasetTable', null, 'FREENAS-MIB');
|
||||
|
||||
$sql = "SELECT `storage_descr` FROM `storage` WHERE `device_id` = '".$device['device_id']."' AND `storage_type` != 'dataset'";
|
||||
$tmp_storage = dbFetchColumn($sql);
|
||||
|
||||
if (is_array($datasetTable_array)) {
|
||||
foreach ($datasetTable_array as $index => $dataset) {
|
||||
if (isset($dataset['datasetDescr'])) {
|
||||
if (!in_array($dataset['datasetDescr'], $tmp_storage)) {
|
||||
$dataset['datasetIndex'] = $index;
|
||||
$dataset['datasetTotal'] = $dataset['datasetSize'] * $dataset['datasetAllocationUnits'];
|
||||
$dataset['datasetAvail'] = ($dataset['datasetAvailable'] * $dataset['datasetAllocationUnits']);
|
||||
$dataset['datasetUsed'] = $dataset['datasetTotal'] - $dataset['datasetAvail'];
|
||||
|
||||
discover_storage($valid_storage, $device, $dataset['datasetIndex'], 'dataset', 'freenas-dataset', $dataset['datasetDescr'], $dataset['datasetTotal'], $dataset['datasetAllocationUnits'], $dataset['datasetUsed']);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,21 @@
|
||||
<?php
|
||||
|
||||
$zpooltable_array = snmpwalk_cache_oid($device, 'zpoolTable', null, 'FREENAS-MIB');
|
||||
|
||||
$sql = "SELECT `storage_descr` FROM `storage` WHERE `device_id` = '".$device['device_id']."' AND `storage_type` != 'zpool'";
|
||||
$tmp_storage = dbFetchColumn($sql);
|
||||
|
||||
if (is_array($zpooltable_array)) {
|
||||
foreach ($zpooltable_array as $index => $zpool) {
|
||||
if (isset($zpool['zpoolDescr'])) {
|
||||
if (!in_array($zpool['zpoolDescr'], $tmp_storage)) {
|
||||
$zpool['zpoolIndex'] = $index;
|
||||
$zpool['zpoolTotal'] = $zpool['zpoolSize'] * $zpool['zpoolAllocationUnits'];
|
||||
$zpool['zpoolAvail'] = ($zpool['zpoolAvailable'] * $zpool['zpoolAllocationUnits']);
|
||||
$zpool['zpoolUsed'] = $zpool['zpoolTotal'] - $zpool['zpoolAvail'];
|
||||
|
||||
discover_storage($valid_storage, $device, $zpool['zpoolIndex'], 'zpool', 'freenas-zpool', $zpool['zpoolDescr'], $zpool['zpoolTotal'], $zpool['zpoolAllocationUnits'], $zpool['zpoolUsed']);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
<?php
|
||||
|
||||
if (!is_array($storage_cache['dataset'])) {
|
||||
$storage_cache['dataset'] = snmpwalk_cache_oid($device, 'datasetTable', null, 'FREENAS-MIB');
|
||||
d_echo($storage_cache);
|
||||
}
|
||||
|
||||
foreach ($storage_cache['dataset'] as $index => $entry) {
|
||||
$storage['units'] = $entry['datasetAllocationUnits'];
|
||||
$storage['size'] = ($entry['datasetSize'] * $storage['units']);
|
||||
$storage['free'] = ($entry['datasetAvailable'] * $storage['units']);
|
||||
$storage['used'] = ($storage['size'] - $storage['free']);
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
<?php
|
||||
|
||||
if (!is_array($storage_cache['zpool'])) {
|
||||
$storage_cache['zpool'] = snmpwalk_cache_oid($device, 'zpoolTable', null, 'FREENAS-MIB');
|
||||
d_echo($storage_cache);
|
||||
}
|
||||
|
||||
foreach ($storage_cache['zpool'] as $index => $entry) {
|
||||
$storage['units'] = $entry['zpoolAllocationUnits'];
|
||||
$storage['size'] = ($entry['zpoolSize'] * $storage['units']);
|
||||
$storage['free'] = ($entry['zpoolAvailable'] * $storage['units']);
|
||||
$storage['used'] = ($storage['size'] - $storage['free']);
|
||||
}
|
||||
@@ -0,0 +1,560 @@
|
||||
FREENAS-MIB DEFINITIONS ::= BEGIN
|
||||
|
||||
IMPORTS
|
||||
MODULE-IDENTITY, OBJECT-TYPE, NOTIFICATION-TYPE, enterprises,
|
||||
Integer32, Counter32, Counter64, Gauge32 FROM SNMPv2-SMI
|
||||
|
||||
TEXTUAL-CONVENTION, DisplayString FROM SNMPv2-TC;
|
||||
|
||||
freeNas MODULE-IDENTITY
|
||||
LAST-UPDATED "201710270000Z"
|
||||
ORGANIZATION "www.ixsystems.com"
|
||||
CONTACT-INFO
|
||||
"postal: 2490 Kruse Dr
|
||||
San Jose, CA 95131
|
||||
|
||||
email: support@iXsystems.com"
|
||||
DESCRIPTION
|
||||
""
|
||||
REVISION "201710270000Z"
|
||||
DESCRIPTION
|
||||
""
|
||||
::= { enterprises 50536 }
|
||||
|
||||
ZPoolHealthType ::= TEXTUAL-CONVENTION
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
""
|
||||
SYNTAX INTEGER {
|
||||
online(0),
|
||||
degraded(1),
|
||||
faulted(2),
|
||||
offline(3),
|
||||
unavail(4),
|
||||
removed(5)
|
||||
}
|
||||
|
||||
AlertLevelType ::= TEXTUAL-CONVENTION
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
""
|
||||
SYNTAX INTEGER {
|
||||
info(20),
|
||||
warning(30),
|
||||
critical(50)
|
||||
}
|
||||
|
||||
zfs OBJECT IDENTIFIER ::= { freeNas 1 }
|
||||
|
||||
notifications OBJECT IDENTIFIER ::= { freeNas 2 }
|
||||
notificationPrefix OBJECT IDENTIFIER ::= { notifications 1 }
|
||||
notificationObjects OBJECT IDENTIFIER ::= { notifications 2 }
|
||||
|
||||
zpool OBJECT IDENTIFIER ::= { zfs 1 }
|
||||
dataset OBJECT IDENTIFIER ::= { zfs 2 }
|
||||
zvol OBJECT IDENTIFIER ::= { zfs 3 }
|
||||
arc OBJECT IDENTIFIER ::= { zfs 4 }
|
||||
l2arc OBJECT IDENTIFIER ::= { zfs 5 }
|
||||
zil OBJECT IDENTIFIER ::= { zfs 6 }
|
||||
|
||||
zpoolTable OBJECT-TYPE
|
||||
SYNTAX SEQUENCE OF ZpoolEntry
|
||||
MAX-ACCESS not-accessible
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
""
|
||||
::= { zpool 1 }
|
||||
|
||||
zpoolEntry OBJECT-TYPE
|
||||
SYNTAX ZpoolEntry
|
||||
MAX-ACCESS not-accessible
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
""
|
||||
INDEX { zpoolIndex }
|
||||
::= { zpoolTable 1 }
|
||||
|
||||
ZpoolEntry ::= SEQUENCE {
|
||||
zpoolIndex Integer32,
|
||||
zpoolDescr DisplayString,
|
||||
zpoolAllocationUnits Integer32,
|
||||
zpoolSize Integer32,
|
||||
zpoolUsed Integer32,
|
||||
zpoolAvailable Integer32,
|
||||
zpoolHealth ZPoolHealthType,
|
||||
zpoolReadOps Counter64,
|
||||
zpoolWriteOps Counter64,
|
||||
zpoolReadBytes Counter64,
|
||||
zpoolWriteBytes Counter64,
|
||||
zpoolReadOps1sec Counter64,
|
||||
zpoolWriteOps1sec Counter64,
|
||||
zpoolReadBytes1sec Counter64,
|
||||
zpoolWriteBytes1sec Counter64
|
||||
}
|
||||
|
||||
zpoolIndex OBJECT-TYPE
|
||||
SYNTAX Integer32 (1..2147483647)
|
||||
MAX-ACCESS not-accessible
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
""
|
||||
::= { zpoolEntry 1 }
|
||||
|
||||
zpoolDescr OBJECT-TYPE
|
||||
SYNTAX DisplayString
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
""
|
||||
::= { zpoolEntry 2 }
|
||||
|
||||
zpoolAllocationUnits OBJECT-TYPE
|
||||
SYNTAX Integer32 (1..2147483647)
|
||||
UNITS "Bytes"
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
""
|
||||
::= { zpoolEntry 3 }
|
||||
|
||||
zpoolSize OBJECT-TYPE
|
||||
SYNTAX Integer32 (0..2147483647)
|
||||
MAX-ACCESS read-write
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
""
|
||||
::= { zpoolEntry 4 }
|
||||
|
||||
zpoolUsed OBJECT-TYPE
|
||||
SYNTAX Integer32 (0..2147483647)
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
""
|
||||
::= { zpoolEntry 5 }
|
||||
|
||||
zpoolAvailable OBJECT-TYPE
|
||||
SYNTAX Integer32 (0..2147483647)
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
""
|
||||
::= { zpoolEntry 6 }
|
||||
|
||||
zpoolHealth OBJECT-TYPE
|
||||
SYNTAX ZPoolHealthType
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"The current health of the containing pool, as reported
|
||||
by zpool status."
|
||||
::= { zpoolEntry 7 }
|
||||
|
||||
zpoolReadOps OBJECT-TYPE
|
||||
SYNTAX Counter64
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"The number of read I/O operations sent to the pool or device,
|
||||
including metadata requests (averaged since system booted)."
|
||||
::= { zpoolEntry 8 }
|
||||
|
||||
zpoolWriteOps OBJECT-TYPE
|
||||
SYNTAX Counter64
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"The number of write I/O operations sent to the pool or device
|
||||
(averaged since system booted)."
|
||||
::= { zpoolEntry 9 }
|
||||
|
||||
zpoolReadBytes OBJECT-TYPE
|
||||
SYNTAX Counter64
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"The bandwidth of all read operations (including metadata),
|
||||
expressed as units per second (averaged since system booted)"
|
||||
::= { zpoolEntry 10 }
|
||||
|
||||
zpoolWriteBytes OBJECT-TYPE
|
||||
SYNTAX Counter64
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"The bandwidth of all write operations, expressed as units per
|
||||
second (averaged since system booted)."
|
||||
::= { zpoolEntry 11 }
|
||||
|
||||
zpoolReadOps1sec OBJECT-TYPE
|
||||
SYNTAX Counter64
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"The number of read I/O operations sent to the pool or device,
|
||||
including metadata requests (over 1 second interval)."
|
||||
::= { zpoolEntry 12 }
|
||||
|
||||
zpoolWriteOps1sec OBJECT-TYPE
|
||||
SYNTAX Counter64
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"The number of write I/O operations sent to the pool or device
|
||||
(over 1 second interval)."
|
||||
::= { zpoolEntry 13 }
|
||||
|
||||
zpoolReadBytes1sec OBJECT-TYPE
|
||||
SYNTAX Counter64
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"The bandwidth of all read operations (including metadata),
|
||||
expressed as units per second (over 1 second interval)"
|
||||
::= { zpoolEntry 14 }
|
||||
|
||||
zpoolWriteBytes1sec OBJECT-TYPE
|
||||
SYNTAX Counter64
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"The bandwidth of all write operations, expressed as units per
|
||||
second (over 1 second interval)."
|
||||
::= { zpoolEntry 15 }
|
||||
|
||||
datasetTable OBJECT-TYPE
|
||||
SYNTAX SEQUENCE OF DatasetEntry
|
||||
MAX-ACCESS not-accessible
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
""
|
||||
::= { dataset 1 }
|
||||
|
||||
datasetEntry OBJECT-TYPE
|
||||
SYNTAX DatasetEntry
|
||||
MAX-ACCESS not-accessible
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
""
|
||||
INDEX { datasetIndex }
|
||||
::= { datasetTable 1 }
|
||||
|
||||
DatasetEntry ::= SEQUENCE {
|
||||
datasetIndex Integer32,
|
||||
datasetDescr DisplayString,
|
||||
datasetAllocationUnits Integer32,
|
||||
datasetSize Integer32,
|
||||
datasetUsed Integer32,
|
||||
datasetAvailable Integer32
|
||||
}
|
||||
|
||||
datasetIndex OBJECT-TYPE
|
||||
SYNTAX Integer32 (1..2147483647)
|
||||
MAX-ACCESS not-accessible
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
""
|
||||
::= { datasetEntry 1 }
|
||||
|
||||
datasetDescr OBJECT-TYPE
|
||||
SYNTAX DisplayString
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
""
|
||||
::= { datasetEntry 2 }
|
||||
|
||||
datasetAllocationUnits OBJECT-TYPE
|
||||
SYNTAX Integer32 (1..2147483647)
|
||||
UNITS "Bytes"
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
""
|
||||
::= { datasetEntry 3 }
|
||||
|
||||
datasetSize OBJECT-TYPE
|
||||
SYNTAX Integer32 (0..2147483647)
|
||||
MAX-ACCESS read-write
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
""
|
||||
::= { datasetEntry 4 }
|
||||
|
||||
datasetUsed OBJECT-TYPE
|
||||
SYNTAX Integer32 (0..2147483647)
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
""
|
||||
::= { datasetEntry 5 }
|
||||
|
||||
datasetAvailable OBJECT-TYPE
|
||||
SYNTAX Integer32 (0..2147483647)
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
""
|
||||
::= { datasetEntry 6 }
|
||||
|
||||
zvolTable OBJECT-TYPE
|
||||
SYNTAX SEQUENCE OF ZvolEntry
|
||||
MAX-ACCESS not-accessible
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
""
|
||||
::= { zvol 1 }
|
||||
|
||||
zvolEntry OBJECT-TYPE
|
||||
SYNTAX ZvolEntry
|
||||
MAX-ACCESS not-accessible
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
""
|
||||
INDEX { zvolIndex }
|
||||
::= { zvolTable 1 }
|
||||
|
||||
ZvolEntry ::= SEQUENCE {
|
||||
zvolIndex Integer32,
|
||||
zvolDescr DisplayString,
|
||||
zvolAllocationUnits Integer32,
|
||||
zvolSize Integer32,
|
||||
zvolUsed Integer32,
|
||||
zvolAvailable Integer32
|
||||
}
|
||||
|
||||
zvolIndex OBJECT-TYPE
|
||||
SYNTAX Integer32 (1..2147483647)
|
||||
MAX-ACCESS not-accessible
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
""
|
||||
::= { zvolEntry 1 }
|
||||
|
||||
zvolDescr OBJECT-TYPE
|
||||
SYNTAX DisplayString
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
""
|
||||
::= { zvolEntry 2 }
|
||||
|
||||
zvolAllocationUnits OBJECT-TYPE
|
||||
SYNTAX Integer32 (1..2147483647)
|
||||
UNITS "Bytes"
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
""
|
||||
::= { zvolEntry 3 }
|
||||
|
||||
zvolSize OBJECT-TYPE
|
||||
SYNTAX Integer32 (0..2147483647)
|
||||
MAX-ACCESS read-write
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
""
|
||||
::= { zvolEntry 4 }
|
||||
|
||||
zvolUsed OBJECT-TYPE
|
||||
SYNTAX Integer32 (0..2147483647)
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
""
|
||||
::= { zvolEntry 5 }
|
||||
|
||||
zvolAvailable OBJECT-TYPE
|
||||
SYNTAX Integer32 (0..2147483647)
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
""
|
||||
::= { zvolEntry 6 }
|
||||
|
||||
zfsArcSize OBJECT-TYPE
|
||||
SYNTAX Gauge32
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
""
|
||||
::= { arc 1 }
|
||||
|
||||
zfsArcMeta OBJECT-TYPE
|
||||
SYNTAX Gauge32
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
""
|
||||
::= { arc 2 }
|
||||
|
||||
zfsArcData OBJECT-TYPE
|
||||
SYNTAX Gauge32
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
""
|
||||
::= { arc 3 }
|
||||
|
||||
zfsArcHits OBJECT-TYPE
|
||||
SYNTAX Gauge32
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
""
|
||||
::= { arc 4 }
|
||||
|
||||
zfsArcMisses OBJECT-TYPE
|
||||
SYNTAX Gauge32
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
""
|
||||
::= { arc 5 }
|
||||
|
||||
zfsArcC OBJECT-TYPE
|
||||
SYNTAX Gauge32
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
""
|
||||
::= { arc 6 }
|
||||
|
||||
zfsArcP OBJECT-TYPE
|
||||
SYNTAX Gauge32
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
""
|
||||
::= { arc 7 }
|
||||
|
||||
zfsArcMissPercent OBJECT-TYPE
|
||||
SYNTAX DisplayString
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Arc Miss Percentage.
|
||||
(Note: Floating precision sent across SNMP as a String"
|
||||
::= { arc 8 }
|
||||
|
||||
zfsArcCacheHitRatio OBJECT-TYPE
|
||||
SYNTAX DisplayString
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Arc Cache Hit Ration Percentage.
|
||||
(Note: Floating precision sent across SNMP as a String"
|
||||
::= { arc 9 }
|
||||
|
||||
zfsArcCacheMissRatio OBJECT-TYPE
|
||||
SYNTAX DisplayString
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Arc Cache Miss Ration Percentage.
|
||||
(Note: Floating precision sent across SNMP as a String"
|
||||
::= { arc 10 }
|
||||
|
||||
zfsL2ArcHits OBJECT-TYPE
|
||||
SYNTAX Counter32
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
""
|
||||
::= { l2arc 1 }
|
||||
|
||||
zfsL2ArcMisses OBJECT-TYPE
|
||||
SYNTAX Counter32
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
""
|
||||
::= { l2arc 2 }
|
||||
|
||||
zfsL2ArcRead OBJECT-TYPE
|
||||
SYNTAX Counter32
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
""
|
||||
::= { l2arc 3 }
|
||||
|
||||
zfsL2ArcWrite OBJECT-TYPE
|
||||
SYNTAX Counter32
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
""
|
||||
::= { l2arc 4 }
|
||||
|
||||
zfsL2ArcSize OBJECT-TYPE
|
||||
SYNTAX Gauge32
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
""
|
||||
::= { l2arc 5 }
|
||||
|
||||
zfsZilstatOps1sec OBJECT-TYPE
|
||||
SYNTAX Counter64
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"The ops column parsed from the command zilstat 1 1"
|
||||
::= { zil 1 }
|
||||
|
||||
zfsZilstatOps5sec OBJECT-TYPE
|
||||
SYNTAX Counter64
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"The ops column parsed from the command zilstat 5 1"
|
||||
::= { zil 2 }
|
||||
|
||||
zfsZilstatOps10sec OBJECT-TYPE
|
||||
SYNTAX Counter64
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"The ops column parsed from the command zilstat 10 1"
|
||||
::= { zil 3 }
|
||||
|
||||
alert NOTIFICATION-TYPE
|
||||
OBJECTS { alertId, alertLevel, alertMessage }
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"An alert raised"
|
||||
::= { notificationPrefix 1 }
|
||||
|
||||
alertId OBJECT-TYPE
|
||||
SYNTAX DisplayString
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
""
|
||||
::= { notificationObjects 1 }
|
||||
|
||||
alertLevel OBJECT-TYPE
|
||||
SYNTAX AlertLevelType
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
""
|
||||
::= { notificationObjects 2 }
|
||||
|
||||
alertMessage OBJECT-TYPE
|
||||
SYNTAX DisplayString
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
""
|
||||
::= { notificationObjects 3 }
|
||||
|
||||
alertCancellation NOTIFICATION-TYPE
|
||||
OBJECTS { alertId }
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"An alert cancelled"
|
||||
::= { notificationPrefix 2 }
|
||||
|
||||
END
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user