Page 1 of 2

Nagios XI Test - Adding hosts and services

Posted: Thu Jan 26, 2012 2:35 pm
by JasonMagee
Hello Support,
I have been testing NagiosXI and have been having a couple issues.
1. Results of check command return undesired results. Includes "&apos". Please see nagiosxiHosts.jpg.
2. Hosts have been added however services for hosts are not showing on the Service Detail page. Please see nagiosxiService.jpg.

I am using the trial version of the NagiosXI VM which runs on CENTOS.

Re: Nagios XI Test - Adding hosts and services

Posted: Thu Jan 26, 2012 2:49 pm
by scottwilkerson
1.) This is a know but and is fixed in SVN for the next release
2.) I'd need a bit more information... like if any other filtering is going on, could you post a larger screenshot, so I can see the host and service summaries on the top and/or the URL?

Re: Nagios XI Test - Adding hosts and services

Posted: Thu Jan 26, 2012 2:55 pm
by JasonMagee
Here is a full screen showing the Summaries.

Re: Nagios XI Test - Adding hosts and services

Posted: Thu Jan 26, 2012 3:02 pm
by scottwilkerson
Excellent.

Can you also show me the configured services, because this doesn't seem to show any.
Config -> Core Config Manager -> Services

Thanks

Re: Nagios XI Test - Adding hosts and services

Posted: Thu Jan 26, 2012 3:09 pm
by JasonMagee
Here is the Service Management Screen

Re: Nagios XI Test - Adding hosts and services

Posted: Thu Jan 26, 2012 3:31 pm
by scottwilkerson
this is strange..

From the XI Web Interface, can I have you do the following:
Admin -> Monitoring Config -> Core Config Manager -> Tools -> Write Config Files

Click each go button one by one and report the results of each.

Re: Nagios XI Test - Adding hosts and services

Posted: Thu Jan 26, 2012 3:39 pm
by JasonMagee
Below are the results of each go command

Write monitoring data results
Write host configurations ...
Configuration file successfully written!

Write service configurations ...
Configuration file successfully written!

Write hostgroups.cfg ...
Configuration file successfully written!
Write servicegroups.cfg ...
Configuration file successfully written!
Write hosttemplates.cfg ...
Configuration file successfully written!
Write servicetemplates.cfg ...
Configuration file successfully written!

Write additional data
Write timeperiods.cfg ...
Configuration file successfully written!
Write commands.cfg ...
Configuration file successfully written!
Write contacts.cfg ...
Configuration file successfully written!
Write contactgroups.cfg ...
Configuration file successfully written!
Write contacttemplates.cfg ...
Configuration file successfully written!
Write servicedependencies.cfg ...
Configuration file successfully written!
Write hostdependencies.cfg ...
Configuration file successfully written!
Write serviceescalations.cfg ...
Configuration file successfully written!
Write hostescalations.cfg ...
Configuration file successfully written!
Write serviceextinfo.cfg ...
Configuration file successfully written!
Write hostextinfo.cfg ...
Configuration file successfully written!

Check configuration files results
Total Warnings: 0
Total Errors: 0


Nagios Core 3.2.3
Copyright (c) 2009-2010 Nagios Core Development Team and Community Contributors
Copyright (c) 1999-2009 Ethan Galstad
Last Modified: 10-03-2010
License: GPL

