Solved

Can't get a value with keepalived plugins

  • 1 September 2022
  • 3 replies
  • 47 views

Userlevel 2
Badge +8

Hello everyone i have an issue, i can ping the VIP, but i cant get a single value with the plugin keepalived even if the service is working. Thanks for your answers !

Keepalived config:

Config centreon:

CsiI0mCKqsDtTzEu7ndriNXMyP1ZZ1IEp9tZjDDJifnpyE0fp9Nvi4yn8C58vNQCEWAn1_HR4n9YiWh3IXEx82E3AGiqRwrDZybdRLG5UdLcE52UacHyVDjxUKl_k2K9RzgxgMnY6E3NLZ00qSXo7cA

icon

Best answer by Cyril_31 7 September 2022, 10:08

View original

3 replies

Userlevel 6
Badge +17

Hi, 

 

Please make sure you checked this link: https://www.keepalived.org/doc/snmp_support.html

 

The error you got means that the Keepalived SNMP OIDs are not available, probably because some SNMP configuration steps are missing.

 

Thanks​​​​

Userlevel 2
Badge +8

Hi, 

 

Please make sure you checked this link: https://www.keepalived.org/doc/snmp_support.html

 

The error you got means that the Keepalived SNMP OIDs are not available, probably because some SNMP configuration steps are missing.

 

Thanks​​​​

Hi I have configured everything but it doesnt work, what i have done wrong ? thanks for your answers

the configuration:

 

Badge +3

Hi, for your configuration, try:

 

Replace your global_defs by:

global_defs {

enable_snmp_keepalived

}

And on your keepalived client, in the snmpd.conf, add:

master agentx

then, restart service snmpd

 

This configuration works for me.

 

 

 

 

Reply