|
|
962144 |
diff --git a/agent/mibgroup/host/hr_filesys.c b/agent/mibgroup/host/hr_filesys.c
|
|
|
962144 |
index 4f78df3..fd25b3f 100644
|
|
|
962144 |
--- a/agent/mibgroup/host/hr_filesys.c
|
|
|
962144 |
+++ b/agent/mibgroup/host/hr_filesys.c
|
|
|
962144 |
@@ -704,6 +704,7 @@ static const char *HRFS_ignores[] = {
|
|
|
962144 |
"shm",
|
|
|
962144 |
"sockfs",
|
|
|
962144 |
"sysfs",
|
|
|
962144 |
+ "tmpfs",
|
|
|
962144 |
"usbdevfs",
|
|
|
962144 |
"usbfs",
|
|
|
962144 |
#endif
|
|
|
962144 |
diff --git a/agent/mibgroup/host/hr_storage.c b/agent/mibgroup/host/hr_storage.c
|
|
|
962144 |
index 6b459ec..f7a376b 100644
|
|
|
962144 |
--- a/agent/mibgroup/host/hr_storage.c
|
|
|
962144 |
+++ b/agent/mibgroup/host/hr_storage.c
|
|
|
962144 |
@@ -540,9 +540,10 @@ really_try_next:
|
|
|
962144 |
|
|
|
962144 |
store_idx = name[ HRSTORE_ENTRY_NAME_LENGTH ];
|
|
|
962144 |
if (store_idx > NETSNMP_MEM_TYPE_MAX ) {
|
|
|
962144 |
- if ( netsnmp_ds_get_boolean(NETSNMP_DS_APPLICATION_ID,
|
|
|
962144 |
+ if ( (netsnmp_ds_get_boolean(NETSNMP_DS_APPLICATION_ID,
|
|
|
962144 |
NETSNMP_DS_AGENT_SKIPNFSINHOSTRESOURCES) &&
|
|
|
962144 |
- Check_HR_FileSys_NFS())
|
|
|
962144 |
+ Check_HR_FileSys_NFS()) ||
|
|
|
962144 |
+ Check_HR_FileSys_AutoFs())
|
|
|
962144 |
return NULL; /* or goto try_next; */
|
|
|
962144 |
if (Check_HR_FileSys_AutoFs())
|
|
|
962144 |
return NULL;
|
|
|
962144 |
diff --git a/agent/mibgroup/host/hrh_storage.c b/agent/mibgroup/host/hrh_storage.c
|
|
|
962144 |
index 8967d35..9bf2659 100644
|
|
|
962144 |
--- a/agent/mibgroup/host/hrh_storage.c
|
|
|
962144 |
+++ b/agent/mibgroup/host/hrh_storage.c
|
|
|
962144 |
@@ -366,9 +366,10 @@ really_try_next:
|
|
|
962144 |
store_idx = name[ HRSTORE_ENTRY_NAME_LENGTH ];
|
|
|
962144 |
if (HRFS_entry &&
|
|
|
962144 |
store_idx > NETSNMP_MEM_TYPE_MAX &&
|
|
|
962144 |
- netsnmp_ds_get_boolean(NETSNMP_DS_APPLICATION_ID,
|
|
|
962144 |
+ ((netsnmp_ds_get_boolean(NETSNMP_DS_APPLICATION_ID,
|
|
|
962144 |
NETSNMP_DS_AGENT_SKIPNFSINHOSTRESOURCES) &&
|
|
|
962144 |
- Check_HR_FileSys_NFS())
|
|
|
962144 |
+ Check_HR_FileSys_NFS()) ||
|
|
|
962144 |
+ Check_HR_FileSys_AutoFs()))
|
|
|
962144 |
return NULL;
|
|
|
962144 |
if (HRFS_entry && Check_HR_FileSys_AutoFs())
|
|
|
962144 |
return NULL;
|