Website: http://www.nagios.org
Reading configuration data...
Read main config file okay...
Processing object config directory '/usr/local/nagios/etc/static'...
Processing object config file '/usr/local/nagios/etc/static/xiobjects.cfg'...
Processing object config file '/usr/local/nagios/etc/static/xitemplates.cfg'...
Processing object config file '/usr/local/nagios/etc/static/xitest.cfg'...
Processing object config file '/usr/local/nagios/etc/contacttemplates.cfg'...
Processing object config file '/usr/local/nagios/etc/contactgroups.cfg'...
Processing object config file '/usr/local/nagios/etc/contacts.cfg'...
Processing object config file '/usr/local/nagios/etc/timeperiods.cfg'...
Processing object config file '/usr/local/nagios/etc/commands.cfg'...
Processing object config file '/usr/local/nagios/etc/hostgroups.cfg'...
Processing object config file '/usr/local/nagios/etc/servicegroups.cfg'...
Processing object config file '/usr/local/nagios/etc/hosttemplates.cfg'...
Processing object config file '/usr/local/nagios/etc/servicetemplates.cfg'...
Processing object config file '/usr/local/nagios/etc/servicedependencies.cfg'...
Processing object config file '/usr/local/nagios/etc/serviceescalations.cfg'...
Processing object config file '/usr/local/nagios/etc/hostdependencies.cfg'...
Processing object config file '/usr/local/nagios/etc/hostescalations.cfg'...
Processing object config file '/usr/local/nagios/etc/hostextinfo.cfg'...
Processing object config file '/usr/local/nagios/etc/serviceextinfo.cfg'...
Processing object config directory '/usr/local/nagios/etc/hosts'...
Processing object config file '/usr/local/nagios/etc/hosts/engtest.panduit.com.cfg'...
Processing object config file '/usr/local/nagios/etc/hosts/cpeng.panduit.com.cfg'...
Processing object config file '/usr/local/nagios/etc/hosts/RSENG.cfg'...
Processing object config file '/usr/local/nagios/etc/hosts/BRENG.cfg'...
Processing object config file '/usr/local/nagios/etc/hosts/wceng.panduit.com.cfg'...
Processing object config file '/usr/local/nagios/etc/hosts/localhost.cfg'...
Processing object config directory '/usr/local/nagios/etc/services'...
Processing object config file '/usr/local/nagios/etc/services/engtest.panduit.com.cfg'...
Processing object config file '/usr/local/nagios/etc/services/cpeng.panduit.com.cfg'...
Processing object config file '/usr/local/nagios/etc/services/Dell_Open_Manage.cfg'...
Processing object config file '/usr/local/nagios/etc/services/wceng.panduit.com.cfg'...
Processing object config file '/usr/local/nagios/etc/services/localhost.cfg'...
Read object config files okay...

Running pre-flight check on configuration data...

Checking services...
Checked 18 services.
Checking hosts...
Checked 6 hosts.
Checking host groups...
Checked 15 host groups.
Checking service groups...
Checked 1 service groups.
Checking contacts...
Checked 4 contacts.
Checking contact groups...
Checked 4 contact groups.
Checking service escalations...
Checked 0 service escalations.
Checking service dependencies...
Checked 0 service dependencies.
Checking host escalations...
Checked 0 host escalations.
Checking host dependencies...
Checked 0 host dependencies.
Checking commands...
Checked 105 commands.
Checking time periods...
Checked 8 time periods.
Checking for circular paths between hosts...
Checking for circular host and service dependencies...
Checking global event handlers...
Checking obsessive compulsive processor commands...
Checking misc settings...

Total Warnings: 0
Total Errors: 0

Things look okay - No serious problems were detected during the pre-flight check

Written configuration files are valid. Nagios can be restarted!

Restart Nagios:
Restart command successfully sent to Nagios

Re: Nagios XI Test - Adding hosts and services

Posted: Thu Jan 26, 2012 4:05 pm
by scottwilkerson
Can run through a Website config wizard using www.nagios.com as the host.
Just leave all the defaults and click next, next, next, apply
Once the configuration applies, try to look at the service details page.

If you still have nothing, from the command line can you run

Code: Select all

tail -f /var/log/httpd/error_log
to see if we have any errors.

Re: Nagios XI Test - Adding hosts and services

Posted: Thu Jan 26, 2012 4:56 pm
by JasonMagee
It is still running but showing the following errors

I have attached the results to a txt file.

Re: Nagios XI Test - Adding hosts and services

Posted: Mon Jan 30, 2012 9:21 am
by JasonMagee
Scott, Have you been able to find anything from the error_log?