Code: Select all
/usr/local/nagiosfusion/cron/poll_subsys.php --debug --server 61 --user nagiosadmin
OPERATING IN DEBUG MODE
2019-02-21 09:28:15[s: 0, u: 0] poll_subsys() called at 1550734095
2019-02-21 09:28:15[s: 0, u: 0] poll_subsys(): Not yet time to poll server, polled_time: 1550733882
2019-02-21 09:28:15[s: 0, u: 0] poll_subsys(): using php memory limit: 128M
2019-02-21 09:28:24[s: 0, u: 0] live_data_timeout: 180
2019-02-21 09:28:24[s: 0, u: 0] URL: http://10.10.10.10/nagiosxi/api/v1/objects/bpi?fusekey=Aa123456&outputtype=xml&user=nagiosadmin
2019-02-21 09:28:24[s: 0, u: 0] <?xml version="1.0" encoding="iso-8859-1"?>
<bpigroups>
<group id='linux-servers'>
<name>linux-servers</name>
<title>HG: linux-servers</title>
<type>hostgroup</type>
<status_text>Group health is 100% with 0 problem(s).</status_text>
<current_state>0</current_state>
<problems>0</problems>
<health>100.00</health>
<warning>0</warning>
<critical>0</critical>
</group>
<group id='all_dell_openmanage_oob_servers'>
<name>all_dell_openmanage_oob_servers</name>
<title>SG: all_dell_openmanage_oob_servers</title>
<type>servicegroup</type>
<status_text>Group health is 75% with 3 problem(s).</status_text>
<current_state>0</current_state>
<problems>3</problems>
<health>75.00</health>
<warning>0</warning>
<critical>0</critical>
</group>
</bpigroups>
2019-02-21 09:28:24[s: 0, u: 0] runtime: 9 seconds
2019-02-21 09:28:46[s: 0, u: 0] live_data_timeout: 180
2019-02-21 09:28:46[s: 0, u: 0] URL: http://10.10.10.10/nagiosxi/api/v1/objects/hoststatus?fusekey=Aa123456&outputtype=xml&user=nagiosadmin&records=1000:0?brevity=1
2019-02-21 09:28:46[s: 0, u: 0] runtime: 22 seconds
2019-02-21 09:28:47[s: 0, u: 0] live_data_timeout: 180
2019-02-21 09:28:47[s: 0, u: 0] URL: http://10.10.10.10/nagiosxi/api/v1/objects/hoststatus?fusekey=Aa123456&outputtype=xml&user=nagiosadmin&records=1000:1000&brevity=1
2019-02-21 09:28:47[s: 0, u: 0] runtime: 1 seconds
2019-02-21 09:31:47[s: 0, u: 0] live_data_timeout: 180
2019-02-21 09:31:47[s: 0, u: 0] URL: http://10.10.10.10/nagiosxi/api/v1/objects/servicestatus?fusekey=Aa123456&outputtype=xml&user=nagiosadmin&records=1000:0?brevity=1
2019-02-21 09:31:47[s: 0, u: 0] runtime: 180 seconds
2019-02-21 09:31:47[s: 0, u: 0] poll_server() unable to poll data for s:TEST, u:nagiosadmin, poll:servicestatus
2019-02-21 09:31:47[s: 0, u: 0] poll_server() CHECK YOUR LIVE_DATA_TIMEOUT SETTINGS. IT MAY NEED INCREASED
2019-02-21 09:31:48[s: 0, u: 0] live_data_timeout: 180
2019-02-21 09:31:48[s: 0, u: 0] URL: http://10.10.10.10/nagiosxi/api/v1/system/status?fusekey=Aa123456&outputtype=xml
2019-02-21 09:31:48[s: 0, u: 0] runtime: 1 seconds
2019-02-21 09:31:53[s: 0, u: 0] live_data_timeout: 180
2019-02-21 09:31:53[s: 0, u: 0] URL: http://10.10.10.10/nagiosxi/api/v1/system/user?fusekey=Aa123456&outputtype=xml
2019-02-21 09:31:53[s: 0, u: 0] runtime: 5 seconds
2019-02-21 09:31:54[s: 0, u: 0] live_data_timeout: 180
2019-02-21 09:31:54[s: 0, u: 0] URL: http://10.10.10.10/nagiosxi/api/v1/system/info?fusekey=Aa123456&outputtype=xml
2019-02-21 09:31:54[s: 0, u: 0] runtime: 1 seconds
2019-02-21 09:31:57[s: 0, u: 0] live_data_timeout: 180
2019-02-21 09:31:57[s: 0, u: 0] URL: http://10.10.10.10/nagiosxi/api/v1/objects/logentries?logentry_type=in:1024,2048,4096,8192,32768,65536,16384&fusekey=Aa123456&outputtype=xml&user=nagiosadmin&starttime=1550733882&endtime=1550734095
2019-02-21 09:31:57[s: 0, u: 0] runtime: 3 seconds
2019-02-21 09:31:58[s: 0, u: 0] live_data_timeout: 180
2019-02-21 09:31:58[s: 0, u: 0] URL: http://10.10.10.10/nagiosxi/api/v1/objects/hostgroupmembers?fusekey=Aa123456&outputtype=xml&user=nagiosadmin&records=1000:0
2019-02-21 09:31:58[s: 0, u: 0] runtime: 1 seconds
2019-02-21 09:32:00[s: 0, u: 0] live_data_timeout: 180
2019-02-21 09:32:00[s: 0, u: 0] URL: http://10.10.10.10/nagiosxi/api/v1/objects/hostgroupmembers?fusekey=Aa123456&outputtype=xml&user=nagiosadmin&records=1000:1000
2019-02-21 09:32:00[s: 0, u: 0] runtime: 2 seconds
2019-02-21 09:32:01[s: 0, u: 0] live_data_timeout: 180
2019-02-21 09:32:01[s: 0, u: 0] URL: http://10.10.10.10/nagiosxi/api/v1/objects/hostgroup?fusekey=Aa123456&outputtype=xml&user=nagiosadmin&records=1000:0
2019-02-21 09:32:01[s: 0, u: 0] runtime: 1 seconds
2019-02-21 09:32:01[s: 0, u: 0] live_data_timeout: 180
2019-02-21 09:32:01[s: 0, u: 0] URL: http://10.10.10.10/nagiosxi/api/v1/objects/hostgroup?fusekey=Aa123456&outputtype=xml&user=nagiosadmin&records=1000:1000
2019-02-21 09:32:01[s: 0, u: 0] runtime: 0 seconds
2019-02-21 09:32:03[s: 0, u: 0] live_data_timeout: 180
2019-02-21 09:32:03[s: 0, u: 0] URL: http://10.10.10.10/nagiosxi/api/v1/objects/servicegroup?fusekey=Aa123456&outputtype=xml&user=nagiosadmin&records=1000:0
2019-02-21 09:32:03[s: 0, u: 0] runtime: 2 seconds
2019-02-21 09:32:21[s: 0, u: 0] live_data_timeout: 180
2019-02-21 09:32:21[s: 0, u: 0] URL: http://10.10.10.10/nagiosxi/api/v1/objects/servicegroup?fusekey=Aa123456&outputtype=xml&user=nagiosadmin&records=1000:1000
2019-02-21 09:32:21[s: 0, u: 0] runtime: 18 seconds
2019-02-21 09:32:30[s: 0, u: 0] live_data_timeout: 180
2019-02-21 09:32:30[s: 0, u: 0] URL: http://10.10.10.10/nagiosxi/api/v1/objects/servicegroupmembers?fusekey=Aa123456&outputtype=xml&user=nagiosadmin&records=1000:0
2019-02-21 09:32:30[s: 0, u: 0] runtime: 9 seconds
2019-02-21 09:32:30[s: 0, u: 0] live_data_timeout: 180
2019-02-21 09:32:30[s: 0, u: 0] URL: http://10.10.10.10/nagiosxi/api/v1/objects/servicegroupmembers?fusekey=Aa123456&outputtype=xml&user=nagiosadmin&records=1000:1000
2019-02-21 09:32:30[s: 0, u: 0] runtime: 0 seconds
SERVER: TEST
USERNAME: nagiosadmin
POLLED_DATA:
Array
(
[server_id] => 61
[server_type] => 1
[authentication_type] => 0
[username] => nagiosadmin
[polled_time] => 1550734095
[data] => Array
(
[bpi] => Array
(
[linux-servers] => Array
(
[title] => HG: linux-servers
[state] => 0
[text] => Group health is 100% with 0 problem(s).
)
[all_dell_openmanage_oob_servers] => Array
(
[title] => SG: all_dell_openmanage_oob_servers
[state] => 0
[text] => Group health is 75% with 3 problem(s).
)
)
[hosts_pending] => 0
[hosts_up] => 34
[hosts_down] => 0
[hosts_unreachable] => 0
[hosts_count] => 34
[host_status] => Array
(
[localhost] => Array
(
[alias] => localhost
[current_state] => 0
[output] => OK - 127.0.0.1: rta 0.015ms, lost 0%
[disabled] => 0
[downtime] => 0
[acknowledged] => 0
)
[10.10.10.10] => Array
(
[alias] => 10.10.10.10
[current_state] => 0
[output] => OK - 10.10.10.10: rta 0.085ms, lost 0%
[disabled] => 0
[downtime] => 0
[acknowledged] => 0
)
[10.10.10.10] => Array
(
[alias] => 10.10.10.10
[current_state] => 0
[output] => OK - 10.10.10.10: rta 0.102ms, lost 0%
[disabled] => 0
[downtime] => 0
[acknowledged] => 0
)
[10.10.10.10] => Array
(
[alias] => 10.10.10.10
[current_state] => 0
[output] => OK - 10.10.10.10: rta 1.015ms, lost 0%
[disabled] => 0
[downtime] => 0
[acknowledged] => 0
)
[10.10.10.10] => Array
(
[alias] => 10.10.10.10
[current_state] => 0
[output] => OK - 10.10.10.10: rta 4.585ms, lost 0%
[disabled] => 0
[downtime] => 0
[acknowledged] => 0
)
[10.10.10.10] => Array
(
[alias] => 10.10.10.10
[current_state] => 0
[output] => OK - 10.10.10.10: rta 0.702ms, lost 0%
[disabled] => 0
[downtime] => 0
[acknowledged] => 0
)
[10.10.10.10] => Array
(
[alias] => 10.10.10.10
[current_state] => 0
[output] => OK - 10.10.10.10: rta 2.409ms, lost 0%
[disabled] => 0
[downtime] => 0
[acknowledged] => 0
)
[10.10.10.10] => Array
(
[alias] => 10.10.10.10
[current_state] => 0
[output] => OK - 10.10.10.10: rta 0.109ms, lost 0%
[disabled] => 0
[downtime] => 0
[acknowledged] => 0
)
[10.10.10.10] => Array
(
[alias] => 10.10.10.10
[current_state] => 0
[output] => OK - 10.10.10.10: rta 0.166ms, lost 0%
[disabled] => 0
[downtime] => 0
[acknowledged] => 0
)
[10.10.10.10] => Array
(
[alias] => 10.10.10.10
[current_state] => 0
[output] => OK - 10.10.10.10: rta 0.177ms, lost 0%
[disabled] => 0
[downtime] => 0
[acknowledged] => 0
)
[10.10.10.10] => Array
(
[alias] => 10.10.10.10
[current_state] => 0
[output] => OK - 10.10.10.10: rta 0.179ms, lost 0%
[disabled] => 0
[downtime] => 0
[acknowledged] => 0
)
[10.10.10.10] => Array
(
[alias] => 10.10.10.10
[current_state] => 0
[output] => OK - 10.10.10.10: rta 0.169ms, lost 0%
[disabled] => 0
[downtime] => 0
[acknowledged] => 0
)
[10.10.10.10] => Array
(
[alias] => 10.10.10.10
[current_state] => 0
[output] => OK - 10.10.10.10: rta 0.500ms, lost 0%
[disabled] => 0
[downtime] => 0
[acknowledged] => 0
)
[10.10.10.10] => Array
(
[alias] => 10.10.10.10
[current_state] => 0
[output] => OK - 10.10.10.10: rta 0.114ms, lost 0%
[disabled] => 0
[downtime] => 0
[acknowledged] => 0
)
[10.10.10.10] => Array
(
[alias] => 10.10.10.10
[current_state] => 0
[output] => OK - 10.10.10.10: rta 0.115ms, lost 0%
[disabled] => 0
[downtime] => 0
[acknowledged] => 0
)
[10.10.10.10] => Array
(
[alias] => 10.10.10.10
[current_state] => 0
[output] => OK - 10.10.10.10: rta 0.994ms, lost 0%
[disabled] => 0
[downtime] => 0
[acknowledged] => 0
)
[10.10.10.10] => Array
(
[alias] => 10.10.10.10
[current_state] => 0
[output] => OK - 10.10.10.10: rta 0.100ms, lost 0%
[disabled] => 0
[downtime] => 0
[acknowledged] => 0
)
[10.10.10.10] => Array
(
[alias] => 10.10.10.10
[current_state] => 0
[output] => OK - 10.10.10.10: rta 2.180ms, lost 0%
[disabled] => 0
[downtime] => 0
[acknowledged] => 0
)
[10.10.10.10] => Array
(
[alias] => 10.10.10.10
[current_state] => 0
[output] => OK - 10.10.10.10: rta 0.271ms, lost 0%
[disabled] => 0
[downtime] => 0
[acknowledged] => 0
)
[10.10.10.10] => Array
(
[alias] => 10.10.10.10
[current_state] => 0
[output] => OK - 10.10.10.10: rta 0.262ms, lost 0%
[disabled] => 0
[downtime] => 0
[acknowledged] => 0
)
[10.10.10.10] => Array
(
[alias] => 10.10.10.10
[current_state] => 0
[output] => OK - 10.10.10.10: rta 0.262ms, lost 0%
[disabled] => 0
[downtime] => 0
[acknowledged] => 0
)
[10.10.10.10] => Array
(
[alias] => 10.10.10.10
[current_state] => 0
[output] => OK - 10.10.10.10: rta 0.291ms, lost 0%
[disabled] => 0
[downtime] => 0
[acknowledged] => 0
)
[10.10.10.10] => Array
(
[alias] => 10.10.10.10
[current_state] => 0
[output] => OK - 10.10.10.10: rta 0.272ms, lost 0%
[disabled] => 0
[downtime] => 0
[acknowledged] => 0
)
[10.10.10.10] => Array
(
[alias] => 10.10.10.10
[current_state] => 0
[output] => OK - 10.10.10.10: rta 0.298ms, lost 0%
[disabled] => 0
[downtime] => 0
[acknowledged] => 0
)
[10.10.10.10] => Array
(
[alias] => 10.10.10.10
[current_state] => 0
[output] => OK - 10.10.10.10: rta 0.290ms, lost 0%
[disabled] => 0
[downtime] => 0
[acknowledged] => 0
)
[10.10.10.10] => Array
(
[alias] => 10.10.10.10
[current_state] => 0
[output] => OK - 10.10.10.10: rta 0.278ms, lost 0%
[disabled] => 0
[downtime] => 0
[acknowledged] => 0
)
[10.10.10.10] => Array
(
[alias] => 10.10.10.10
[current_state] => 0
[output] => OK - 10.10.10.10: rta 0.269ms, lost 0%
[disabled] => 0
[downtime] => 0
[acknowledged] => 0
)
[10.10.10.10] => Array
(
[alias] => 10.10.10.10
[current_state] => 0
[output] => OK - 10.10.10.10: rta 0.256ms, lost 0%
[disabled] => 0
[downtime] => 0
[acknowledged] => 0
)
[10.10.10.10] => Array
(
[alias] => 10.10.10.10
[current_state] => 0
[output] => OK - 10.10.10.10: rta 0.401ms, lost 0%
[disabled] => 0
[downtime] => 0
[acknowledged] => 0
)
[10.10.10.10] => Array
(
[alias] => 10.10.10.10
[current_state] => 0
[output] => OK - 10.10.10.10: rta 0.413ms, lost 0%
[disabled] => 0
[downtime] => 0
[acknowledged] => 0
)
[10.10.10.10] => Array
(
[alias] => 10.10.10.10
[current_state] => 0
[output] => OK - 10.10.10.10: rta 0.289ms, lost 0%
[disabled] => 0
[downtime] => 0
[acknowledged] => 0
)
[10.10.10.10] => Array
(
[alias] => 10.10.10.10
[current_state] => 0
[output] => OK - 10.10.10.10: rta 2.632ms, lost 0%
[disabled] => 0
[downtime] => 0
[acknowledged] => 0
)
[10.10.10.10] => Array
(
[alias] => 10.10.10.10
[current_state] => 0
[output] => OK - 10.10.10.10: rta 0.183ms, lost 0%
[disabled] => 0
[downtime] => 0
[acknowledged] => 0
)
[10.10.10.10] => Array
(
[alias] => 10.10.10.10
[current_state] => 0
[output] => OK - 10.10.10.10: rta 0.237ms, lost 0%
[disabled] => 0
[downtime] => 0
[acknowledged] => 0
)
)
[hosts_problems] => 0
[hosts_problems_unhandled] => 0
[hosts_disabled] => 0
[hosts_acknowledged] => 0
[hosts_flapping] => 0
[hosts_downtime] => 0
[hosts_pending_disabled] => 0
[hosts_up_disabled] => 0
[hosts_up_downtime] => 0
[hosts_down_disabled] => 0
[hosts_down_acknowledged] => 0
[hosts_down_downtime] => 0
[hosts_unreachable_disabled] => 0
[hosts_unreachable_acknowledged] => 0
[hosts_unreachable_downtime] => 0
[monitoring_engine] => 1
[notifications] => 1
[active_checks] => 1
[passive_checks] => 1
[event_handlers] => 1
[users] => Array
(
[0] => Array
(
[user_id] => 0
[username] => support
[name] => support
[email] => support@root.com
[enabled] => 1
)
[1] => Array
(
[user_id] => 1
[username] => nagiosadmin
[name] => Nagios Administrator
[email] => root@localhost
[enabled] => 1
)
)
[info] => Array
(
[product] => nagiosxi
[version] => 5.5.8
[version_major] => 5
[version_minor] => 5.8
[build_id] => 1544466765
[release] => 5508
)
[alert_list] => Array
(
[0] => Array
(
[time] => 2019-02-21 11:27:50
[type] => 65536
[host] => 10.10.10.10
[service] => check ntp time
[state_type] => SOFT
[state] => CRITICAL
[output] => NTP CRITICAL: Offset -441.1089435 secs
)
[1] => Array
(
[time] => 2019-02-21 11:25:51
[type] => 8192
[host] => 10.10.10.10
[service] => check ntp time
[state_type] => SOFT
[state] => OK
[output] => NTP OK: Offset 3.820484638 secs
)
[2] => Array
(
[time] => 2019-02-21 11:25:13
[type] => 8192
[host] => 10.10.10.10
[service] => check ntp time
[state_type] => SOFT
[state] => OK
[output] => NTP OK: Offset 0.486807 secs
)
)
[hostgroup_members] => Array
(
[linux-servers] => Array
(
[alias] => linux-servers
[members] => Array
(
[0] => localhost
)
)
)
[servicegroup_members] => Array
(
[all_dell_openmanage_oob_servers] => Array
(
[alias] => all_dell_openmanage_oob_servers
[members] => Array
(
[0] => Array
(
[host_name] => 10.10.10.10
[service_description] => Dell OpenManage OOB - Operating System and Firmware Information
)
[1] => Array
(
[host_name] => 10.10.10.10
[service_description] => Dell OpenManage OOB - Model Service Tag Information
)
[2] => Array
(
[host_name] => 10.10.10.10
[service_description] => Dell OpenManage OOB - PowerEdge Server
)
[3] => Array
(
[host_name] => 10.10.10.10
[service_description] => Dell OpenManage OOB - Operating System and Firmware Information
)
[4] => Array
(
[host_name] => 10.10.10.10
[service_description] => Dell OpenManage OOB - Model Service Tag Information
)
[5] => Array
(
[host_name] => 10.10.10.10
[service_description] => Dell OpenManage OOB - Model Service Tag Information
)
[6] => Array
(
[host_name] => 10.10.10.10
[service_description] => Dell OpenManage OOB - PowerEdge Server
)
[7] => Array
(
[host_name] => 10.10.10.10
[service_description] => Dell OpenManage OOB - Operating System and Firmware Information
)
[8] => Array
(
[host_name] => 10.10.10.10
[service_description] => Dell OpenManage OOB - Model Service Tag Information
)
[9] => Array
(
[host_name] => 10.10.10.10
[service_description] => Dell OpenManage OOB - PowerEdge Server
)
[10] => Array
(
[host_name] => 10.10.10.10
[service_description] => Dell OpenManage OOB - PowerEdge Server
)
[11] => Array
(
[host_name] => 10.10.10.10
[service_description] => Dell OpenManage OOB - Operating System and Firmware Information
)
)
)
)
[dashlets_params_simple_hosts] => Array
(
[localhost] => localhost
[10.10.10.10] => 10.10.10.10
[10.10.10.10] => 10.10.10.10
[10.10.10.10] => 10.10.10.10
[10.10.10.10] => 10.10.10.10
[10.10.10.10] => 10.10.10.10
[10.10.10.10] => 10.10.10.10
[10.10.10.10] => 10.10.10.10
[10.10.10.10] => 10.10.10.10
[10.10.10.10] => 10.10.10.10
[10.10.10.10] => 10.10.10.10
[10.10.10.10] => 10.10.10.10
[10.10.10.10] => 10.10.10.10
[10.10.10.10] => 10.10.10.10
[10.10.10.10] => 10.10.10.10
[10.10.10.10] => 10.10.10.10
[10.10.10.10] => 10.10.10.10
[10.10.10.10] => 10.10.10.10
[10.10.10.10] => 10.10.10.10
[10.10.10.10] => 10.10.10.10
[10.10.10.10] => 10.10.10.10
[10.10.10.10] => 10.10.10.10
[10.10.10.10] => 10.10.10.10
[10.10.10.10] => 10.10.10.10
[10.10.10.10] => 10.10.10.10
[10.10.10.10] => 10.10.10.10
[10.10.10.10] => 10.10.10.10
[10.10.10.10] => 10.10.10.10
[10.10.10.10] => 10.10.10.10
[10.10.10.10] => 10.10.10.10
[10.10.10.10] => 10.10.10.10
[10.10.10.10] => 10.10.10.10
[10.10.10.10] => 10.10.10.10
[10.10.10.10] => 10.10.10.10
)
[dashlets_params_simple_hostgroups] => Array
(
[linux-servers] => linux-servers
)
[dashlets_params_simple_servicegroups] => Array
(
[all_dell_openmanage_oob_servers] => all_dell_openmanage_oob_servers
)
)
[debug_started_time] => 2019-02-21 09:28:15
[debug_completed_time] => 2019-02-21 09:32:30
)
MEMORY USED: 4,110,816 Bytes
MEMORY PEAK: 5,013,944 Bytes
As you can see I get timeout on service status API (in the first lines).
I have increase the timeout from 90 to 180 still the same..
When I ran the API (as written in fusion.debug) in fusion CLI I get the currect respond with all the info.
Upgrade to 4.1.7 I don't think this will help.