*SOLVED * dpinger - two instances but only single gateway to monitor

Started by stefan21, March 24, 2023, 12:57:11 PM

Previous topic - Next topic
OPNsense 23.1.4_1-amd64
FreeBSD 13.1-RELEASE-p7
OpenSSL 1.1.1t 7 Feb 2023

Box is defined as exposed host, sitting behind a fritzbox, ISP is Vodafone Germany.

Two single gateways configured:

Name    Interface    Protocol    Priority    Gateway    Monitor IP    RTT    RTTd    Loss    Status    Description    
      WAN_GWv4 (active)    WAN    IPv4    240 (upstream)    130.1.1.1    130.1.1.1    0.3 ms    0.0 ms    0.0 %    Online
   Interface WAN Gateway    
      WAN_DHCP6 (active)    WAN    IPv6    254          ~    ~    ~    Online
   Interface WAN_DHCP6 Gateway

The dashboard shows under services two dpinger instances:

dpinger    Gateway Monitor (WAN_GWv4)    
dpinger    Gateway Monitor (WAN_GWv4)

Has anybody a clue why?

I have a nearly identical box showing only one dpinger instance.

Thank's for any help to understand.

You probably have a duplicated gateway in the config.xml?

# grep -c "<gateway_item>" /conf/config.xml

How many gateways does it have?


Cheers,
Franco

Hi Franco,

thank's for hopping on.

The result of the grep is "3".

regards,
stefan



Thank's for helping. That'll be easy. I didn't know that editing the config in a life system is possible.

23.1.4 actually has a small patch to prevent duplicate gateway creation from the interfaces page which is the likely culprit.


Cheers,
Franco