service details not available

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
cheritie
Posts: 20
Joined: Mon Jan 07, 2013 11:52 am

service details not available

Post by cheritie »

1. I have installed trial version of nagios xi and configure hosts but then i have realized i haven't set agent's password.
Configuring agent's password only available during initial setup so i deleted all the hosts and tried to reinstall them all.
However, host detail still showed all the hosts and service details showed after i reconfigure hosts.
In CCM, i could delete services and hosts but it still shows on the host details.
Is there a way to remove them all and start over?

2. I had to reboot nagio server from VM Ware to upgrade memory and when i reopen UI, all the service details disappear.
I tried to restart agents and add hosts again but nothing shows.
Could you please help on these matters?

Thank you
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: service details not available

Post by abrist »

Can you apply configuration successfully? Try to verify the nagiosXI config files:

Config --> Core Config Manager --> Tools --> Write Config Files --> Click Write --> Then Click Verify

Do you receive any errors?
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
cheritie
Posts: 20
Joined: Mon Jan 07, 2013 11:52 am

Re: service details not available

Post by cheritie »

I didn't receive any errors.
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: service details not available

Post by abrist »

Post a listing of the XI config files directory:

Code: Select all

ls /usr/local/nagios/etc/hosts
ls /usr/local/nagios/etc/services
Make sure that the listed hosts and services are ones currently setup in XI.

Also, try to "write config files" and "apply configuration" in XI to make sure your config files changes were written out.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
cheritie
Posts: 20
Joined: Mon Jan 07, 2013 11:52 am

Re: service details not available

Post by cheritie »

Error: Invalid max_check_attempts value for host 'redcac10.mwfinc.com'
Error: Could not register host (config file '/usr/local/nagios/etc/hosts/redcac10.mwfinc.com.cfg', starting on line 14)

Nagios Core 3.4.1
Copyright (c) 2009-2011 Nagios Core Development Team and Community Contributors
Copyright (c) 1999-2009 Ethan Galstad
Last Modified: 05-11-2012
License: GPL
Error: Invalid max_check_attempts value for host 'redcac10.mwfinc.com'
Error: Could not register host (config file '/usr/local/nagios/etc/hosts/redcac10.mwfinc.com.cfg', starting on line 14)
Error processing object config files!


***> One or more problems was encountered while processing the config files...

Check your configuration file(s) to ensure that they contain valid
directives and data defintions. If you are upgrading from a previous
version of Nagios, you should be aware that some variables/definitions
may have been removed or modified in this version. Make sure to read
the HTML documentation regarding the config files, as well as the
'Whats New' section to find out what has changed.
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: service details not available

Post by abrist »

This got me the first time I setup a check in XI as well. You need to define the following to create a valid check:

On the "Check settings" tab:
Check interval
Retry interval
Max check attempts
Check Period

and

On the "Alert Settings" tab:
Notification period
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
cheritie
Posts: 20
Joined: Mon Jan 07, 2013 11:52 am

Re: service details not available

Post by cheritie »

i could not see where to find "check setting" tab.
please help.
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: service details not available

Post by slansing »

The Check Settings tab is located under the service's edit page within the Core Config Manager.
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: service details not available

Post by abrist »

Go to:

Configure (on the top blue bar) --> Core Config Manager (left hand pane) --> (log in) --> Hosts (left hand pane) --> Click the problematic host (redcac10.mwfinc.com) --> You should see "Host Management" in the right hand pane --> click the "Check Settings" tab --> Set the "Max Check Attempts" value --> Click "save" and then "Apply Configuration"
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
cheritie
Posts: 20
Joined: Mon Jan 07, 2013 11:52 am

Re: service details not available

Post by cheritie »

Thank you so much. I finally found it!
What's the difference between xi_timeperiod_24x7 and 24x7?
I guess the service detail doesn't show anymore because i reset the nagios server?
Is there a way to wipe out and start over?
Last edited by cheritie on Fri Jan 11, 2013 12:40 pm, edited 1 time in total.
Locked