pCaptureFileUrl
MX-NLM-MIB ·
.0.1100.1.500.500
Object
scalar r/w
OctetString
Packet Capture File URL
URL where to send the packet capture. The URL should follow
this format:
protocol://[user[:password]@]hostname[:port]/[path/]filename
The brackets [] indicate an optional parameter.
The filename may only be composed of alphanumerical and
'-._%$' characters as well as macros. The macros used in this
field are replaced by the unit's MAC address or date/time of
when the capture was started.
The supported macros are:
* %mac% - the MAC address of the unit.
* %date% - the date if the capture start in format YYYYMMDD.
* %time% - the time if the capture start in format hhmmss.
The supproted transfer protocols are:
* HTTP
* HTTPS
* FILE
Examples of valid URLs:
* http://httpserver.com:69/folder/capture.pcap
* http://guest@httpserver.com/
capture_%mac%_%date%_%time%.pcap
* https://username:password@httpserver.com/capture.pcap
* file://capture.pcap
The protocol default port is used if none is specified.
Context
- MIB
- MX-NLM-MIB
- OID
.0.1100.1.500.500- Type
- scalar
- Access
- readwrite
- Status
- current
- Parent
- pCaptureGroup
Net-SNMP examples
How SNMP and these commands workScalars have one instance, identified by the .0 suffix.
Read the scalar instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'MX-NLM-MIB' -M '/opt/observium/mibs/media5:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'MX-NLM-MIB::pCaptureFileUrl.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'MX-NLM-MIB' -M '/opt/observium/mibs/media5:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'MX-NLM-MIB::pCaptureFileUrl'
Syntax
OctetString
Values & Constraints
Object Constraints
range: 0-512