Page MenuHomeVyOS Platform

Remove mounts such as overlay/tmpfs/ramfs or others from the SNMP table
Open, WishlistPublicFEATURE REQUEST

Description

Summary

Remove mounts such as overlay/tmpfs/ramfs or others from the SNMP table

vyos@r14# mount | grep tmpfs
udev on /dev type devtmpfs (rw,nosuid,relatime,size=4056656k,nr_inodes=1014164,mode=755)
tmpfs on /run type tmpfs (rw,nosuid,nodev,noexec,relatime,size=815180k,mode=755)
tmpfs on /usr/lib/live/mount/overlay type tmpfs (rw,relatime)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
tmpfs on /var/tmp type tmpfs (rw,nosuid,nodev,relatime)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev,relatime)
none on /etc/cni/net.d type tmpfs (rw,relatime)
none on /opt/vyatta/config type tmpfs (rw,nosuid,nodev,relatime,nr_inodes=0,mode=775)
tmpfs on /etc/frr/frr.conf type tmpfs (rw,nosuid,nodev,noexec,relatime,size=815180k,mode=755)
shm on /usr/lib/live/mount/persistence/container/storage/overlay-containers/b34fe951fc4e10983466b27ee3c3224ac8360dc88c1e0a4a0b2c246071f2b607/userdata/shm type tmpfs (rw,nosuid,nodev,noexec,relatime,size=65536k)
tmpfs on /run/user/1002 type tmpfs (rw,nosuid,nodev,relatime,size=815176k,nr_inodes=203794,mode=700,uid=1002,gid=100)
[edit]
vyos@r14#

Use case

Do not monitor unnecessary folders

Additional information

Most likely ignoreDisk option could help https://github.com/vyos/vyos-1x/blob/608db9e22ce91bb83ece90bed3380c91f97e0801/data/templates/snmp/etc.snmpd.conf.j2#L30C1-L30C53

Details

Version
-
Is it a breaking change?
Unspecified (possibly destroys the router)
Issue type
Feature (new functionality)

Event Timeline

Viacheslav triaged this task as Wishlist priority.