Skip to content

Commit 5817e99

Browse files
qiluo-msftlguohan
authored andcommitted
Revert "Remove snmpd hw_fsys module, remove disk monitoring which is not in use" (sonic-net#1665)
* Revert "[swss]: update swss submodule (sonic-net#1664)" This reverts commit c74be37. * Revert "Remove snmpd hw_fsys module, remove disk monitoring which are not in use (sonic-net#1663)" This reverts commit 3d61df9.
1 parent c74be37 commit 5817e99

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

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

+8
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,14 @@ 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+
6371
# Walk the UCD-SNMP-MIB::dskTable to see the resulting output
6472
# Note that this table will be empty if there are no "disk" entries in the snmpd.conf file
6573

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,hw_fsys -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 -p /run/snmpd.pid
3333
priority=4
3434
autostart=false
3535
autorestart=false

0 commit comments

Comments
 (0)