All MIBs › HM2-LOGGING-MIB › hm2LogPersistMaxFileSize
hm2LogPersistMaxFileSize
Module: HM2-LOGGING-MIB
OID (symbolic): HM2-LOGGING-MIB::hm2LogPersistMaxFileSize
OID (numeric): 1.3.6.1.4.1.248.11.23.1.6.2
Node type: OBJECT-TYPE
Type: Integer32
Access: read-write
Description: Maximum persistent logfile size on non-volatile medium in Kbytes (0..4096). If this value is zero logging is disabled.
What is hm2LogPersistMaxFileSize?
Caps the size, in kilobytes, of each persistent log file kept on non-volatile storage (0-4096); setting it to 0 disables persistent logging altogether. Defaults to 1024KB per file.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.248.11.23.1.6.2 snmpwalk -v2c -c public <target> HM2-LOGGING-MIB::hm2LogPersistMaxFileSize
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.248.11.23.1.6.2.1 snmpget -v2c -c public <target> HM2-LOGGING-MIB::hm2LogPersistMaxFileSize.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.4.1.248.11.23.1.6.2.1 i <value>
SNMPv3 example:
snmpget -v3 -l authPriv -u snmpv3-user -a SHA -A "AuthPassword1" -x AES -X "PrivPassword1" <target> hm2LogPersistMaxFileSize.1
Start monitoring Hirschmann HiOS industrial switch (logging/syslog config) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the HM2-LOGGING-MIB::hm2LogPersistMaxFileSize OID value, configure state conditions and alerts, and monitor any Hirschmann HiOS industrial switch (logging/syslog config) from a single console.
OID Breakdown
Upper-level ancestors (8 from the standard OID tree / other modules)
| Numeric OID | Name | Module |
|---|---|---|
| 1 | iso | LANART-AGENT |
| 1.3 | org | AirPair-MIB |
| 1.3.6 | dod | AirPair-MIB |
| 1.3.6.1 | internet | AirPair-MIB |
| 1.3.6.1.4 | private | AirPair-MIB |
| 1.3.6.1.4.1 | enterprises | AirPair-MIB |
| 1.3.6.1.4.1.248 | hirschmann | HM2-TC-MIB |
| 1.3.6.1.4.1.248.11 | hm2ConfigurationMibs | HM2-TC-MIB |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.248.11.23 | hm2LoggingMib | HM2-LOGGING-MIB |
| 1.3.6.1.4.1.248.11.23.1 | hm2LoggingMibObjects | HM2-LOGGING-MIB |
| 1.3.6.1.4.1.248.11.23.1.6 | hm2LogPersistentGroup | HM2-LOGGING-MIB |
| 1.3.6.1.4.1.248.11.23.1.6.2 | hm2LogPersistMaxFileSize | HM2-LOGGING-MIB |