Skip to content

Commit d79ad4d

Browse files
authored
Revert "Revert "Remove snmpd hw_fsys module, remove disk monitoring which is not in use" (#1665)"
This reverts commit 5817e99.
1 parent ebd6044 commit d79ad4d

File tree

2 files changed

+1
-9
lines changed

2 files changed

+1
-9
lines changed

dockers/docker-snmp-sv2/snmpd.conf.j2

-8
Original file line numberDiff line numberDiff line change
@@ -60,14 +60,6 @@ sysServices 72
6060
# Note that this table will be empty if there are no "proc" entries in the snmpd.conf file
6161

6262

63-
#
64-
# Disk Monitoring
65-
#
66-
# 10MBs required on root disk, 5% free on /var, 10% free on all other disks
67-
disk / 10000
68-
disk /var 5%
69-
includeAllDisks 10%
70-
7163
# Walk the UCD-SNMP-MIB::dskTable to see the resulting output
7264
# Note that this table will be empty if there are no "disk" entries in the snmpd.conf file
7365

dockers/docker-snmp-sv2/supervisord.conf

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ stdout_logfile=syslog
2929
stderr_logfile=syslog
3030

3131
[program:snmpd]
32-
command=/usr/sbin/snmpd -f -LS4d -u Debian-snmp -g Debian-snmp -I -smux,mteTrigger,mteTriggerConf,ifTable,ifXTable,inetCidrRouteTable,ipCidrRouteTable,ip,disk_hw -p /run/snmpd.pid
32+
command=/usr/sbin/snmpd -f -LS4d -u Debian-snmp -g Debian-snmp -I -smux,mteTrigger,mteTriggerConf,ifTable,ifXTable,inetCidrRouteTable,ipCidrRouteTable,ip,disk_hw,hw_fsys -p /run/snmpd.pid
3333
priority=4
3434
autostart=false
3535
autorestart=false

0 commit comments

Comments
 (0)