Nagios Fusion Hostgroup Dashboard

This board serves as an open discussion and support collaboration point for Nagios Fusion. NOTE: Nagios Fusion customers should use the Customer Support forum to obtain expedited support.

Re: Nagios Fusion Hostgroup Dashboard

Postby tgriep » Wed Mar 21, 2018 3:54 pm

If you create a ticket, and include the link to this post, we can schedule a remote session with you to resolve the issue.
To create a ticket, you can use the following link.
https://support.nagios.com/tickets/

This URL is a guide on what is needed to create a ticket.
https://support.nagios.com/kb/article/creating-a-ticket-in-the-support-center-769.html
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
tgriep
Madmin
 
Posts: 6882
Joined: Thu Oct 30, 2014 9:02 am

Re: Nagios Fusion Hostgroup Dashboard

Postby scharft » Fri Apr 13, 2018 12:44 am

Hi, as recommend in our remote session, I installed a new linux host with fusion.
The installation and configuration including add the nagios xi instances were successful but 2 instances don't show any information.
Please see attachmend, XISummary.
I have re-added the instances, changed the polling intervall. etc.. but nothing helped.
Any recommendations?

Best Regards
Attachments
XISummary.jpg
scharft
 
Posts: 21
Joined: Wed Jul 29, 2015 6:55 am

Re: Nagios Fusion Hostgroup Dashboard

Postby tgriep » Fri Apr 13, 2018 11:56 am

Can you run the following as root on the Fusion server and post the /tmp/varlog.tgz file?
Code: Select all
tar cvfz /tmp/varlog.tgz /usr/local/nagiosfusion/var/log/*.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
tgriep
Madmin
 
Posts: 6882
Joined: Thu Oct 30, 2014 9:02 am

Re: Nagios Fusion Hostgroup Dashboard

Postby scharft » Wed Apr 18, 2018 1:19 am

the varlog is attached.

best Regards
Attachments
varlog.tgz
(79.64 KiB) Downloaded 87 times
scharft
 
Posts: 21
Joined: Wed Jul 29, 2015 6:55 am

Re: Nagios Fusion Hostgroup Dashboard

Postby tgriep » Wed Apr 18, 2018 10:28 am

Thanks for the log files.
Can you run the following command as root to get the server ID for the Vienna server and the Bannockburn servers and post it here?

In the log files, I am seeing authentication issues for servers 1, 3 and 6 so can you verify that the user account you are using to poll the server is valid as well as the Fusekey?

To verify that the Fusekey from the Nagios XI servers are correct, run the following on the Fusion server replacing the nagiosxiserver with the XI server's host name and the xxxxxxxxxxxxxxxxxxxxxxxx with the fusion key from the XI server.
Code: Select all
curl -XGET https://nagiosxiserver/nagiosxi/api/v1/system/status?fusekey=xxxxxxxxxxxxxxxxxxxxxxxx -k -v


It should come back with the server status information if it is valid.
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
tgriep
Madmin
 
Posts: 6882
Joined: Thu Oct 30, 2014 9:02 am

Re: Nagios Fusion Hostgroup Dashboard

Postby scharft » Thu Apr 19, 2018 2:37 am

curl -XGET http://atvinag003.corp.inbaxalta.com/na ... 8BEDFC2E41 -k -v

* About to connect() to atvinag003.corp.inbaxalta.com port 80 (#0)
* Trying 10.110.13.84...
* Connected to atvinag003.corp.inbaxalta.com (10.110.13.84) port 80 (#0)
> GET /nagiosxi/api/v1/system/status?fusekey=60019E5E30DAC56E1CA5CD8BEDFC2E41 HTTP/1.1
> User-Agent: curl/7.29.0
> Host: atvinag003.corp.inbaxalta.com
> Accept: */*
>
< HTTP/1.1 200 OK
< Date: Thu, 19 Apr 2018 07:00:07 GMT
< Server: Apache/2.2.15 (Red Hat)
< X-Powered-By: PHP/5.3.3
< Access-Control-Allow-Orgin: *
< Access-Control-Allow-Methods: *
< Content-Length: 840
< Connection: close
< Content-Type: application/json
<
{"instance_id":"1","instance_name":"localhost","status_update_time":"2018-04-19 09:00:01","program_start_time":"2018-04-18 22:15:05","program_run_time":"38702","program_end_time":"0000-00-00 00:00:00","is_currently_running":"1","process_id":"37668","daemon_mode":"1","last_command_check":"1970-01-01 01:00:00","last_log_rotation":"2018-04-18 23:59:59","notifications_enabled":"1","active_service_checks_enabled":"1","passive_service_checks_enabled":"1","active_host_checks_enabled":"1","passive_host_checks_enabled":"1","event_handlers_enabled":"1","flap_detection_enabled":"1","process_performance_data":"1","obsess_over_hosts":"1","obsess_over_services":"1","modified_host_attributes":"129","modified_service_attributes":"133","global_host_event_handler":"xi_host_event_handler","global_service_event_handler":"xi_service_event_handler"}

