Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-15-SP2:GA
net-snmp
net-snmp-5.7.3-recognize-nss-pools-and-nss-volu...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File net-snmp-5.7.3-recognize-nss-pools-and-nss-volumes-oes.patch of Package net-snmp
From 0ded321a1588b7e1281f505c2f6266aa979168c6 Mon Sep 17 00:00:00 2001 From: Thomas Abraham <tabraham@suse.com> Date: Tue, 7 Jan 2020 11:20:39 -0500 Subject: [PATCH] Recognize NSS pools and NSS volumes (Open Enterprise Server) --- agent/mibgroup/hardware/fsys/fsys_mntent.c | 2 ++ agent/mibgroup/hardware/fsys/mnttypes.h | 6 ++++++ 2 files changed, 8 insertions(+) diff --git a/agent/mibgroup/hardware/fsys/fsys_mntent.c b/agent/mibgroup/hardware/fsys/fsys_mntent.c index 79e6e4f72..28e9f1901 100644 --- a/agent/mibgroup/hardware/fsys/fsys_mntent.c +++ b/agent/mibgroup/hardware/fsys/fsys_mntent.c @@ -147,6 +147,8 @@ _fsys_type( char *typename ) !strcmp(typename, MNTTYPE_LUSTRE) || !strcmp(typename, MNTTYPE_ZFS) || !strcmp(typename, MNTTYPE_ACFS) || + !strcmp(typename, MNTTYPE_NSS_VOL) || + !strcmp(typename, MNTTYPE_NSS_POOL) || !strcmp(typename, MNTTYPE_LOFS)) return NETSNMP_FS_TYPE_OTHER; diff --git a/agent/mibgroup/hardware/fsys/mnttypes.h b/agent/mibgroup/hardware/fsys/mnttypes.h index 53f1cc896..d7f694913 100644 --- a/agent/mibgroup/hardware/fsys/mnttypes.h +++ b/agent/mibgroup/hardware/fsys/mnttypes.h @@ -157,6 +157,12 @@ #ifndef MNTTYPE_ACFS #define MNTTYPE_ACFS "acfs" #endif +#ifndef MNTTYPE_NSS_VOL +#define MNTTYPE_NSS_VOL "nssvol" +#endif +#ifndef MNTTYPE_NSS_POOL +#define MNTTYPE_NSS_POOL "nsspool" +#endif /* * File systems to skip -- 2.16.4
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor