All MIBs › HUAWEI-DATASYNC-MIB › hwCollectInScriptFile
hwCollectInScriptFile
Module: HUAWEI-DATASYNC-MIB
OID (symbolic): HUAWEI-DATASYNC-MIB::hwCollectInScriptFile
OID (numeric): 1.3.6.1.4.1.2011.5.25.191.2.2.1.4
Node type: OBJECT-TYPE
Type: OCTET STRING
Access: read-write
Description: This object indicates the name of the script file. T he length of the file name ranges from 1 character to 255 characters.
What is hwCollectInScriptFile?
This sets the name of the script file to be executed for this data collection task. An admin or NMS uploads a script to the device beforehand and then references its filename here to trigger that specific collection routine. For example, setting this to collect_interfaces.sh tells the device to run that script when the collection is started.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.2011.5.25.191.2.2.1.4 snmpwalk -v2c -c public <target> HUAWEI-DATASYNC-MIB::hwCollectInScriptFile
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.2011.5.25.191.2.2.1.4.1 snmpget -v2c -c public <target> HUAWEI-DATASYNC-MIB::hwCollectInScriptFile.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.4.1.2011.5.25.191.2.2.1.4.1 s <value>
Start monitoring Huawei router or switch with redundant (active/standby) control processors with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the HUAWEI-DATASYNC-MIB::hwCollectInScriptFile OID value, configure state conditions and alerts, and monitor any Huawei router or switch with redundant (active/standby) control processors from a single console.
OID Breakdown
Upper-level ancestors (9 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.2011 | huawei | EXPERTV2-MIB |
| 1.3.6.1.4.1.2011.5 | huaweiMgmt | HUAWEI-3COM-OID-MIB |
| 1.3.6.1.4.1.2011.5.25 | huaweiDatacomm | HUAWEI-3COM-OID-MIB |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.2011.5.25.191 | hwDataSync | HUAWEI-DATASYNC-MIB |
| 1.3.6.1.4.1.2011.5.25.191.2 | hwDataSyncTableObjects | HUAWEI-DATASYNC-MIB |
| 1.3.6.1.4.1.2011.5.25.191.2.2 | hwCollectTable | HUAWEI-DATASYNC-MIB |
| 1.3.6.1.4.1.2011.5.25.191.2.2.1 | hwCollectEntry | HUAWEI-DATASYNC-MIB |
| 1.3.6.1.4.1.2011.5.25.191.2.2.1.4 | hwCollectInScriptFile | HUAWEI-DATASYNC-MIB |