Error: api_tool.php on line 138
Posted: Thu Dec 06, 2018 3:36 am
Hi guys,
Our Nagios has a full disk and the cause is this log file:
- /usr/local/nagiosxi/var/cmdsubsys.log
The information of that file is:
- PHP Warning: Illegal string offset 'is_currently_running' in /usr/local/nagiosxi/html/includes/components/nagiosbpi/api_tool.php on line 138
Script line 138:
Can you help us please ?
Thanks
Our Nagios has a full disk and the cause is this log file:
- /usr/local/nagiosxi/var/cmdsubsys.log
The information of that file is:
- PHP Warning: Illegal string offset 'is_currently_running' in /usr/local/nagiosxi/html/includes/components/nagiosbpi/api_tool.php on line 138
Script line 138:
Code: Select all
// Verify ndo and core are running and loaded
$data = get_program_status_xml_output(array(), true);
if ($data['is_currently_running'] == 1) {
$is_running = true;
} else {
sleep(1);
}Thanks