Problem monitoring Nagios server stats from API
Posted: Fri Dec 26, 2025 11:06 pm
Hi - I thought I'd quickly monitor the nagios server stats (load, io,etc) using the Monitor Remote Nagios Server config wizard.
All the commands that use an API are returning "Error: Could not parse JSON from http://nagios-server ()
I've tried it with a different admin user API key but no difference.
I tried running a curl command from the command line with one of the API keys and that returned the expected information.
So I know that the API works, just not the command used by the config wizard which is check_nagiosxiserver.php
I also created another host using the localhost details and it also returns the same error.
I'm running Nagios XI 2026R1 on Oracle Linux 9
All the commands that use an API are returning "Error: Could not parse JSON from http://nagios-server ()
I've tried it with a different admin user API key but no difference.
I tried running a curl command from the command line with one of the API keys and that returned the expected information.
So I know that the API works, just not the command used by the config wizard which is check_nagiosxiserver.php
I also created another host using the localhost details and it also returns the same error.
I'm running Nagios XI 2026R1 on Oracle Linux 9