Re: Hiding /run/user/X ?

Cameron Smith <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <CABLobCP+YKFRe8C5M+N3FhnBDkkZ8SHrcSi7BVNZPj2qTAFL4w@mail.gmail.com>
I am still seeing:

[root@staging-www /]# snmpwalk -v 1 -c redux localhost |grep "/run/user/"
HOST-RESOURCES-MIB::hrStorageDescr.59 = STRING: /run/user/65000
HOST-RESOURCES-MIB::hrFSMountPoint.29 = STRING: "/run/user/65000"

How can I make walks never see the temp partitions in /run/user?


Cameron Smith
Technical Operations Manager
Network Redux, LLC
Cell:   503-926-4928

On Thu, Apr 6, 2017 at 11:20 AM, Cameron Smith <[email protected]>
wrote:

> Hello,
>
> We are running into an issue relating to net-snmp on CentOS 7x and Citrix
> XenServer 7.x
>
> Both of these OS create temporary partitions at /run/user/0 for root or
> /run/user/$uid for others.
>
> One of our monitoring tools polls snmp and will see one of these
> partitions and then if the partition goes away alerts us. That's a problem
> as it is normal for these to come and go.
>
> We would like to have the monitoring tool not be able to be aware that
> those partitions exist.
>
> we have added ignoredisk /run/user/* to /etc/snmp/snmpd.conf and restarted
> snmpd and they are still seen.
>
> Is there something else we can add to snmpd.conf or are we at a point we
> need to edit a mib?
>
> Cameron
>

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot

_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.