Skip to content

Commit 3d61df9

Browse files
qiluo-msftlguohan
authored andcommitted
Remove snmpd hw_fsys module, remove disk monitoring which are not in use (#1663)
Signed-off-by: Qi Luo <[email protected]>
1 parent 1ae4db3 commit 3d61df9

2 files changed

Lines changed: 1 addition & 9 deletions

File tree

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

Lines changed: 0 additions & 8 deletions
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

Lines changed: 1 addition & 1 deletion
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)