All MIBs › KEEPALIVED-MIB › vrrpInstanceBasePriority
vrrpInstanceBasePriority
Module: KEEPALIVED-MIB
OID (symbolic): KEEPALIVED-MIB::vrrpInstanceBasePriority
OID (numeric): 1.3.6.1.4.1.9586.100.5.2.3.1.7
Node type: OBJECT-TYPE
Type: Integer32
Access: read-write
Description: Base priority (as defined in the configuration file) for this VRRP instance.
This value can be modified to force the virtual router instance to become backup or master.
What is vrrpInstanceBasePriority?
The VRRP priority (1-254) configured for this instance in keepalived.conf, before any tracking-script or interface adjustments are applied. Admins can write a new value here to force this instance to become backup (lower number) or master (higher number) relative to its peers.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.9586.100.5.2.3.1.7 snmpwalk -v2c -c public <target> KEEPALIVED-MIB::vrrpInstanceBasePriority
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.9586.100.5.2.3.1.7.1 snmpget -v2c -c public <target> KEEPALIVED-MIB::vrrpInstanceBasePriority.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.4.1.9586.100.5.2.3.1.7.1 i <value>
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::vrrpInstanceBasePriority 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.7 | vrrpInstanceBasePriority | KEEPALIVED-MIB |