FUSION: Unable to Map to XI users (no mapping)

This support forum board is for questions relating to Nagios Fusion.
User avatar
inversecow
Posts: 44
Joined: Wed Sep 25, 2019 4:17 pm

FUSION: Unable to Map to XI users (no mapping)

Post by inversecow »

Ahoy folks,

FYI that recently we setup Nagios XI & FUSION within our ENV.
While both seemed to install fine, we have a challenge with "user mapping" between FUSION --> XI (to restrict views / support multi-tenancy).
The same users exist in both XI && FUSION.
On the Fusion side, the "Test Fusion Settings" diagnostic check comes back clean (both for FUSEKey && admin user for access to target XI).

I would like to know how we might remediate this issue, so we may successfully use the User Mapping functionality between FUSION && XI?

# DETAILS:

Versions:

XI 5.6.6
Fusion: 4.1.7

User sources: AD (able to import users from AD without issue)

Fused servers: 1 (our first XI node)

Polling interval: 60 seconds

# EXAMPLE
Attachment.
You do not have the required permissions to view the files attached to this post.
“And who better understands the Unix-nature?” Master Foo asked.
“Is it he who writes the ten thousand lines, or he who, perceiving the emptiness of the task, gains merit by not coding?”
Master Foo - The ten thousand Lines
Unix Koans of Master Foo
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: FUSION: Unable to Map to XI users (no mapping)

Post by benjaminsmith »

Hello,

About how many users are you importing from AD? If this is a large number you may be hitting the php thresholds. Can you run the following tail command, load the page again and post the output for us to review. Thanks.

Code: Select all

