Code: Select all
PHP Warning: Invalid argument supplied for foreach() in /usr/local/nagios/nagiosxi/html/includes/configwizards/ncpa/ncpa.inc.php on line 391, referer: https://m5labnagios01.gcsc.att.com:8443/nagiosxi/config/monitoringwizard.php?update=1&nextstep=2&nsp=XXXXXXXXXXXXXXXXXXXXXXX&wizard=ncpaCode: Select all
foreach ($root['services'] as $service => $status) {
$service_list .= '<option value="' . $service . '" data-status="' . $status . '">' . $service . ' (' . $status . ')</option>';
}
Code: Select all
PHP Notice: Undefined index: service in /usr/local/nagios/nagiosxi/html/includes/configwizards/ncpa/ncpa.inc.php on line 149, referer: If I manually navigate to the "api/services" part of the API tree (e.g. http://myserver.com:5693/api/services), I do get a listing for the Linux and Windows servers.