All MIBs › DIRECTORY-MONITOR-MIB
Organization: www.net-snmp.org
Last Updated: 2004-06-15
Category: Domain: System Management
Description: Directory monitoring MIB providing objects for monitoring filesystem directory contents, sizes, and change events.
Start monitoring vendor-neutral, standards-based MIB, any SNMPv3-capable network device (SNMP engine identity/boot/clock status) with a free 30-day trial of IPNetwork Monitor. Import MIBs, browse SNMP OIDs, create custom SNMP monitors, configure alerts, and monitor any SNMP-enabled network device from a single console.
What Is DIRECTORY-MONITOR-MIB?
DIRECTORY-MONITOR-MIB is a Net-SNMP example/extension MIB (under the netSnmp enterprise tree) that exposes basic filesystem directory monitoring objects for a Net-SNMP agent. It defines scalars directory (the currently monitored path), numFiles and numDirectories (counts of files/subdirectories within it), and directoryContentTable (directoryEntryIndex, directoryEntryPath, directoryEntryMask) listing the directory's contents, along with a directoryState object and a directoryStateNotification trap fired on state changes. It exposes simple filesystem-state visibility — file/directory counts and content listings — rather than any network protocol data, useful for basic host-level monitoring such as detecting unexpected growth or unauthorized changes in a watched directory. It depends on SNMP-FRAMEWORK-MIB, INET-ADDRESS-MIB, and NET-SNMP-MIB conventions for its base types and OID placement. It is deployed on hosts running the Net-SNMP agent with this module loaded as a demonstration/utility MIB, and engineers use the DIRECTORY-MONITOR-MIB monitor objects to poll and track a specific directory's state.
IPNetwork Monitor allows you to monitor SNMP objects defined in DIRECTORY-MONITOR-MIB. Use the built-in SNMP Monitoring Browser to explore available variables, view their current values and descriptions, and select the objects you want to monitor. You can then create SNMP monitors, configure thresholds, and receive alerts when monitored values change.
Supported Devices
- vendor-neutral, standards-based MIB (Net-SNMP extension), not tied to a specific manufacturer — applies to any host running the Net-SNMP agent
Monitoring Examples
An operator polls numFiles and directoryContentTable for a configured directory to confirm no unexpected files have appeared; a directoryStateNotification trap combined with a jump in numFiles would indicate a monitored directory changed unexpectedly, which might warrant investigation.
What Can Be Monitored
- monitored directory path
- file and subdirectory counts
- directory content listing table
- directory state change notifications
- per-entry path and mask attributes
Imported Objects
From INET-ADDRESS-MIB
| InetAddress | |
| InetAddressType |
From NET-SNMP-MIB
| netSnmp | MODULE-IDENTITY |
From SNMP-FRAMEWORK-MIB
| SnmpAdminString |
From SNMPv2-SMI
| Integer32 | |
| MODULE-IDENTITY | |
| NOTIFICATION-TYPE | |
| OBJECT-TYPE |
From SNMPv2-TC
| RowStatus | |
| StorageType |
How to Use in IPNetwork Monitor
Example using numFiles OID:
OIDs
RFC description
Net-SNMP directory monitoring MIB for file system surveillance and notifications.
Start monitoring Host running Net-SNMP agent (directory monitoring extension) with a free 30-day trial of IPNetwork Monitor. Import MIBs, browse SNMP OIDs, create custom SNMP monitors, configure alerts, and monitor any SNMP-enabled network device from a single console.