Description
Monitors Solaris ZFS Storage Pool health status and usage capacity in percentage. [NET-SNMP-EXTEND-MIB::nsExtendOutLine-1.3.6.1.4.1.8072.1.3.2.4.1.2]
Prerequisites
Need to add following Zpool command to snmpd.conf in end device:
extend zpool_name /bin/bash -c “zpool list -H -o name”
extend zpool_capacity /bin/bash -c “zpool list -H -o capacity”
extend zpool_health /bin/bash -c “zpool list -H -o health”
Then do SNMPWALK query on OID: 1.3.6.1.4.1.8072.1.3.2.4.1.2 on end device,
it must give above Zpool commands output in SNMP output.
Means it should give Zpool names, Zpool health status and Zpool capacity in percentage.
Sample SNMP query output:
NET-SNMP-EXTEND-MIB::nsExtendOutLine.“zpool_name”.1 = STRING: zpool_test1
NET-SNMP-EXTEND-MIB::nsExtendOutLine.“zpool_name”.2 = STRING: zpool_test2
NET-SNMP-EXTEND-MIB::nsExtendOutLine.“zpool_health”.1 = STRING: ONLINE
NET-SNMP-EXTEND-MIB::nsExtendOutLine.“zpool_health”.2 = STRING: ONLINE
NET-SNMP-EXTEND-MIB::nsExtendOutLine.“zpool_capacity”.1 = STRING: 44%
NET-SNMP-EXTEND-MIB::nsExtendOutLine.“zpool_capacity”.2 = STRING: 51%
Metric Parameters
Parameter | Description |
---|---|
Frequency | Warning Threshold | If the metric value satisfies the condition defined along with Warning Threshold value, then a notification is sent to the user. |
Critical Threshold | If the metric value satisfies the condition defined along with Critical Threshold value, then a notification is sent to the user. |
Alert | The alert value can be set to either Yes or No. If it is Yes, then an alert message is sent to the user. |
Metrics
solaris.zfs.storage.pool.health.status
Metric Details
Applicable for | Device |
SNMP OID | NULL |
Expression | NULL |
Description | It represents the Solaris ZFS Storage pool health status. A pool's health status is described by one of following states: DEGRADED: A pool with one or more failed devices, but the data is still available due to a redundant configuration. ONLINE: A pool that has all devices operating normally. SUSPENDED: A pool that is waiting for device connectivity to be restored. A suspended pool remains in the wait state until the device issue is resolved. UNAVAIL: A pool with corrupted metadata, or one or more unavailable devices and insufficient replicas to continue functioning. UNKNOWN: A pool is not imported and its actual status has not been verified. This health status is used by zpool label command. CLEARED: A pool has at least one device with ZFS metadata cleared by using zpool label -C command. A cleared pool cannot be imported. [NET-SNMP-EXTEND-MIB::nsExtendOutLine-1.3.6.1.4.1.8072.1.3.2.4.1.2] |
Category | SNMP Extended |
Collector Type | Gateway |
Monitor Name | Solaris ZFS Storage Pool Health and Capacity |
Unit |
Possible Inputs
Metric | Input Value | Range of Values |
---|---|---|
Frequency | 5 | 1 – 1440 (mins) |
Filter | ||
Warning Operator | INS | Ends with, ==, !=, >=, <=, >, <, In Range, Out of range, Equals, Not equals, Equals Ignore Case, Not Equals Ignore Case, Contains, Not contains, Regex match, Regex no match, In string list, Not in string list, In List, Not in list, Starts with |
Warning Threshold | UNKNOWN, CLEARED | |
Warning Repeat Count | 1 | 1-12 |
Critical Operator | INS | Ends with, ==, !=, >=, <=, >, <, In Range, Out of range, Equals, Not equals, Equals Ignore Case, Not Equals Ignore Case, Contains, Not contains, Regex match, Regex no match, In string list, Not in string list, In List, Not in list, Starts with |
Critical Threshold | DEGRADED, SUSPENDED, UNAVAIL | |
Critical Repeat Count | 1 | 1-12 |
Alert | Yes | Yes/No |
Graph (Yes/No) | Yes | Yes/No |
Sample Output
No graph
solaris.zfs.storage.pool.capacity
Metric Details
Applicable for | Device |
SNMP OID | NULL |
Expression | NULL |
Description | It represents the amount of disk space used, expressed as a percentage of the total disk space. [NET-SNMP-EXTEND-MIB::nsExtendOutLine-1.3.6.1.4.1.8072.1.3.2.4.1.2] |
Category | SNMP Extended |
Collector Type | Gateway |
Monitor Name | Solaris ZFS Storage Pool Health and Capacity |
Unit | % |
Possible Inputs
Metric | Input Value | Range of Values |
---|---|---|
Frequency | 5 | 1 – 1440 (mins) |
Filter | ||
Warning Operator | GREATER_THAN_EQUAL | Ends with, ==, !=, >=, <=, >, <, In Range, Out of range, Equals, Not equals, Equals Ignore Case, Not Equals Ignore Case, Contains, Not contains, Regex match, Regex no match, In string list, Not in string list, In List, Not in list, Starts with |
Warning Threshold | 70 | 0-100 |
Warning Repeat Count | 2 | 1-12 |
Critical Operator | GREATER_THAN_EQUAL | Ends with, ==, !=, >=, <=, >, <, In Range, Out of range, Equals, Not equals, Equals Ignore Case, Not Equals Ignore Case, Contains, Not contains, Regex match, Regex no match, In string list, Not in string list, In List, Not in list, Starts with |
Critical Threshold | 80 | 0-100 |
Critical Repeat Count | 2 | 1-12 |
Alert | Yes | Yes/No |
Graph (Yes/No) | Yes | Yes/No |
Sample Output
No graph