tail -f /var/log/httpd/*error_log
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
User avatar
inversecow
Posts: 44
Joined: Wed Sep 25, 2019 4:17 pm

Re: FUSION: Unable to Map to XI users (no mapping)

Post by inversecow »

Hello @benjaminsmith,

Thank you for your response on this matter.

At present we have the following user counts:

Fusion: 80 AD imported users, 1 locally defined user
XI: 117 AD imported users (likely to trim this count down some)

Output provided below from the tail command.
Note, there was no movement in the logs after navigating away and returning the the page in question (where one maps users).

Do let me know should you require further output.

Code: Select all

[user@node ~]$ tail -f /var/log/httpd/*error_log
==> /var/log/httpd/error_log <==
[Sun Sep 29 03:21:02.088758 2019] [lbmethod_heartbeat:notice] [pid 51213] AH02282: No slotmem from mod_heartmonitor
PHP Warning:  Module 'SourceGuardian' already loaded in Unknown on line 0
[Sun Sep 29 03:21:02.110012 2019] [mpm_prefork:notice] [pid 51213] AH00163: Apache/2.4.6 (Red Hat Enterprise Linux) OpenSSL/1.0.2k-fips PHP/5.4.16 configured -- resuming normal operations
[Sun Sep 29 03:21:02.110032 2019] [core:notice] [pid 51213] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'

==> /var/log/httpd/ssl_error_log <==
[Mon Sep 30 11:15:31.486963 2019] [:error] [pid 8858] [client someip:53517] PHP Warning:  Unknown: failed to open stream: Permission denied in Unknown on line 0
[Mon Sep 30 11:15:31.487043 2019] [:error] [pid 8858] [client someip:53517] PHP Fatal error:  Unknown: Failed opening required '/var/www/html/index.php' (include_path='.:/usr/share/pear:/usr/share/php') in Unknown on line 0
[Mon Sep 30 11:15:50.637581 2019] [:error] [pid 90038] [client someip:53534] PHP Warning:  Unknown: failed to open stream: Permission denied in Unknown on line 0
[Mon Sep 30 11:15:50.637628 2019] [:error] [pid 90038] [client someip:53534] PHP Fatal error:  Unknown: Failed opening required '/var/www/html/index.php' (include_path='.:/usr/share/pear:/usr/share/php') in Unknown on line 0
[Mon Sep 30 11:18:43.074173 2019] [:error] [pid 90037] [client someip:53594] PHP Warning:  Unknown: failed to open stream: Permission denied in Unknown on line 0
[Mon Sep 30 11:18:43.074232 2019] [:error] [pid 90037] [client someip:53594] PHP Fatal error:  Unknown: Failed opening required '/var/www/html/index.php' (include_path='.:/usr/share/pear:/usr/share/php') in Unknown on line 0
“And who better understands the Unix-nature?” Master Foo asked.
“Is it he who writes the ten thousand lines, or he who, perceiving the emptiness of the task, gains merit by not coding?”
Master Foo - The ten thousand Lines
Unix Koans of Master Foo
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: FUSION: Unable to Map to XI users (no mapping)

Post by benjaminsmith »

Hello,

This maybe a permissions issue. Do you have SE Linux enabled on this server? Please post the output to the following command.

Code: Select all

sestatus
ls -l /var/www/html/index.php
Also, as you are importing a larger number of users, please increase the memory available to the polling subsystem. This can be done from the GUI by going to Admin > System Settings > Data & Polling > Polling Subsystem Memory Limit

Additionally, I would recommend increasing max_input_vars, max_execution_time, max_input_time in the php,ini file. Be sure to restart Apache after making an changes.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
User avatar
inversecow
Posts: 44
Joined: Wed Sep 25, 2019 4:17 pm

Re: FUSION: Unable to Map to XI users (no mapping)

Post by inversecow »

Thank you for your review on this matter.

Negative, SELinux is disabled on this box.
Output below as requested:

Code: Select all

[user@node ~]
# sestatus
SELinux status:                 disabled

[user@node ~]
# ls -l /var/www/html/index.php
-rw------- 1 root root 42 Sep 24 08:58 /var/www/html/index.php
Regarding memory, indeed I had set this to "1024M" after seeing a similar thread on the general forum (with a similar recommendation).
Would you recommend a different value perhaps (originally the field was blank).

What would you suggest for those values in php.ini?
To start with, I have set the following values.

# BEFORE

Code: Select all

[user@node ~]
# php -i | grep "Loaded Configuration File"
PHP Warning:  Module 'SourceGuardian' already loaded in Unknown on line 0
Loaded Configuration File => /etc/php.ini

[user@node ~]
# grep "max_input_vars \=\|max_execution_time \=\|max_input_time \=" /etc/php.ini
max_execution_time = 30
max_input_time = 60
; max_input_vars = 1000
# AFTER

Code: Select all

[user@node ~]
# grep "max_input_vars \=\|max_execution_time \=\|max_input_time \=" /etc/php.ini
max_execution_time = 120
max_input_time = 120
max_input_vars = 1000
These above listed new values has proven ineffective from what I can see for a freshly (re)imported user from AD.
Apache was restarted as part of this (as requested).

Regarding your statement about the number of users being imported from AD.
Would it be valuable to reduce the number of users in FUSION to test with lower numbers (and then ramp up tuning values as needed as users are re-added)?
“And who better understands the Unix-nature?” Master Foo asked.
“Is it he who writes the ten thousand lines, or he who, perceiving the emptiness of the task, gains merit by not coding?”
Master Foo - The ten thousand Lines
Unix Koans of Master Foo
User avatar
inversecow
Posts: 44
Joined: Wed Sep 25, 2019 4:17 pm

Re: FUSION: Unable to Map to XI users (no mapping)

Post by inversecow »

Hello again,

Digging into this matter further, I did note a discrepency between the "Associated Users" count in XI vs Fusion.
Not sure if this is related / might help guide the investigation?

When I compare the configurations, they are identically set.
You do not have the required permissions to view the files attached to this post.
“And who better understands the Unix-nature?” Master Foo asked.
“Is it he who writes the ten thousand lines, or he who, perceiving the emptiness of the task, gains merit by not coding?”
Master Foo - The ten thousand Lines
Unix Koans of Master Foo
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: FUSION: Unable to Map to XI users (no mapping)

Post by ssax »

Please create a ticket for this and include a link back to this forum thread so we can get a remote session setup:

Code: Select all

https://support.nagios.com/tickets/
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: FUSION: Unable to Map to XI users (no mapping)

Post by benjaminsmith »

Hello,

Thanks for updates. The discrepancy you are noticing shouldn't affect the mapped users. The Nagios Fusion server is not able to graph the users from the Nagios XI server using the API calls.

Let's double check the settings for the fused server. Go to Servers, find the correct server and choose edit the settings, then select the Test Fusion Settings button and make sure it passes.
fusion-settings.png
If that passes, open up the terminal on the Fusion server and run the following API call to this Nagios XI instance, and let me know if it's successful. If there's an error, please post the error message to the screen. You'll need to fill in the correct ip address and fusekey for the XI system.

Code: Select all

curl -XGET http://<nagios xi ip address>/nagiosxi/api/v1/objects/servicestatus?fusekey=<FUSEKEY>&outputtype=xml&user=nagiosadmin&records=1000:0?brevity=1
You do not have the required permissions to view the files attached to this post.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
User avatar
inversecow
Posts: 44
Joined: Wed Sep 25, 2019 4:17 pm

Re: FUSION: Unable to Map to XI users (no mapping)

Post by inversecow »

Thank you for the response on this matter.
Also understood regarding the context of the issue.

Happy to check the fused server settings as requested.
For the sake of context, we have fused with only one XI instance thus far.

We had been using a "read-only" USER from the XI server for this purpose (FUSEKey and UN checked clean on the test).
Noting the string below the "Username" field, I have also switched to our "nagiosadmin" credentials, which also "checks clean" on the Test Fusion Settings.

ATTACHED BELOW

With regards to your ask on output from the Fusion box, here you go:

Code: Select all

[user@fusion ~]
# curl --cacert /usr/local/nagiosfusion/var/certs/ca_root.cer \
> -XGET "https://xi_node_name/nagiosxi/api/v1/objects/servicestatus?fusekey=FUSE_KEY&outputtype=xml&user=nagiosadmin&records=1000:0?brevity=1"
<servicestatuslist>
  <recordcount>12</recordcount>
  <servicestatus id='1890'>
    <instance_id>1</instance_id>
    <service_id>72</service_id>
    <host_id>58</host_id>
    <host_name>localhost</host_name>
    <host_alias>localhost</host_alias>
    <name>Total Processes</name>
    <host_display_name></host_display_name>
    <host_address>127.0.0.1</host_address>
    <display_name>Total Processes</display_name>
    <status_update_time>2019-10-02 15:45:09</status_update_time>
    <status_text>PROCS OK: 85 processes with STATE = RSZDT</status_text>
    <status_text_long></status_text_long>
    <current_state>0</current_state>
    <performance_data>procs=85;400;500;0;</performance_data>
    <should_be_scheduled>1</should_be_scheduled>
    <check_type>0</check_type>
    <last_state_change>2019-09-23 12:13:40</last_state_change>
    <last_hard_state_change>2019-09-23 12:13:40</last_hard_state_change>
    <last_hard_state>0</last_hard_state>
    <last_time_ok>2019-10-02 15:45:09</last_time_ok>
    <last_time_warning>1969-12-31 16:00:00</last_time_warning>
    <last_time_critical>1969-12-31 16:00:00</last_time_critical>
    <last_time_unknown>1969-12-31 16:00:00</last_time_unknown>
    <last_notification>1969-12-31 16:00:00</last_notification>
    <next_notification>1969-12-31 16:00:00</next_notification>
    <no_more_notifications>0</no_more_notifications>
    <acknowledgement_type>0</acknowledgement_type>
    <current_notification_number>0</current_notification_number>
    <process_performance_data>1</process_performance_data>
    <obsess_over_service>1</obsess_over_service>
    <event_handler_enabled>1</event_handler_enabled>
    <modified_service_attributes>0</modified_service_attributes>
    <event_handler></event_handler>
    <check_command>check_local_procs!400!500!RSZDT</check_command>
    <normal_check_interval>5</normal_check_interval>
    <retry_check_interval>1</retry_check_interval>
    <check_timeperiod_id>0</check_timeperiod_id>
    <icon_image></icon_image>
    <icon_image_alt></icon_image_alt>
    <has_been_checked>1</has_been_checked>
    <current_check_attempt>1</current_check_attempt>
    <max_check_attempts>4</max_check_attempts>
    <last_check>2019-10-02 15:45:09</last_check>
    <next_check>2019-10-02 15:50:09</next_check>
    <state_type>1</state_type>
    <notifications_enabled>1</notifications_enabled>
    <problem_acknowledged>0</problem_acknowledged>
    <flap_detection_enabled>1</flap_detection_enabled>
    <is_flapping>0</is_flapping>
    <percent_state_change>0</percent_state_change>
    <latency>0.00059</latency>
    <execution_time>0.02733</execution_time>
    <scheduled_downtime_depth>0</scheduled_downtime_depth>
    <passive_checks_enabled>1</passive_checks_enabled>
    <active_checks_enabled>1</active_checks_enabled>
    <notes></notes>
    <notes_url></notes_url>
    <action_url></action_url>
  </servicestatus>
  <servicestatus id='1889'>
    <instance_id>1</instance_id>
    <service_id>71</service_id>
    <host_id>58</host_id>
    <host_name>localhost</host_name>
    <host_alias>localhost</host_alias>
    <name>Swap Usage</name>
    <host_display_name></host_display_name>
    <host_address>127.0.0.1</host_address>
    <display_name>Swap Usage</display_name>
    <status_update_time>2019-10-02 15:44:20</status_update_time>
    <status_text>SWAP OK - 100% free (4095 MB out of 4095 MB)</status_text>
    <status_text_long></status_text_long>
    <current_state>0</current_state>
    <performance_data>swap=4095MB;2047;1228;0;4095</performance_data>
    <should_be_scheduled>1</should_be_scheduled>
    <check_type>0</check_type>
    <last_state_change>2019-09-23 12:13:16</last_state_change>
    <last_hard_state_change>2019-09-23 12:13:16</last_hard_state_change>
    <last_hard_state>0</last_hard_state>
    <last_time_ok>2019-10-02 15:44:20</last_time_ok>
    <last_time_warning>1969-12-31 16:00:00</last_time_warning>
    <last_time_critical>1969-12-31 16:00:00</last_time_critical>
    <last_time_unknown>1969-12-31 16:00:00</last_time_unknown>
    <last_notification>1969-12-31 16:00:00</last_notification>
    <next_notification>1969-12-31 16:00:00</next_notification>
    <no_more_notifications>0</no_more_notifications>
    <acknowledgement_type>0</acknowledgement_type>
    <current_notification_number>0</current_notification_number>
    <process_performance_data>1</process_performance_data>
    <obsess_over_service>1</obsess_over_service>
    <event_handler_enabled>1</event_handler_enabled>
    <modified_service_attributes>0</modified_service_attributes>
    <event_handler></event_handler>
    <check_command>check_local_swap!50%!30%</check_command>
    <normal_check_interval>5</normal_check_interval>
    <retry_check_interval>1</retry_check_interval>
    <check_timeperiod_id>0</check_timeperiod_id>
    <icon_image></icon_image>
    <icon_image_alt></icon_image_alt>
    <has_been_checked>1</has_been_checked>
    <current_check_attempt>1</current_check_attempt>
    <max_check_attempts>4</max_check_attempts>
    <last_check>2019-10-02 15:44:20</last_check>
    <next_check>2019-10-02 15:49:20</next_check>
    <state_type>1</state_type>
    <notifications_enabled>1</notifications_enabled>
    <problem_acknowledged>0</problem_acknowledged>
    <flap_detection_enabled>1</flap_detection_enabled>
    <is_flapping>0</is_flapping>
    <percent_state_change>0</percent_state_change>
    <latency>0.00081</latency>
    <execution_time>0.00235</execution_time>
    <scheduled_downtime_depth>0</scheduled_downtime_depth>
    <passive_checks_enabled>1</passive_checks_enabled>
    <active_checks_enabled>1</active_checks_enabled>
    <notes></notes>
    <notes_url></notes_url>
    <action_url></action_url>
  </servicestatus>
  <servicestatus id='1888'>
    <instance_id>1</instance_id>
    <service_id>70</service_id>
    <host_id>58</host_id>
    <host_name>localhost</host_name>
    <host_alias>localhost</host_alias>
    <name>Service Status - ndo2db</name>
    <host_display_name></host_display_name>
    <host_address>127.0.0.1</host_address>
    <display_name>Service Status - ndo2db</display_name>
    <status_update_time>2019-10-02 15:46:11</status_update_time>
    <status_text>● ndo2db.service - Nagios Data Out Daemon</status_text>
    <status_text_long>   Loaded: loaded (/usr/lib/systemd/system/ndo2db.service; enabled; vendor preset: disabled)\n   Active: active (running) since Mon 2019-09-23 14:22:10 PDT; 1 weeks 2 days ago\n     Docs: http://www.nagios.org/documentation\n Main PID: 2435 (ndo2db)\n   CGroup: /system.slice/ndo2db.service\n           ├─ 2435 /usr/local/nagios/bin/ndo2db -c /usr/local/nagios/etc/ndo2db.cfg -f\n           ├─32559 /usr/local/nagios/bin/ndo2db -c /usr/local/nagios/etc/ndo2db.cfg -f\n           └─32560 /usr/local/nagios/bin/ndo2db -c /usr/local/nagios/etc/ndo2db.cfg -f\n\nOct 02 15:45:03 xinode ndo2db[32560]: Trimming timedevents.\nOct 02 15:45:03 xinode ndo2db[32560]: Trimming systemcommands.\nOct 02 15:45:03 xinode ndo2db[32560]: Trimming servicechecks.\nOct 02 15:45:03 xinode ndo2db[32560]: Trimming hostchecks.\nOct 02 15:45:03 xinode ndo2db[32560]: Trimming eventhandlers.\nOct 02 15:46:04 xinode ndo2db[32560]: Trimming timedevents.\nOct 02 15:46:04 xinode ndo2db[32560]: Trimming systemcommands.\nOct 02 15:46:04 xinode ndo2db[32560]: Trimming servicechecks.\nOct 02 15:46:04 xinode ndo2db[32560]: Trimming hostchecks.\nOct 02 15:46:04 xinode ndo2db[32560]: Trimming eventhandlers.</status_text_long>
    <current_state>0</current_state>
    <performance_data></performance_data>
    <should_be_scheduled>1</should_be_scheduled>
    <check_type>0</check_type>
    <last_state_change>2019-09-23 12:12:53</last_state_change>
    <last_hard_state_change>2019-09-23 12:12:53</last_hard_state_change>
    <last_hard_state>0</last_hard_state>
    <last_time_ok>2019-10-02 15:46:11</last_time_ok>
    <last_time_warning>1969-12-31 16:00:00</last_time_warning>
    <last_time_critical>1969-12-31 16:00:00</last_time_critical>
    <last_time_unknown>1969-12-31 16:00:00</last_time_unknown>
    <last_notification>1969-12-31 16:00:00</last_notification>
    <next_notification>1969-12-31 16:00:00</next_notification>
    <no_more_notifications>0</no_more_notifications>
    <acknowledgement_type>0</acknowledgement_type>
    <current_notification_number>0</current_notification_number>
    <process_performance_data>1</process_performance_data>
    <obsess_over_service>1</obsess_over_service>
    <event_handler_enabled>1</event_handler_enabled>
    <modified_service_attributes>0</modified_service_attributes>
    <event_handler></event_handler>
    <check_command>check_xi_service_status!ndo2db!!!!!!</check_command>
    <normal_check_interval>5</normal_check_interval>
    <retry_check_interval>1</retry_check_interval>
    <check_timeperiod_id>0</check_timeperiod_id>
    <icon_image></icon_image>
    <icon_image_alt></icon_image_alt>
    <has_been_checked>1</has_been_checked>
    <current_check_attempt>1</current_check_attempt>
    <max_check_attempts>4</max_check_attempts>
    <last_check>2019-10-02 15:46:11</last_check>
    <next_check>2019-10-02 15:51:11</next_check>
    <state_type>1</state_type>
    <notifications_enabled>1</notifications_enabled>
    <problem_acknowledged>0</problem_acknowledged>
    <flap_detection_enabled>1</flap_detection_enabled>
    <is_flapping>0</is_flapping>
    <percent_state_change>0</percent_state_change>
    <latency>0.00111</latency>
    <execution_time>0.03538</execution_time>
    <scheduled_downtime_depth>0</scheduled_downtime_depth>
    <passive_checks_enabled>1</passive_checks_enabled>
    <active_checks_enabled>1</active_checks_enabled>
    <notes></notes>
    <notes_url></notes_url>
    <action_url></action_url>
  </servicestatus>
  <servicestatus id='1887'>
    <instance_id>1</instance_id>
    <service_id>68</service_id>
    <host_id>58</host_id>
    <host_name>localhost</host_name>
    <host_alias>localhost</host_alias>
    <name>Service Status - httpd</name>
    <host_display_name></host_display_name>
    <host_address>127.0.0.1</host_address>
    <display_name>Service Status - httpd</display_name>
    <status_update_time>2019-10-02 15:48:20</status_update_time>
    <status_text>● httpd.service - The Apache HTTP Server</status_text>
    <status_text_long>   Loaded: loaded (/usr/lib/systemd/system/httpd.service; enabled; vendor preset: disabled)\n   Active: active (running) since Thu 2019-09-26 13:22:05 PDT; 6 days ago\n     Docs: man:httpd(8)\n           man:apachectl(8)\n  Process: 95377 ExecReload=/usr/sbin/httpd $OPTIONS -k graceful (code=exited, status=0/SUCCESS)\n Main PID: 77927 (httpd)\n   Status: &quot;Total requests: 0; Current requests/sec: 0; Current traffic:   0 B/sec&quot;\n   CGroup: /system.slice/httpd.service\n           ├─77927 /usr/sbin/httpd -DFOREGROUND\n           ├─83690 /usr/sbin/httpd -DFOREGROUND\n           ├─85804 /usr/sbin/httpd -DFOREGROUND\n           ├─87663 /usr/sbin/httpd -DFOREGROUND\n           ├─88773 /usr/sbin/httpd -DFOREGROUND\n           ├─89086 /usr/sbin/httpd -DFOREGROUND\n           ├─89780 /usr/sbin/httpd -DFOREGROUND\n           ├─89781 /usr/sbin/httpd -DFOREGROUND\n           ├─89782 /usr/sbin/httpd -DFOREGROUND\n           ├─89783 /usr/sbin/httpd -DFOREGROUND\n           ├─89786 /usr/sbin/httpd -DFOREGROUND\n           ├─90082 /usr/sbin/httpd -DFOREGROUND\n           ├─90083 /usr/sbin/httpd -DFOREGROUND\n           ├─90084 /usr/sbin/httpd -DFOREGROUND\n           ├─90089 /usr/sbin/httpd -DFOREGROUND\n           ├─90090 /usr/sbin/httpd -DFOREGROUND\n           ├─90091 /usr/sbin/httpd -DFOREGROUND\n           └─90092 /usr/sbin/httpd -DFOREGROUND\n\nSep 26 13:22:05 xinode systemd[1]: Starting The Apache HTTP Server...\nSep 26 13:22:05 xinode systemd[1]: Started The Apache HTTP Server.\nSep 29 03:42:01 xinode systemd[1]: Reloading The Apache HTTP Server.\nSep 29 03:42:02 xinode systemd[1]: Reloaded The Apache HTTP Server.</status_text_long>
    <current_state>0</current_state>
    <performance_data></performance_data>
    <should_be_scheduled>1</should_be_scheduled>
    <check_type>0</check_type>
    <last_state_change>2019-09-23 12:12:07</last_state_change>
    <last_hard_state_change>2019-09-23 12:12:07</last_hard_state_change>
    <last_hard_state>0</last_hard_state>
    <last_time_ok>2019-10-02 15:48:20</last_time_ok>
    <last_time_warning>1969-12-31 16:00:00</last_time_warning>
    <last_time_critical>1969-12-31 16:00:00</last_time_critical>
    <last_time_unknown>1969-12-31 16:00:00</last_time_unknown>
    <last_notification>1969-12-31 16:00:00</last_notification>
    <next_notification>1969-12-31 16:00:00</next_notification>
    <no_more_notifications>0</no_more_notifications>
    <acknowledgement_type>0</acknowledgement_type>
    <current_notification_number>0</current_notification_number>
    <process_performance_data>1</process_performance_data>
    <obsess_over_service>1</obsess_over_service>
    <event_handler_enabled>1</event_handler_enabled>
    <modified_service_attributes>0</modified_service_attributes>
    <event_handler></event_handler>
    <check_command>check_xi_service_status!httpd!!!!!!</check_command>
    <normal_check_interval>5</normal_check_interval>
    <retry_check_interval>1</retry_check_interval>
    <check_timeperiod_id>0</check_timeperiod_id>
    <icon_image></icon_image>
    <icon_image_alt></icon_image_alt>
    <has_been_checked>1</has_been_checked>
    <current_check_attempt>1</current_check_attempt>
    <max_check_attempts>4</max_check_attempts>
    <last_check>2019-10-02 15:48:20</last_check>
    <next_check>2019-10-02 15:53:20</next_check>
    <state_type>1</state_type>
    <notifications_enabled>1</notifications_enabled>
    <problem_acknowledged>0</problem_acknowledged>
    <flap_detection_enabled>1</flap_detection_enabled>
    <is_flapping>0</is_flapping>
    <percent_state_change>0</percent_state_change>
    <latency>0.00173</latency>
    <execution_time>0.04802</execution_time>
    <scheduled_downtime_depth>0</scheduled_downtime_depth>
    <passive_checks_enabled>1</passive_checks_enabled>
    <active_checks_enabled>1</active_checks_enabled>
    <notes></notes>
    <notes_url></notes_url>
    <action_url></action_url>
  </servicestatus>
  <servicestatus id='1884'>
    <instance_id>1</instance_id>
    <service_id>65</service_id>
    <host_id>58</host_id>
    <host_name>localhost</host_name>
    <host_alias>localhost</host_alias>
    <name>Root Partition</name>
    <host_display_name></host_display_name>
    <host_address>127.0.0.1</host_address>
    <display_name>Root Partition</display_name>
    <status_update_time>2019-10-02 15:45:43</status_update_time>
    <status_text>DISK OK - free space: / 7227 MB (96.23% inode=99%):</status_text>
    <status_text_long></status_text_long>
    <current_state>0</current_state>
    <performance_data>/=282MB;6348;7141;0;7935</performance_data>
    <should_be_scheduled>1</should_be_scheduled>
    <check_type>0</check_type>
    <last_state_change>2019-09-23 12:10:58</last_state_change>
    <last_hard_state_change>2019-09-23 12:10:58</last_hard_state_change>
    <last_hard_state>0</last_hard_state>
    <last_time_ok>2019-10-02 15:45:43</last_time_ok>
    <last_time_warning>1969-12-31 16:00:00</last_time_warning>
    <last_time_critical>1969-12-31 16:00:00</last_time_critical>
    <last_time_unknown>1969-12-31 16:00:00</last_time_unknown>
    <last_notification>1969-12-31 16:00:00</last_notification>
    <next_notification>1969-12-31 16:00:00</next_notification>
    <no_more_notifications>0</no_more_notifications>
    <acknowledgement_type>0</acknowledgement_type>
    <current_notification_number>0</current_notification_number>
    <process_performance_data>1</process_performance_data>
    <obsess_over_service>1</obsess_over_service>
    <event_handler_enabled>1</event_handler_enabled>
    <modified_service_attributes>0</modified_service_attributes>
    <event_handler></event_handler>
    <check_command>check_local_disk!20%!10%!/</check_command>
    <normal_check_interval>5</normal_check_interval>
    <retry_check_interval>1</retry_check_interval>
    <check_timeperiod_id>0</check_timeperiod_id>
    <icon_image></icon_image>
    <icon_image_alt></icon_image_alt>
    <has_been_checked>1</has_been_checked>
    <current_check_attempt>1</current_check_attempt>
    <max_check_attempts>4</max_check_attempts>
    <last_check>2019-10-02 15:45:43</last_check>
    <next_check>2019-10-02 15:50:43</next_check>
    <state_type>1</state_type>
    <notifications_enabled>1</notifications_enabled>
    <problem_acknowledged>0</problem_acknowledged>
    <flap_detection_enabled>1</flap_detection_enabled>
    <is_flapping>0</is_flapping>
    <percent_state_change>0</percent_state_change>
    <latency>0.0005</latency>
    <execution_time>0.00226</execution_time>
    <scheduled_downtime_depth>0</scheduled_downtime_depth>
    <passive_checks_enabled>1</passive_checks_enabled>
    <active_checks_enabled>1</active_checks_enabled>
    <notes></notes>
    <notes_url></notes_url>
    <action_url></action_url>
  </servicestatus>
  <servicestatus id='1883'>
    <instance_id>1</instance_id>
    <service_id>64</service_id>
    <host_id>58</host_id>
    <host_name>localhost</host_name>
    <host_alias>localhost</host_alias>
    <name>PING</name>
    <host_display_name></host_display_name>
    <host_address>127.0.0.1</host_address>
    <display_name>PING</display_name>
    <status_update_time>2019-10-02 15:45:59</status_update_time>
    <status_text>PING OK - Packet loss = 0%, RTA = 0.07 ms</status_text>
    <status_text_long></status_text_long>
    <current_state>0</current_state>
    <performance_data>rta=0.067000ms;100.000000;500.000000;0.000000 pl=0%;20;60;0</performance_data>
    <should_be_scheduled>1</should_be_scheduled>
    <check_type>0</check_type>
    <last_state_change>2019-09-23 12:10:39</last_state_change>
    <last_hard_state_change>2019-09-23 12:10:39</last_hard_state_change>
    <last_hard_state>0</last_hard_state>
    <last_time_ok>2019-10-02 15:45:55</last_time_ok>
    <last_time_warning>1969-12-31 16:00:00</last_time_warning>
    <last_time_critical>1969-12-31 16:00:00</last_time_critical>
    <last_time_unknown>1969-12-31 16:00:00</last_time_unknown>
    <last_notification>1969-12-31 16:00:00</last_notification>
    <next_notification>1969-12-31 16:00:00</next_notification>
    <no_more_notifications>0</no_more_notifications>
    <acknowledgement_type>0</acknowledgement_type>
    <current_notification_number>0</current_notification_number>
    <process_performance_data>1</process_performance_data>
    <obsess_over_service>1</obsess_over_service>
    <event_handler_enabled>1</event_handler_enabled>
    <modified_service_attributes>0</modified_service_attributes>
    <event_handler></event_handler>
    <check_command>check_ping!100.0,20%!500.0,60%</check_command>
    <normal_check_interval>5</normal_check_interval>
    <retry_check_interval>1</retry_check_interval>
    <check_timeperiod_id>0</check_timeperiod_id>
    <icon_image></icon_image>
    <icon_image_alt></icon_image_alt>
    <has_been_checked>1</has_been_checked>
    <current_check_attempt>1</current_check_attempt>
    <max_check_attempts>4</max_check_attempts>
    <last_check>2019-10-02 15:45:55</last_check>
    <next_check>2019-10-02 15:50:55</next_check>
    <state_type>1</state_type>
    <notifications_enabled>1</notifications_enabled>
    <problem_acknowledged>0</problem_acknowledged>
    <flap_detection_enabled>1</flap_detection_enabled>
    <is_flapping>0</is_flapping>
    <percent_state_change>0</percent_state_change>
    <latency>0.00088</latency>
    <execution_time>4.00466</execution_time>
    <scheduled_downtime_depth>0</scheduled_downtime_depth>
    <passive_checks_enabled>1</passive_checks_enabled>
    <active_checks_enabled>1</active_checks_enabled>
    <notes></notes>
    <notes_url></notes_url>
    <action_url></action_url>
  </servicestatus>
  <servicestatus id='1882'>
    <instance_id>1</instance_id>
    <service_id>63</service_id>
    <host_id>58</host_id>
    <host_name>localhost</host_name>
    <host_alias>localhost</host_alias>
    <name>Memory Usage</name>
    <host_display_name></host_display_name>
    <host_address>127.0.0.1</host_address>
    <display_name>Memory Usage</display_name>
    <status_update_time>2019-10-02 15:44:10</status_update_time>
    <status_text>OK - 30924 / 32155 MB (96%) Free Memory, Used: 736 MB, Shared: 348 MB, Buffers + Cached: 10671 MB</status_text>
    <status_text_long></status_text_long>
    <current_state>0</current_state>
    <performance_data>total=32155MB free=30924MB used=736MB shared=348MB buffers_and_cached=10671MB</performance_data>
    <should_be_scheduled>1</should_be_scheduled>
    <check_type>0</check_type>
    <last_state_change>2019-09-23 12:11:09</last_state_change>
    <last_hard_state_change>2019-09-23 12:11:09</last_hard_state_change>
    <last_hard_state>0</last_hard_state>
    <last_time_ok>2019-10-02 15:44:10</last_time_ok>
    <last_time_warning>1969-12-31 16:00:00</last_time_warning>
    <last_time_critical>1969-12-31 16:00:00</last_time_critical>
    <last_time_unknown>1969-12-31 16:00:00</last_time_unknown>
    <last_notification>1969-12-31 16:00:00</last_notification>
    <next_notification>1969-12-31 16:00:00</next_notification>
    <no_more_notifications>0</no_more_notifications>
    <acknowledgement_type>0</acknowledgement_type>
    <current_notification_number>0</current_notification_number>
    <process_performance_data>1</process_performance_data>
    <obsess_over_service>1</obsess_over_service>
    <event_handler_enabled>1</event_handler_enabled>
    <modified_service_attributes>0</modified_service_attributes>
    <event_handler></event_handler>
    <check_command>check_local_mem!30!20</check_command>
    <normal_check_interval>5</normal_check_interval>
    <retry_check_interval>1</retry_check_interval>
    <check_timeperiod_id>0</check_timeperiod_id>
    <icon_image></icon_image>
    <icon_image_alt></icon_image_alt>
    <has_been_checked>1</has_been_checked>
    <current_check_attempt>1</current_check_attempt>
    <max_check_attempts>4</max_check_attempts>
    <last_check>2019-10-02 15:44:10</last_check>
    <next_check>2019-10-02 15:49:10</next_check>
    <state_type>1</state_type>
    <notifications_enabled>1</notifications_enabled>
    <problem_acknowledged>0</problem_acknowledged>
    <flap_detection_enabled>1</flap_detection_enabled>
    <is_flapping>0</is_flapping>
    <percent_state_change>0</percent_state_change>
    <latency>0</latency>
    <execution_time>0.04554</execution_time>
    <scheduled_downtime_depth>0</scheduled_downtime_depth>
    <passive_checks_enabled>1</passive_checks_enabled>
    <active_checks_enabled>1</active_checks_enabled>
    <notes></notes>
    <notes_url></notes_url>
    <action_url></action_url>
  </servicestatus>
  <servicestatus id='1880'>
    <instance_id>1</instance_id>
    <service_id>61</service_id>
    <host_id>58</host_id>
    <host_name>localhost</host_name>
    <host_alias>localhost</host_alias>
    <name>Current Users</name>
    <host_display_name></host_display_name>
    <host_address>127.0.0.1</host_address>
    <display_name>Current Users</display_name>
    <status_update_time>2019-10-02 15:45:20</status_update_time>
    <status_text>USERS OK - 0 users currently logged in</status_text>
    <status_text_long></status_text_long>
    <current_state>0</current_state>
    <performance_data>users=0;20;50;0</performance_data>
    <should_be_scheduled>1</should_be_scheduled>
    <check_type>0</check_type>
    <last_state_change>2019-09-23 12:09:26</last_state_change>
    <last_hard_state_change>2019-09-23 12:09:26</last_hard_state_change>
    <last_hard_state>0</last_hard_state>
    <last_time_ok>2019-10-02 15:45:20</last_time_ok>
    <last_time_warning>1969-12-31 16:00:00</last_time_warning>
    <last_time_critical>1969-12-31 16:00:00</last_time_critical>
    <last_time_unknown>1969-12-31 16:00:00</last_time_unknown>
    <last_notification>1969-12-31 16:00:00</last_notification>
    <next_notification>1969-12-31 16:00:00</next_notification>
    <no_more_notifications>0</no_more_notifications>
    <acknowledgement_type>0</acknowledgement_type>
    <current_notification_number>0</current_notification_number>
    <process_performance_data>1</process_performance_data>
    <obsess_over_service>1</obsess_over_service>
    <event_handler_enabled>1</event_handler_enabled>
    <modified_service_attributes>0</modified_service_attributes>
    <event_handler></event_handler>
    <check_command>check_local_users!20!50</check_command>
    <normal_check_interval>5</normal_check_interval>
    <retry_check_interval>1</retry_check_interval>
    <check_timeperiod_id>0</check_timeperiod_id>
    <icon_image></icon_image>
    <icon_image_alt></icon_image_alt>
    <has_been_checked>1</has_been_checked>
    <current_check_attempt>1</current_check_attempt>
    <max_check_attempts>4</max_check_attempts>
    <last_check>2019-10-02 15:45:20</last_check>
    <next_check>2019-10-02 15:50:20</next_check>
    <state_type>1</state_type>
    <notifications_enabled>1</notifications_enabled>
    <problem_acknowledged>0</problem_acknowledged>
    <flap_detection_enabled>1</flap_detection_enabled>
    <is_flapping>0</is_flapping>
    <percent_state_change>0</percent_state_change>
    <latency>0.00097</latency>
    <execution_time>0.00207</execution_time>
    <scheduled_downtime_depth>0</scheduled_downtime_depth>
    <passive_checks_enabled>1</passive_checks_enabled>
    <active_checks_enabled>1</active_checks_enabled>
    <notes></notes>
    <notes_url></notes_url>
    <action_url></action_url>
  </servicestatus>
  <servicestatus id='1879'>
    <instance_id>1</instance_id>
    <service_id>60</service_id>
    <host_id>58</host_id>
    <host_name>localhost</host_name>
    <host_alias>localhost</host_alias>
    <name>Current Load</name>
    <host_display_name></host_display_name>
    <host_address>127.0.0.1</host_address>
    <display_name>Current Load</display_name>
    <status_update_time>2019-10-02 15:46:57</status_update_time>
    <status_text>OK - load average: 0.47, 0.40, 0.39</status_text>
    <status_text_long></status_text_long>
    <current_state>0</current_state>
    <performance_data>load1=0.470;5.000;10.000;0; load5=0.400;4.000;6.000;0; load15=0.390;3.000;4.000;0;</performance_data>
    <should_be_scheduled>1</should_be_scheduled>
    <check_type>0</check_type>
    <last_state_change>2019-09-23 12:09:03</last_state_change>
    <last_hard_state_change>2019-09-23 12:09:03</last_hard_state_change>
    <last_hard_state>0</last_hard_state>
    <last_time_ok>2019-10-02 15:46:57</last_time_ok>
    <last_time_warning>1969-12-31 16:00:00</last_time_warning>
    <last_time_critical>1969-12-31 16:00:00</last_time_critical>
    <last_time_unknown>1969-12-31 16:00:00</last_time_unknown>
    <last_notification>1969-12-31 16:00:00</last_notification>
    <next_notification>1969-12-31 16:00:00</next_notification>
    <no_more_notifications>0</no_more_notifications>
    <acknowledgement_type>0</acknowledgement_type>
    <current_notification_number>0</current_notification_number>
    <process_performance_data>1</process_performance_data>
    <obsess_over_service>1</obsess_over_service>
    <event_handler_enabled>1</event_handler_enabled>
    <modified_service_attributes>0</modified_service_attributes>
    <event_handler></event_handler>
    <check_command>check_local_load!5.0,4.0,3.0!10.0,6.0,4.0</check_command>
    <normal_check_interval>5</normal_check_interval>
    <retry_check_interval>1</retry_check_interval>
    <check_timeperiod_id>0</check_timeperiod_id>
    <icon_image></icon_image>
    <icon_image_alt></icon_image_alt>
    <has_been_checked>1</has_been_checked>
    <current_check_attempt>1</current_check_attempt>
    <max_check_attempts>4</max_check_attempts>
    <last_check>2019-10-02 15:46:57</last_check>
    <next_check>2019-10-02 15:51:57</next_check>
    <state_type>1</state_type>
    <notifications_enabled>1</notifications_enabled>
    <problem_acknowledged>0</problem_acknowledged>
    <flap_detection_enabled>1</flap_detection_enabled>
    <is_flapping>0</is_flapping>
    <percent_state_change>0</percent_state_change>
    <latency>0.00038</latency>
    <execution_time>0.00658</execution_time>
    <scheduled_downtime_depth>0</scheduled_downtime_depth>
    <passive_checks_enabled>1</passive_checks_enabled>
    <active_checks_enabled>1</active_checks_enabled>
    <notes></notes>
    <notes_url></notes_url>
    <action_url></action_url>
  </servicestatus>
  <servicestatus id='1881'>
    <instance_id>1</instance_id>
    <service_id>62</service_id>
    <host_id>58</host_id>
    <host_name>localhost</host_name>
    <host_alias>localhost</host_alias>
    <name>HTTP</name>
    <host_display_name></host_display_name>
    <host_address>127.0.0.1</host_address>
    <display_name>HTTP</display_name>
    <status_update_time>2019-10-02 15:44:43</status_update_time>
    <status_text>HTTP OK: HTTP/1.1 302 Found - 438 bytes in 0.000 second response time</status_text>
    <status_text_long></status_text_long>
    <current_state>0</current_state>
    <performance_data>time=0.000435s;;;0.000000 size=438B;;;0</performance_data>
    <should_be_scheduled>1</should_be_scheduled>
    <check_type>0</check_type>
    <last_state_change>2019-09-23 12:16:48</last_state_change>
    <last_hard_state_change>2019-09-23 12:16:48</last_hard_state_change>
    <last_hard_state>0</last_hard_state>
    <last_time_ok>2019-10-02 15:44:43</last_time_ok>
    <last_time_warning>1969-12-31 16:00:00</last_time_warning>
    <last_time_critical>2019-09-23 12:16:48</last_time_critical>
    <last_time_unknown>1969-12-31 16:00:00</last_time_unknown>
    <last_notification>1969-12-31 16:00:00</last_notification>
    <next_notification>1969-12-31 16:00:00</next_notification>
    <no_more_notifications>0</no_more_notifications>
    <acknowledgement_type>0</acknowledgement_type>
    <current_notification_number>0</current_notification_number>
    <process_performance_data>1</process_performance_data>
    <obsess_over_service>1</obsess_over_service>
    <event_handler_enabled>1</event_handler_enabled>
    <modified_service_attributes>0</modified_service_attributes>
    <event_handler></event_handler>
    <check_command>check_http</check_command>
    <normal_check_interval>5</normal_check_interval>
    <retry_check_interval>1</retry_check_interval>
    <check_timeperiod_id>0</check_timeperiod_id>
    <icon_image></icon_image>
    <icon_image_alt></icon_image_alt>
    <has_been_checked>1</has_been_checked>
    <current_check_attempt>1</current_check_attempt>
    <max_check_attempts>4</max_check_attempts>
    <last_check>2019-10-02 15:44:43</last_check>
    <next_check>2019-10-02 15:49:43</next_check>
    <state_type>1</state_type>
    <notifications_enabled>1</notifications_enabled>
    <problem_acknowledged>0</problem_acknowledged>
    <flap_detection_enabled>1</flap_detection_enabled>
    <is_flapping>0</is_flapping>
    <percent_state_change>0</percent_state_change>
    <latency>0.00114</latency>
    <execution_time>0.00476</execution_time>
    <scheduled_downtime_depth>0</scheduled_downtime_depth>
    <passive_checks_enabled>1</passive_checks_enabled>
    <active_checks_enabled>1</active_checks_enabled>
    <notes></notes>
    <notes_url></notes_url>
    <action_url></action_url>
  </servicestatus>
  <servicestatus id='1885'>
    <instance_id>1</instance_id>
    <service_id>66</service_id>
    <host_id>58</host_id>
    <host_name>localhost</host_name>
    <host_alias>localhost</host_alias>
    <name>SSH</name>
    <host_display_name></host_display_name>
    <host_address>127.0.0.1</host_address>
    <display_name>SSH</display_name>
    <status_update_time>2019-10-02 15:47:12</status_update_time>
    <status_text>SSH OK - OpenSSH_7.4 (protocol 2.0)</status_text>
    <status_text_long></status_text_long>
    <current_state>0</current_state>
    <performance_data>time=0.017489s;;;0.000000;10.000000</performance_data>
    <should_be_scheduled>1</should_be_scheduled>
    <check_type>0</check_type>
    <last_state_change>2019-09-23 12:11:24</last_state_change>
    <last_hard_state_change>2019-09-23 12:11:24</last_hard_state_change>
    <last_hard_state>0</last_hard_state>
    <last_time_ok>2019-10-02 15:47:11</last_time_ok>
    <last_time_warning>1969-12-31 16:00:00</last_time_warning>
    <last_time_critical>1969-12-31 16:00:00</last_time_critical>
    <last_time_unknown>1969-12-31 16:00:00</last_time_unknown>
    <last_notification>1969-12-31 16:00:00</last_notification>
    <next_notification>1969-12-31 16:00:00</next_notification>
    <no_more_notifications>0</no_more_notifications>
    <acknowledgement_type>0</acknowledgement_type>
    <current_notification_number>0</current_notification_number>
    <process_performance_data>1</process_performance_data>
    <obsess_over_service>1</obsess_over_service>
    <event_handler_enabled>1</event_handler_enabled>
    <modified_service_attributes>0</modified_service_attributes>
    <event_handler></event_handler>
    <check_command>check_ssh</check_command>
    <normal_check_interval>5</normal_check_interval>
    <retry_check_interval>1</retry_check_interval>
    <check_timeperiod_id>0</check_timeperiod_id>
    <icon_image></icon_image>
    <icon_image_alt></icon_image_alt>
    <has_been_checked>1</has_been_checked>
    <current_check_attempt>1</current_check_attempt>
    <max_check_attempts>4</max_check_attempts>
    <last_check>2019-10-02 15:47:11</last_check>
    <next_check>2019-10-02 15:52:11</next_check>
    <state_type>1</state_type>
    <notifications_enabled>1</notifications_enabled>
    <problem_acknowledged>0</problem_acknowledged>
    <flap_detection_enabled>1</flap_detection_enabled>
    <is_flapping>0</is_flapping>
    <percent_state_change>0</percent_state_change>
    <latency>0.00055</latency>
    <execution_time>0.01965</execution_time>
    <scheduled_downtime_depth>0</scheduled_downtime_depth>
    <passive_checks_enabled>1</passive_checks_enabled>
    <active_checks_enabled>1</active_checks_enabled>
    <notes></notes>
    <notes_url></notes_url>
    <action_url></action_url>
  </servicestatus>
  <servicestatus id='1886'>
    <instance_id>1</instance_id>
    <service_id>67</service_id>
    <host_id>58</host_id>
    <host_name>localhost</host_name>
    <host_alias>localhost</host_alias>
    <name>Service Status - crond</name>
    <host_display_name></host_display_name>
    <host_address>127.0.0.1</host_address>
    <display_name>Service Status - crond</display_name>
    <status_update_time>2019-10-02 15:48:09</status_update_time>
    <status_text>● crond.service - Command Scheduler</status_text>
    <status_text_long>   Loaded: loaded (/usr/lib/systemd/system/crond.service; enabled; vendor preset: enabled)\n   Active: active (running) since Mon 2019-09-23 14:21:55 PDT; 1 weeks 2 days ago\n Main PID: 1856 (crond)\n   CGroup: /system.slice/crond.service\n           ├─ 1856 /usr/sbin/crond -n\n           ├─89955 /usr/sbin/CROND -n\n           ├─89956 /usr/sbin/CROND -n\n           ├─89957 /usr/sbin/CROND -n\n           ├─89958 /usr/sbin/CROND -n\n           ├─89959 /usr/sbin/CROND -n\n           ├─89960 /usr/sbin/CROND -n\n           ├─89963 /bin/sh -c /usr/bin/php -q /usr/local/nagiosxi/cron/perfdataproc.php &gt;&gt; /usr/local/nagiosxi/var/perfdataproc.log 2&gt;&amp;1\n           ├─89965 /usr/bin/php -q /usr/local/nagiosxi/cron/perfdataproc.php\n           ├─89966 /bin/sh -c /usr/bin/php -q /usr/local/nagiosxi/cron/eventman.php &gt;&gt; /usr/local/nagiosxi/var/eventman.log 2&gt;&amp;1\n           ├─89967 /bin/sh -c /usr/bin/php -q /usr/local/nagiosxi/cron/cmdsubsys.php &gt;&gt; /usr/local/nagiosxi/var/cmdsubsys.log 2&gt;&amp;1\n           ├─89970 /usr/bin/php -q /usr/local/nagiosxi/cron/cmdsubsys.php\n           ├─89971 /usr/bin/php -q /usr/local/nagiosxi/cron/eventman.php\n           ├─89972 /bin/sh -c /usr/bin/php -q /usr/local/nagiosxi/cron/feedproc.php &gt;&gt; /usr/local/nagiosxi/var/feedproc.log 2&gt;&amp;1\n           ├─89973 /usr/bin/php -q /usr/local/nagiosxi/cron/feedproc.php\n           ├─89976 /bin/sh -c /usr/bin/php -q /usr/local/nagiosxi/cron/event_handler.php &gt;&gt; /usr/local/nagiosxi/var/event_handler.log 2&gt;&amp;1\n           ├─89980 /bin/sh -c /usr/bin/php -q /usr/local/nagiosxi/cron/sysstat.php &gt;&gt; /usr/local/nagiosxi/var/sysstat.log 2&gt;&amp;1\n           ├─89981 /usr/bin/php -q /usr/local/nagiosxi/cron/event_handler.php\n           └─89984 /usr/bin/php -q /usr/local/nagiosxi/cron/sysstat.php\n\nOct 02 15:48:01 xinode CROND[89967]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosxi/cron/cmdsubsys.php &gt;&gt; /usr/local/nagiosxi/var/cmdsubsys.log 2&gt;&amp;1)\nOct 02 15:48:01 xinode CROND[89972]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosxi/cron/feedproc.php &gt;&gt; /usr/local/nagiosxi/var/feedproc.log 2&gt;&amp;1)\nOct 02 15:48:01 xinode CROND[89969]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosxi/cron/deadpool.php &gt;&gt; /usr/local/nagiosxi/var/deadpool.log 2&gt;&amp;1)\nOct 02 15:48:01 xinode CROND[89974]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosxi/cron/reportengine.php &gt;&gt; /usr/local/nagiosxi/var/reportengine.log 2&gt;&amp;1)\nOct 02 15:48:01 xinode CROND[89975]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosxi/cron/nom.php &gt;&gt; /usr/local/nagiosxi/var/nom.log 2&gt;&amp;1)\nOct 02 15:48:01 xinode CROND[89976]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosxi/cron/event_handler.php &gt;&gt; /usr/local/nagiosxi/var/event_handler.log 2&gt;&amp;1)\nOct 02 15:48:01 xinode CROND[89980]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosxi/cron/sysstat.php &gt;&gt; /usr/local/nagiosxi/var/sysstat.log 2&gt;&amp;1)\nOct 02 15:48:01 xinode sudo[89997]:   nagios : TTY=unknown ; PWD=/home/nagios ; USER=root ; COMMAND=/usr/local/nagiosxi/scripts/manage_services.sh status nagios\nOct 02 15:48:01 xinode sudo[90033]:   nagios : TTY=unknown ; PWD=/home/nagios ; USER=root ; COMMAND=/usr/local/nagiosxi/scripts/manage_services.sh status npcd\nOct 02 15:48:01 xinode sudo[90041]:   nagios : TTY=unknown ; PWD=/home/nagios ; USER=root ; COMMAND=/usr/local/nagiosxi/scripts/manage_services.sh status ndo2db</status_text_long>
    <current_state>0</current_state>
    <performance_data></performance_data>
    <should_be_scheduled>1</should_be_scheduled>
    <check_type>0</check_type>
    <last_state_change>2019-09-23 12:11:39</last_state_change>
    <last_hard_state_change>2019-09-23 12:11:39</last_hard_state_change>
    <last_hard_state>0</last_hard_state>
    <last_time_ok>2019-10-02 15:48:09</last_time_ok>
    <last_time_warning>1969-12-31 16:00:00</last_time_warning>
    <last_time_critical>1969-12-31 16:00:00</last_time_critical>
    <last_time_unknown>1969-12-31 16:00:00</last_time_unknown>
    <last_notification>1969-12-31 16:00:00</last_notification>
    <next_notification>1969-12-31 16:00:00</next_notification>
    <no_more_notifications>0</no_more_notifications>
    <acknowledgement_type>0</acknowledgement_type>
    <current_notification_number>0</current_notification_number>
    <process_performance_data>1</process_performance_data>
    <obsess_over_service>1</obsess_over_service>
    <event_handler_enabled>1</event_handler_enabled>
    <modified_service_attributes>0</modified_service_attributes>
    <event_handler></event_handler>
    <check_command>check_xi_service_status!crond!!!!!!</check_command>
    <normal_check_interval>5</normal_check_interval>
    <retry_check_interval>1</retry_check_interval>
    <check_timeperiod_id>0</check_timeperiod_id>
    <icon_image></icon_image>
    <icon_image_alt></icon_image_alt>
    <has_been_checked>1</has_been_checked>
    <current_check_attempt>1</current_check_attempt>
    <max_check_attempts>4</max_check_attempts>
    <last_check>2019-10-02 15:48:09</last_check>
    <next_check>2019-10-02 15:53:09</next_check>
    <state_type>1</state_type>
    <notifications_enabled>1</notifications_enabled>
    <problem_acknowledged>0</problem_acknowledged>
    <flap_detection_enabled>1</flap_detection_enabled>
    <is_flapping>0</is_flapping>
    <percent_state_change>0</percent_state_change>
    <latency>0.00052</latency>
    <execution_time>0.03668</execution_time>
    <scheduled_downtime_depth>0</scheduled_downtime_depth>
    <passive_checks_enabled>1</passive_checks_enabled>
    <active_checks_enabled>1</active_checks_enabled>
    <notes></notes>
    <notes_url></notes_url>
    <action_url></action_url>
  </servicestatus>
</servicestatuslist>
You do not have the required permissions to view the files attached to this post.
“And who better understands the Unix-nature?” Master Foo asked.
“Is it he who writes the ten thousand lines, or he who, perceiving the emptiness of the task, gains merit by not coding?”
Master Foo - The ten thousand Lines
Unix Koans of Master Foo
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: FUSION: Unable to Map to XI users (no mapping)

Post by benjaminsmith »

Hello,

Appreciate the updates, and that looks ok so far. Please run the following query to see if we can get a list of users from the fused XI server via the API.

Code: Select all

curl -XGET http://<IP ADDRESS>/nagiosxi/api/v1/system/user?fusekey=<FUSE KEY>&outputtype=xml&user=nagiosadmin?
Also, please enable the fusion log and debug log from the System Settings and post them to the thread after after letting the system run for a while. The default locations are as follows. Thanks.

Code: Select all

/usr/local/nagiosfusion/var/log/fusion.log
/usr/local/nagiosfusion/var/log/fusion.debug
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked