Watchguard ports cannnot found

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Post Reply
fanis_imetrix
Posts: 14
Joined: Thu Feb 29, 2024 7:05 am

Watchguard ports cannnot found

Post by fanis_imetrix »

Hi everyone,

I'm trying to monitor my WatchGuard firewall using the Nagios XI wizard. I followed these steps:

Enabled SNMP on my WatchGuard and configured the community strings.
Used the WatchGuard wizard in Nagios XI to add the device.
Selected the ports I want to monitor and completed the wizard.
After completing the wizard, I cannot find the ports I selected for monitoring anywhere in Nagios XI.

Can anyone help?

Best regards
gwesterman
Posts: 268
Joined: Wed Aug 23, 2023 11:29 am

Re: Watchguard ports cannnot found

Post by gwesterman »

Hi @fanis_imetrix,

Where have you looked for the ports? They should have been added as services on the Watchguard host after you finished the wizard. Check these two places:
1. Home -> Details -> Service (or Host) Status and navigate to your newly added watchguard host and check for the ports as services.
2. CCM -> Services and look for services with the Config Name being the name of your Watchguard host and Service Descriptions matching the added ports.

Let us know if you see them in both, one, or neither of these places. If you don't see them in both, please provide your XI version, OS distribution, and any relevant errors you encountered (e.g. the php error log).

Thank you!
fanis_imetrix
Posts: 14
Joined: Thu Feb 29, 2024 7:05 am

Re: Watchguard ports cannnot found

Post by fanis_imetrix »

Hi @gwesterman,

Thanks for the reply!
I checked both destinations to find the port but nothing.
I only see these services:
Active Connections
CPU Usage
Ping
Received Packets
Sent Packets
Stream Drops
Stream Requests
Total Received Bytes
Total Sent Bytes

The os that running the Nagios is CentOS Linux release 7.9.2009 (Core) aand the Nagios version is Nagios XI 2024R1.0.2

Best Regards
gwesterman
Posts: 268
Joined: Wed Aug 23, 2023 11:29 am

Re: Watchguard ports cannnot found

Post by gwesterman »

Hi again @fanis_imetrix,

I am able to replicate your issue, and have filed a ticket internally.

Thank you for the report!

I'll try to get back to you if I can find a band aid solution in the meantime.
fanis_imetrix
Posts: 14
Joined: Thu Feb 29, 2024 7:05 am

Re: Watchguard ports cannnot found

Post by fanis_imetrix »

Hi @gwesterman,

Thank you very much!

I am waiting for your response.

Best regards
fanis_imetrix
Posts: 14
Joined: Thu Feb 29, 2024 7:05 am

Re: Watchguard ports cannnot found

Post by fanis_imetrix »

Hi all,

do we have any news on the subject?
bbahn
Posts: 380
Joined: Thu Jan 12, 2023 5:42 pm

Re: Watchguard ports cannnot found

Post by bbahn »

Hello @fanis_imetrix,

Our dev team has many priorities including many feature requests and bug fixes. If you would like to raise the priority of this particular issue, you can open a case here: https://answerhub.nagios.com/support/s/. Otherwise, we will get to this issue when we can.
Actively advancing awesome answers with ardent alliteration, aptly addressing all ambiguities. Amplify your acumen and avail our amicable assistance. Eagerly awaiting your astute assessments of our advice.
gwesterman
Posts: 268
Joined: Wed Aug 23, 2023 11:29 am

Re: Watchguard ports cannnot found

Post by gwesterman »

Hi @fanis_imetrix,

I have found a bandaid solution that should fix your issue for the time being. You will have to keep an eye on our changelog for a permanent fix here. I cannot give an estimate on when this will be and you may have to re-run these steps if you want to use this wizard again after upgrading.

Change lines 403 and 404 in the file watchguard.inc.php (nagiosxi/html/includes/configwizards/watchguard/watchguard.inc.php) from:

Code: Select all

$services_serial = grab_array_var($inargs, "services_serial", base64_encode(json_encode($services)));
$serviceargs_serial = grab_array_var($inargs, "serviceargs_serial", base64_encode(json_encode($serviceargs)));
to:

Code: Select all

$services_serial = grab_array_var($inargs, "", base64_encode(json_encode($services)));
$serviceargs_serial = grab_array_var($inargs, "", base64_encode(json_encode($serviceargs)));
and rerun the wizard.

Let us know if this works for you or not, and please reach out if you have any additional questions.

Thank you!
Post Reply