Page 1 of 1
Watchguard ports cannnot found
Posted: Mon Jun 10, 2024 6:05 am
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
Re: Watchguard ports cannnot found
Posted: Mon Jun 10, 2024 9:24 am
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!
Re: Watchguard ports cannnot found
Posted: Tue Jun 11, 2024 4:37 am
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
Re: Watchguard ports cannnot found
Posted: Tue Jun 11, 2024 11:48 am
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.
Re: Watchguard ports cannnot found
Posted: Wed Jun 12, 2024 7:01 am
by fanis_imetrix
Hi @gwesterman,
Thank you very much!
I am waiting for your response.
Best regards
Re: Watchguard ports cannnot found
Posted: Mon Jun 17, 2024 6:23 am
by fanis_imetrix
Hi all,
do we have any news on the subject?
Re: Watchguard ports cannnot found
Posted: Mon Jun 17, 2024 10:39 am
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.
Re: Watchguard ports cannnot found
Posted: Mon Jun 17, 2024 10:43 am
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!