curl -XGET http://usbbnag1001.corp.inbaxalta.com/n ... 410B79CC15 -k -v



* About to connect() to usbbnag1001.corp.inbaxalta.com port 80 (#0)
* Trying 10.150.76.108...
* Connected to usbbnag1001.corp.inbaxalta.com (10.150.76.108) port 80 (#0)
> GET /nagiosxi/api/v1/system/status?fusekey=330B0011A613913AB0FBDB410B79CC15 HTTP/1.1
> User-Agent: curl/7.29.0
> Host: usbbnag1001.corp.inbaxalta.com
> Accept: */*
>
< HTTP/1.1 200 OK
< Date: Thu, 19 Apr 2018 07:01:35 GMT
< Server: Apache/2.4.6 (Red Hat Enterprise Linux) OpenSSL/1.0.2k-fips PHP/5.4.16
< X-Powered-By: PHP/5.4.16
< Access-Control-Allow-Orgin: *
< Access-Control-Allow-Methods: *
< Content-Length: 836
< Content-Type: application/json
<
{"instance_id":"1","instance_name":"localhost","status_update_time":"2018-04-19 00:01:32","program_start_time":"2018-04-18 20:00:04","program_run_time":"14491","program_end_time":"0000-00-00 00:00:00","is_currently_running":"1","process_id":"17623","daemon_mode":"1","last_command_check":"1969-12-31 16:00:00","last_log_rotation":"2018-04-18 23:59:59","notifications_enabled":"1","active_service_checks_enabled":"1","passive_service_checks_enabled":"1","active_host_checks_enabled":"1","passive_host_checks_enabled":"1","event_handlers_enabled":"1","flap_detection_enabled":"1","process_performance_data":"1","obsess_over_hosts":"0","obsess_over_services":"0","modified_host_attributes":"1","modified_service_attributes":"1","global_host_event_handler":"xi_host_event_handler","global_service_event_handler":"xi_service_event_handler"}
* Connection #0 to host usbbnag1001.corp.inbaxalta.com left intact
scharft
 
Posts: 21
Joined: Wed Jul 29, 2015 6:55 am

Re: Nagios Fusion Hostgroup Dashboard

Postby tgriep » Thu Apr 19, 2018 8:26 am

I missed adding the command to my last post, can you run the following and add the /tmp/info.txt file to the ticket?
Code: Select all
echo 'select * from servers;' |mysql -t -u fusion -pfusion fusion >/tmp/info.txt


Thanks for running the other commands and providing the output.
The Fusekeys are working.
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
tgriep
Madmin
 
Posts: 6882
Joined: Thu Oct 30, 2014 9:02 am

Re: Nagios Fusion Hostgroup Dashboard

Postby scharft » Sat Apr 21, 2018 10:05 am

file is attached

best Regards
Last edited by tgriep on Mon Apr 23, 2018 9:41 am, edited 1 time in total.
Reason: Removed attachment and shared with other techs.
scharft
 
Posts: 21
Joined: Wed Jul 29, 2015 6:55 am

Re: Nagios Fusion Hostgroup Dashboard

Postby tgriep » Mon Apr 23, 2018 1:52 pm

Thanks for the file.
It looks like the URL for the Vienna server is missing the .corp for the domain name.
Your example URL from last Thursday does not match the settings in Fusion. Update that and see if that server starts to check in.

The Bannockburn server settings look OK to me but verify them for sure.


If updating the settings for the Vienna server doesn't work, lets run a tcpdump on the Fusion server to capture the data between the servers.

First, you may need to install tcpdump by running the following as root.
Code: Select all
yum install tcpdump -y


Then, run the following as root on the fusion server for at least 20 minutes replacing yyyyyyyyy with the name of the server you are testing and xxx.xxx.xxx.xxx with it's IP address.
Code: Select all
tcpdump -i any -s 65535 -w yyyyyyyyy.cap dst xxx.xxx.xxx.xxx


Run the command against the Vienna server and or the Bannockburn server is they are still not getting polled data in the Fusion interface.
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
tgriep
Madmin
 
Posts: 6882
Joined: Thu Oct 30, 2014 9:02 am

Re: Nagios Fusion Hostgroup Dashboard

Postby scharft » Wed May 02, 2018 1:50 am

Hi, attached is the tump, please change the extension from txt to .cap.

best Thomas
Attachments
usbbnag1001.txt
(245.63 KiB) Downloaded 77 times
scharft
 
Posts: 21
Joined: Wed Jul 29, 2015 6:55 am

PreviousNext

Return to Nagios Fusion

Who is online

Users browsing this forum: No registered users and 1 guest