All MIBs › FSCAN-MIB2 › pattern
pattern
Module: FSCAN-MIB2
OID (symbolic): FSCAN-MIB2::pattern
OID (numeric): 1.3.6.1.4.1.42.2.12.2.2.24.1.3.1.4
Node type: OBJECT-TYPE
Type: DisplayString
Access: read-write
Description: The regular expression pattern
What is pattern?
This DisplayString holds the regular expression that the fscan agent applies to each new line of the monitored file for this table entry. An admin writes or updates this regex to define exactly what text pattern should increment the matches and total counters for that row, tuning it to catch a specific log message without over-matching unrelated lines. For example, an admin might set this to a regex matching the string 'ERROR' followed by a specific subsystem name to isolate alerts from one component.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.42.2.12.2.2.24.1.3.1.4 snmpwalk -v2c -c public <target> FSCAN-MIB2::pattern
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.42.2.12.2.2.24.1.3.1.4.1 snmpget -v2c -c public <target> FSCAN-MIB2::pattern.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.4.1.42.2.12.2.2.24.1.3.1.4.1 s <value>
SNMPv3 example:
snmpget -v3 -l authPriv -u snmpv3-user -a SHA -A "AuthPassword1" -x AES -X "PrivPassword1" <target> pattern.1
Start monitoring Sun Microsystems/Oracle Solaris server running Sun Management Center (file/filesystem capacity scan) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the FSCAN-MIB2::pattern OID value, configure state conditions and alerts, and monitor any Sun Microsystems/Oracle Solaris server running Sun Management Center (file/filesystem capacity scan) from a single console.
OID Breakdown
Upper-level ancestors (11 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.42 | sun | AGENT-STATS-MIB2 |
| 1.3.6.1.4.1.42.2 | prod | AGENT-STATS-MIB2 |
| 1.3.6.1.4.1.42.2.12 | sunsymon | AGENT-STATS-MIB2 |
| 1.3.6.1.4.1.42.2.12.2 | agent | AGENT-STATS-MIB2 |
| 1.3.6.1.4.1.42.2.12.2.2 | modules | AGENT-STATS-MIB2 |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.42.2.12.2.2.24 | fscan | FSCAN-MIB2 |
| 1.3.6.1.4.1.42.2.12.2.2.24.1 | fscanstats | FSCAN-MIB2 |
| 1.3.6.1.4.1.42.2.12.2.2.24.1.3 | scanTable | FSCAN-MIB2 |
| 1.3.6.1.4.1.42.2.12.2.2.24.1.3.1 | scanEntry | FSCAN-MIB2 |
| 1.3.6.1.4.1.42.2.12.2.2.24.1.3.1.4 | pattern | FSCAN-MIB2 |