Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
23.1 Legacy Series
»
*SOLVED * dpinger - two instances but only single gateway to monitor
« previous
next »
Print
Pages: [
1
]
Author
Topic: *SOLVED * dpinger - two instances but only single gateway to monitor (Read 1426 times)
stefan21
Full Member
Posts: 104
Karma: 10
*SOLVED * dpinger - two instances but only single gateway to monitor
«
on:
March 24, 2023, 12:57:11 pm »
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.
«
Last Edit: March 25, 2023, 12:15:55 pm by stefan21
»
Logged
franco
Administrator
Hero Member
Posts: 17668
Karma: 1611
Re: dpinger - two instances but only single gateway to monitor
«
Reply #1 on:
March 24, 2023, 01:53:13 pm »
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
Logged
stefan21
Full Member
Posts: 104
Karma: 10
Re: dpinger - two instances but only single gateway to monitor
«
Reply #2 on:
March 24, 2023, 04:10:36 pm »
Hi Franco,
thank's for hopping on.
The result of the grep is "3".
regards,
stefan
Logged
stefan21
Full Member
Posts: 104
Karma: 10
Re: dpinger - two instances but only single gateway to monitor
«
Reply #3 on:
March 25, 2023, 01:23:42 am »
@Franco
What do you suggest to get rid of the error?
Logged
Greelan
Hero Member
Posts: 1028
Karma: 72
Re: dpinger - two instances but only single gateway to monitor
«
Reply #4 on:
March 25, 2023, 04:55:58 am »
I’d guess remove the duplicate from config.xml
Logged
stefan21
Full Member
Posts: 104
Karma: 10
Re: dpinger - two instances but only single gateway to monitor
«
Reply #5 on:
March 25, 2023, 11:26:10 am »
Thank's for helping. That'll be easy. I didn't know that editing the config in a life system is possible.
Logged
franco
Administrator
Hero Member
Posts: 17668
Karma: 1611
Re: *SOLVED * dpinger - two instances but only single gateway to monitor
«
Reply #6 on:
March 27, 2023, 09:18:26 pm »
23.1.4 actually has a small patch to prevent duplicate gateway creation from the interfaces page which is the likely culprit.
Cheers,
Franco
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
23.1 Legacy Series
»
*SOLVED * dpinger - two instances but only single gateway to monitor