All MIBs › KEEPALIVED-MIB › vrrpInstanceScript
vrrpInstanceScript
Module: KEEPALIVED-MIB
OID (symbolic): KEEPALIVED-MIB::vrrpInstanceScript
OID (numeric): 1.3.6.1.4.1.9586.100.5.2.3.1.26
Node type: OBJECT-TYPE
Type: DisplayString
Access: read-only
Description: Script to execute whenever a state change occurs.
What is vrrpInstanceScript?
The path to a script keepalived runs on any state change of this VRRP instance, regardless of which state it moves to. Admins use this as a catch-all hook, often just for logging every transition of this instance.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.9586.100.5.2.3.1.26 snmpwalk -v2c -c public <target> KEEPALIVED-MIB::vrrpInstanceScript
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.9586.100.5.2.3.1.26.1 snmpget -v2c -c public <target> KEEPALIVED-MIB::vrrpInstanceScript.1
SNMPv3 example:
snmpget -v3 -l authPriv -u snmpv3-user -a SHA -A "AuthPassword1" -x AES -X "PrivPassword1" <target> vrrpInstanceScript.1
Start monitoring Linux server running keepalived (VRRP high availability) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the KEEPALIVED-MIB::vrrpInstanceScript OID value, configure state conditions and alerts, and monitor any Linux server running keepalived (VRRP high availability) from a single console.
OID Breakdown
Upper-level ancestors (6 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 |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.9586 | debian | KEEPALIVED-MIB |
| 1.3.6.1.4.1.9586.100 | project | KEEPALIVED-MIB |
| 1.3.6.1.4.1.9586.100.5 | keepalived | KEEPALIVED-MIB |
| 1.3.6.1.4.1.9586.100.5.2 | vrrp | KEEPALIVED-MIB |
| 1.3.6.1.4.1.9586.100.5.2.3 | vrrpInstanceTable | KEEPALIVED-MIB |
| 1.3.6.1.4.1.9586.100.5.2.3.1 | vrrpInstanceEntry | KEEPALIVED-MIB |
| 1.3.6.1.4.1.9586.100.5.2.3.1.26 | vrrpInstanceScript | KEEPALIVED-MIB |