MLM-MIB :: mlmScriptWrite

MIB Reference — IPNetwork Monitor · Updated October 06, 2026

All MIBs › MLM-MIB › mlmScriptWrite

mlmScriptWrite

Module: MLM-MIB

OID (symbolic): MLM-MIB::mlmScriptWrite

OID (numeric): 1.3.6.1.4.1.99.42.1.2

Node type: OBJECT-TYPE

Type: INTEGER

Access: read-write

Description: This variable is used to instruct the MLM to write a script stored in the mlmScriptTable to non-volatile storage. This is done by performing a set on the variable. The value to which it is set should be the index of a row in the mlmCompileTable, which should contain a non-zero value for mlmScriptNumber, and a non-empty value for mlmScriptName. If these two values are not set, the set will fail with a BAD_VALUE_ERROR. Otherwise, the script in the mlmScriptTable referenced by the value of mlmScriptNumber is written to non-volatile memory using the name in mlmScriptName, and the value of mlmScriptNumber is set to 0. In addition, any other entries in the mlmCompileTable whose values for mlmScriptNumber and mlmScriptName match those for the row being written will also have their values for mlmScriptNumber set to 0. Finally, if there are no more references to the script stored in the mlmScriptTable, the script will be removed.

The value returned for this variable on a get request should be the last value it was successfully set to, or zero (0) if it has never been set.

What is mlmScriptWrite?

Setting this to the index of an mlmCompileTable row instructs the Mid-Level-Manager to write that row's referenced script out to non-volatile storage under the name in mlmScriptName; the agent resets the value to 0 once the write completes, and a get returns the last successfully written index or 0 if never used.

Examples

Walk all instances (SNMPv2c):

snmpwalk -v2c -c public <target> 1.3.6.1.4.1.99.42.1.2
snmpwalk -v2c -c public <target> MLM-MIB::mlmScriptWrite

Get a specific instance (index 1):

snmpget -v2c -c public <target> 1.3.6.1.4.1.99.42.1.2.1
snmpget -v2c -c public <target> MLM-MIB::mlmScriptWrite.1

Set instance 1 (SNMPv2c):

snmpset -v2c -c private <target> 1.3.6.1.4.1.99.42.1.2.1 i <value>

Start monitoring SNMP Research Mid-Level Manager / proxy management system with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the MLM-MIB::mlmScriptWrite OID value, configure state conditions and alerts, and monitor any SNMP Research Mid-Level Manager / proxy management system from a single console.

OID Breakdown

Upper-level ancestors (7 from the standard OID tree / other modules)
Numeric OIDNameModule
1isoLANART-AGENT
1.3orgAirPair-MIB
1.3.6dodAirPair-MIB
1.3.6.1internetAirPair-MIB
1.3.6.1.4privateAirPair-MIB
1.3.6.1.4.1enterprisesAirPair-MIB
1.3.6.1.4.1.99snmp_researchCMU-MIB
Numeric OIDNameModule
1.3.6.1.4.1.99.42mlmMIBMLM-MIB
1.3.6.1.4.1.99.42.1mlmMIBObjectsMLM-MIB
1.3.6.1.4.1.99.42.1.2mlmScriptWriteMLM-MIB