KEEPALIVED-MIB :: realServerWeight

MIB Reference — IPNetwork Monitor · Updated October 06, 2026

All MIBs › KEEPALIVED-MIB › realServerWeight

realServerWeight

Module: KEEPALIVED-MIB

OID (symbolic): KEEPALIVED-MIB::realServerWeight

OID (numeric): 1.3.6.1.4.1.9586.100.5.3.4.1.7

Node type: OBJECT-TYPE

Type: Integer32

Access: read-write

Description: Weight of this real server.

This value can be set to 0 to disable the real server.

What is realServerWeight?

The relative weight assigned to this real server for weighted load-balancing algorithms, where a higher number gets a proportionally larger share of traffic; setting this to 0 effectively removes the server from rotation without deleting its configuration. Admins write 0 here to gracefully drain a server for maintenance.

Examples

Walk all instances (SNMPv2c):

snmpwalk -v2c -c public <target> 1.3.6.1.4.1.9586.100.5.3.4.1.7
snmpwalk -v2c -c public <target> KEEPALIVED-MIB::realServerWeight

Get a specific instance (index 1):

snmpget -v2c -c public <target> 1.3.6.1.4.1.9586.100.5.3.4.1.7.1
snmpget -v2c -c public <target> KEEPALIVED-MIB::realServerWeight.1

Set instance 1 (SNMPv2c):

snmpset -v2c -c private <target> 1.3.6.1.4.1.9586.100.5.3.4.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::realServerWeight 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 OIDNameModule
1isoLANART-AGENT
1.3orgAirPair-MIB
1.3.6dodAirPair-MIB
1.3.6.1internetAirPair-MIB
1.3.6.1.4privateAirPair-MIB
1.3.6.1.4.1enterprisesAirPair-MIB
Numeric OIDNameModule
1.3.6.1.4.1.9586debianKEEPALIVED-MIB
1.3.6.1.4.1.9586.100projectKEEPALIVED-MIB
1.3.6.1.4.1.9586.100.5keepalivedKEEPALIVED-MIB
1.3.6.1.4.1.9586.100.5.3checkKEEPALIVED-MIB
1.3.6.1.4.1.9586.100.5.3.4realServerTableKEEPALIVED-MIB
1.3.6.1.4.1.9586.100.5.3.4.1realServerEntryKEEPALIVED-MIB
1.3.6.1.4.1.9586.100.5.3.4.1.7realServerWeightKEEPALIVED-MIB