Feature #932

net-snmp patch to provide disk usage information on tmpfs volumes

Added by aa latchm 4 months ago. Updated 3 months ago.

Status:Closed Start date:01/17/2012
Priority:Normal Due date:
Assignee:Carlo Landmeter % Done:

100%

Category:Aports
Target version:Alpine 2.4.0 Estimated time:0.25 hour

Description

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

Associated revisions

Revision eea092e9
Added by Jeff Bilyk 3 months ago

main/net-snmp: allow tmpfs volumes to be monitored

fixes #932

History

Updated by Jeff Bilyk 3 months ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 100

Updated by Natanael Copa 3 months ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF