Skip to content

net-mgmt/nrpe: allow hostnames in allowed_hosts#5305

Open
bkmorale wants to merge 1 commit intoopnsense:masterfrom
bkmorale:net-mgmt/nrpe-allow-hostnames
Open

net-mgmt/nrpe: allow hostnames in allowed_hosts#5305
bkmorale wants to merge 1 commit intoopnsense:masterfrom
bkmorale:net-mgmt/nrpe-allow-hostnames

Conversation

@bkmorale
Copy link

@bkmorale bkmorale commented Mar 9, 2026

Important notices
Before you submit a pull request, we ask you kindly to acknowledge the following:

If AI was used, please disclose:

  • Model used: Gemni 3
  • Extent of AI involvement:
  • Helped to locate allowed_host entry and General.xml file in src

Related issue
If this pull request relates to an issue, link it here:
#4932


Describe the problem
I have noticed that when using NRPE in opnsense I am unable to add an allowed host that is a DNS entry and provides the error "Please specify a valid network segment or IP address." the current workaround I have is to manually update the nrpe file and add the DNS in the config file. the plugin will then work as expected but will break should anyone make changes to the NRPE config in the opnsense UI.

I have done this with existing servers in production and with newly deployed systems along with lab systems, I can confirm this is applicable to anything on version OPNsense 25.7.0 and above


Describe the proposed solution
Updated the General.xml to allow hostname entries in the allowed_host field


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant