Closed arkaditya closed 1 year ago
@arkaditya The error seems not related to the multiple vrrp_instances and seems it's related to the vrrp script
Can you please share the keepalive version and also the /tmp/keepalived.data
file?
keepalived -version Keepalived v1.3.5 (03/19,2017), git commit v1.3.5-6-g6fa32f2
There is not /tmp/keepalived.data. I think it's because the same chk script is used for both interfaces. If I create a different chk script , and map them to corresponding interfaces. The curl works fine
vrrp_script chk_haproxy => VI4_1 vrrp_script chk_haproxy2 => VI4_2
@clwluvw Could you please review this issue?
This only happens in v1.3.5 (old versions) while using the same script in multi vrrp_instances
.
Keepalived will dump the stats for the script on each vrrp_instance
and then when we register the metric for the script, it causes duplication.
@mehdy Should we still support old versions? Related: #47
@clwluvw Thanks!
I think we should support older versions as well but I'm not sure if it's necessary now.
I'm closing the issue but if anyone reopened the issue we'll do it then.
Hi , I have two virtual ipv4 interfaces (internal and external network). I am running the keepalived-exporter as a service . It works absolutely fine when there's just one interface. But with two interfaces, I am getting the following error when doing curl:
---------- keepalived.conf-----------
Should I change the internal code someplace so that it takes just one of the vrrp_instance instead ?