forked from pervila/zfs-snmpd-sudo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
snmpd.conf.stub
16 lines (15 loc) · 1.09 KB
/
snmpd.conf.stub
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
extend zpool_name /usr/bin/sudo /usr/local/sbin/zfs-snmpd-sudo-scripts/zpool_name
extend zpool_snap /usr/bin/sudo /usr/local/sbin/zfs-snmpd-sudo-scripts/zpool_snap
extend zpool_used /usr/bin/sudo /usr/local/sbin/zfs-snmpd-sudo-scripts/zpool_used
extend zpool_data /usr/bin/sudo /usr/local/sbin/zfs-snmpd-sudo-scripts/zpool_data_used
extend zpool_size /usr/bin/sudo /usr/local/sbin/zfs-snmpd-sudo-scripts/zpool_size
extend zpool_available /usr/bin/sudo /usr/local/sbin/zfs-snmpd-sudo-scripts/zpool_available
extend zpool_capacity /usr/bin/sudo /usr/local/sbin/zfs-snmpd-sudo-scripts/zpool_capacity
extend zpool_dedupratio /usr/bin/sudo /usr/local/sbin/zfs-snmpd-sudo-scripts/zpool_dedupratio
extend zpool_allocated /usr/bin/sudo /usr/local/sbin/zfs-snmpd-sudo-scripts/zpool_allocated
extend arc_hits /usr/local/sbin/zfs-snmpd-sudo-scripts/arc_hits
extend arc_misses /usr/local/sbin/zfs-snmpd-sudo-scripts/arc_misses
override iso.3.6.1.2.1.2.2.1.2.2 octet_str "eth0"
override iso.3.6.1.2.1.2.2.1.2.3 octet_str "eth1"
override iso.3.6.1.2.1.2.2.1.2.4 octet_str "eth2"
override iso.3.6.1.2.1.2.2.1.2.5 octet_str "eth3"