Page 1 of 2
Monitoring Engine Disabled?
Posted: Wed Mar 25, 2015 8:39 am
by TBT
Fusion Tactical Overview is showing one of our XI hosts as "Monitoring Engine: DisabledNotifications: DisabledActive Checks: DisabledPassive Checks: DisabledEvent Handlers: Disabled". Looking at the XI Host, monitoring is enabled and well. Please advise.
fus111.PNG
Re: Monitoring Engine Disabled?
Posted: Wed Mar 25, 2015 9:56 am
by ssax
Please post the output of this URL: (Change YOURXISERVER to the one showing the wrong information)
http://YOURXISERVER/nagiosxi/backend/?c ... gramstatus
Re: Monitoring Engine Disabled?
Posted: Wed Mar 25, 2015 10:23 am
by TBT
Code: Select all
<programstatuslist>
<recordcount>1</recordcount>
<programstatus>
<instance_id>1</instance_id>
<instance_name>localhost</instance_name>
<status_update_time>2015-03-25 11:22:29</status_update_time>
<program_start_time>2015-03-18 10:45:48</program_start_time>
<program_run_time>607005</program_run_time>
<program_end_time>0000-00-00 00:00:00</program_end_time>
<is_currently_running>1</is_currently_running>
<process_id>23380</process_id>
<daemon_mode>1</daemon_mode>
<last_command_check>1969-12-31 19:00:00</last_command_check>
<last_log_rotation>2015-03-24 23:59:59</last_log_rotation>
<notifications_enabled>1</notifications_enabled>
<active_service_checks_enabled>1</active_service_checks_enabled>
<passive_service_checks_enabled>1</passive_service_checks_enabled>
<active_host_checks_enabled>1</active_host_checks_enabled>
<passive_host_checks_enabled>1</passive_host_checks_enabled>
<event_handlers_enabled>1</event_handlers_enabled>
<flap_detection_enabled>1</flap_detection_enabled>
<process_performance_data>1</process_performance_data>
<obsess_over_hosts>0</obsess_over_hosts>
<obsess_over_services>0</obsess_over_services>
<modified_host_attributes>1</modified_host_attributes>
<modified_service_attributes>3</modified_service_attributes>
<global_host_event_handler>xi_host_event_handler</global_host_event_handler>
<global_service_event_handler>xi_service_event_handler</global_service_event_handler>
</programstatus>
</programstatuslist>
Re: Monitoring Engine Disabled?
Posted: Wed Mar 25, 2015 11:57 am
by lmiltchev
Are you using SSL or a proxy? Can you run the following command on the Nagios Fusion server and show us the output?
Code: Select all
tail -50 /usr/local/nagiosfusion/var/poller.log
Re: Monitoring Engine Disabled?
Posted: Wed Mar 25, 2015 12:38 pm
by TBT
SSL across the entire environment.
Code: Select all
sh: /usr/local/nagiosfusion/var/components/noc.log: Permission denied
CMD: /usr/local/nagiosfusion/html/includes/components/nocscreen/nocfetch.php hos t kd7ine >> /usr/local/nagiosfusion/var/components/noc.log
sh: /usr/local/nagiosfusion/var/components/noc.log: Permission denied
CMD /usr/local/nagiosfusion/html/includes/components/nocscreen/nocfetch.php serv ice kd7ine >> /usr/local/nagiosfusion/var/components/noc.log
sh: /usr/local/nagiosfusion/var/components/noc.log: Permission denied
CMD: /usr/local/nagiosfusion/html/includes/components/nocscreen/nocfetch.php hos t l49lj4 >> /usr/local/nagiosfusion/var/components/noc.log
sh: /usr/local/nagiosfusion/var/components/noc.log: Permission denied
CMD /usr/local/nagiosfusion/html/includes/components/nocscreen/nocfetch.php serv ice l49lj4 >> /usr/local/nagiosfusion/var/components/noc.log
sh: /usr/local/nagiosfusion/var/components/noc.log: Permission denied
CMD: /usr/local/nagiosfusion/html/includes/components/nocscreen/nocfetch.php hos t 2av78u >> /usr/local/nagiosfusion/var/components/noc.log
sh: /usr/local/nagiosfusion/var/components/noc.log: Permission denied
CMD /usr/local/nagiosfusion/html/includes/components/nocscreen/nocfetch.php serv ice 2av78u >> /usr/local/nagiosfusion/var/components/noc.log
sh: /usr/local/nagiosfusion/var/components/noc.log: Permission denied
CMD: /usr/local/nagiosfusion/html/includes/components/nocscreen/nocfetch.php hos t 75s3mt >> /usr/local/nagiosfusion/var/components/noc.log
sh: /usr/local/nagiosfusion/var/components/noc.log: Permission denied
CMD /usr/local/nagiosfusion/html/includes/components/nocscreen/nocfetch.php serv ice 75s3mt >> /usr/local/nagiosfusion/var/components/noc.log
sh: /usr/local/nagiosfusion/var/components/noc.log: Permission denied
CMD: /usr/local/nagiosfusion/html/includes/components/nocscreen/nocfetch.php hos t irbee5 >> /usr/local/nagiosfusion/var/components/noc.log
sh: /usr/local/nagiosfusion/var/components/noc.log: Permission denied
CMD /usr/local/nagiosfusion/html/includes/components/nocscreen/nocfetch.php serv ice irbee5 >> /usr/local/nagiosfusion/var/components/noc.log
sh: /usr/local/nagiosfusion/var/components/noc.log: Permission denied
Polling Recent Alerts...
NAGIOSXI ALERT FETCH Network Applications
COUNT :8
NAGIOSXI ALERT FETCH Corporate
COUNT :20
NAGIOSXI ALERT FETCH Wireless
COUNT :0
NAGIOSXI ALERT FETCH Wireline
COUNT :0
NAGIOSXI ALERT FETCH IP Core / Metro
COUNT :0
NAGIOSXI ALERT FETCH DTV
COUNT :0
NAGIOSXI ALERT FETCH COEI
COUNT :25
3 callbacks run
Loop time: 10 seconds
.***GET DATA!***
RUNTIME: 115 INTERVAL: 10 POLL INTERVAL: 10
Re: Monitoring Engine Disabled?
Posted: Wed Mar 25, 2015 2:40 pm
by ssax
Please post the ouput of the following command:
Code: Select all
echo "SELECT * FROM fusion_tac_data WHERE server_name = 'XISERVER';" | psql nagiosfusion nagiosfusion
Replace XISERVER with the exact name that you used in fusion.
Re: Monitoring Engine Disabled?
Posted: Wed Mar 25, 2015 2:55 pm
by TBT
Code: Select all
server_id | server_sid | server_name | valid_credentials | last_update_time | server_is_reachable | error | error_message | hosts_down_total | hosts_down_unhandled | hosts_down_scheduleddowntime | hosts_down_acknowledged | hosts_down_disabled | hosts_unreachable_total | hosts_unreachable_unhandled | hosts_unreachable_scheduleddowntime | hosts_unreachable_acknowledged | hosts_unreachable_disabled | hosts_up_total | hosts_up_disabled | hosts_pending_total | hosts_pending_disabled | services_critical_total | services_critical_unhandled | services_critical_scheduleddowntime | services_critical_acknowledged | services_critical_disabled | services_critical_hostproblem | services_warning_total | services_warning_unhandled | services_warning_scheduleddowntime | services_warning_acknowledged | services_warning_disabled | services_warning_hostproblem | services_unknown_total | services_unknown_unhandled | services_unknown_scheduleddowntime | services_unknown_acknowledged | services_unknown_disabled | services_unknown_hostproblem | services_ok_total | services_ok_disabled | services_pending_total | services_pending_disabled | flap_detection | notifications | event_handlers | active_checks | passive_checks
-----------+------------+-----------------+-------------------+----------------------------+---------------------+-------+---------------+------------------+----------------------+------------------------------+-------------------------+---------------------+-------------------------+-----------------------------+-------------------------------------+--------------------------------+----------------------------+----------------+-------------------+---------------------+------------------------+-------------------------+-----------------------------+-------------------------------------+--------------------------------+----------------------------+-------------------------------+------------------------+----------------------------+------------------------------------+-------------------------------+---------------------------+------------------------------+------------------------+----------------------------+------------------------------------+-------------------------------+---------------------------+------------------------------+-------------------+----------------------+------------------------+---------------------------+----------------+---------------+----------------+---------------+----------------
0 | 2av78u | IP Core / Metro | 1 | 2015-03-25 15:53:27.471721 | 1 | 0 | | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0
(1 row)
Re: Monitoring Engine Disabled?
Posted: Wed Mar 25, 2015 4:44 pm
by lmiltchev
I would like to address the "Permission denied" error in the log.
Can you check the permissions on the noc.log?
Code: Select all
ll /usr/local/nagiosfusion/var/components/noc.log
I suspect it is not writable by group. If this is the case, run:
Code: Select all
chmod g+w /usr/local/nagiosfusion/var/components/noc.log
Re: Monitoring Engine Disabled?
Posted: Thu Mar 26, 2015 7:10 am
by TBT
Monitoring Engine still disabled. Permissions related error fixed:
From:
To:
Code: Select all
tail -50 /usr/local/nagiosfusion/var/poller.log
Saving Tac Data to DB: Wireline
Saving Tac Data to DB: IP Core / Metro
Saving Tac Data to DB: DTV
Saving Tac Data to DB: COEI
CMD: /usr/local/nagiosfusion/html/includes/components/nocscreen/nocfetch.php host 3jt44v >> /usr/local/nagiosfusion/var/components/noc.log
CMD /usr/local/nagiosfusion/html/includes/components/nocscreen/nocfetch.php service 3jt44v >> /usr/local/nagiosfusion/var/components/noc.log
CMD: /usr/local/nagiosfusion/html/includes/components/nocscreen/nocfetch.php host 7e0eb2 >> /usr/local/nagiosfusion/var/components/noc.log
CMD /usr/local/nagiosfusion/html/includes/components/nocscreen/nocfetch.php service 7e0eb2 >> /usr/local/nagiosfusion/var/components/noc.log
CMD: /usr/local/nagiosfusion/html/includes/components/nocscreen/nocfetch.php host kd7ine >> /usr/local/nagiosfusion/var/components/noc.log
CMD /usr/local/nagiosfusion/html/includes/components/nocscreen/nocfetch.php service kd7ine >> /usr/local/nagiosfusion/var/components/noc.log
CMD: /usr/local/nagiosfusion/html/includes/components/nocscreen/nocfetch.php host l49lj4 >> /usr/local/nagiosfusion/var/components/noc.log
CMD /usr/local/nagiosfusion/html/includes/components/nocscreen/nocfetch.php service l49lj4 >> /usr/local/nagiosfusion/var/components/noc.log
CMD: /usr/local/nagiosfusion/html/includes/components/nocscreen/nocfetch.php host 2av78u >> /usr/local/nagiosfusion/var/components/noc.log
CMD /usr/local/nagiosfusion/html/includes/components/nocscreen/nocfetch.php service 2av78u >> /usr/local/nagiosfusion/var/components/noc.log
CMD: /usr/local/nagiosfusion/html/includes/components/nocscreen/nocfetch.php host 75s3mt >> /usr/local/nagiosfusion/var/components/noc.log
CMD /usr/local/nagiosfusion/html/includes/components/nocscreen/nocfetch.php service 75s3mt >> /usr/local/nagiosfusion/var/components/noc.log
CMD: /usr/local/nagiosfusion/html/includes/components/nocscreen/nocfetch.php host irbee5 >> /usr/local/nagiosfusion/var/components/noc.log
CMD /usr/local/nagiosfusion/html/includes/components/nocscreen/nocfetch.php service irbee5 >> /usr/local/nagiosfusion/var/components/noc.log
Polling Recent Alerts...
NAGIOSXI ALERT FETCH Network Applications
COUNT :16
NAGIOSXI ALERT FETCH Corporate
COUNT :20
NAGIOSXI ALERT FETCH Wireless
COUNT :0
NAGIOSXI ALERT FETCH Wireline
COUNT :0
NAGIOSXI ALERT FETCH IP Core / Metro
COUNT :0
NAGIOSXI ALERT FETCH DTV
COUNT :0
NAGIOSXI ALERT FETCH COEI
COUNT :35
3 callbacks run
Loop time: 14 seconds
Re: Monitoring Engine Disabled?
Posted: Thu Mar 26, 2015 9:42 am
by jolson
In your Fusion configuration for XI, were you sure to enter https as part of the Public URL? I had the same problem that you are having when I setup a test machine yesterday, and it's because I omitted https. Let us know. Thanks!