net-snmp patch to provide disk usage information on tmpfs volumes
By default, net-snmp excludes tmpfs volumes when it provides disk usage information. If tmpfs fills up on an Alpine Linux ramdisk installation, this will often affect services. Therefore, I suggest that we apply the patch below so that we can use SNMP to monitor the free space in Alpine tmpfs filesystems.
http://sourceforge.net/tracker/?func=detail&aid=2784925&group\_id=12694&atid=362694
--- net-snmp-5.4.2.1/agent/mibgroup/host/hr_filesys.c.orig 2009-05-01 10:43:17.000000000 +0100
+++ net-snmp-5.4.2.1/agent/mibgroup/host/hr_filesys.c 2009-05-01 10:52:35.000000000 +0100
@@ -665,7 +665,7 @@
"shm",
"sockfs",
"sysfs",
- "tmpfs",
+ /* "tmpfs", */
"usbdevfs",
"usbfs",
#endif
(from redmine: issue id 932, created on 2012-01-17, closed on 2012-03-02)
- Changesets:
- Revision eea092e9 by Jeff Bilyk on 2012-02-11T03:34:02Z:
main/net-snmp: allow tmpfs volumes to be monitored
fixes #932