20 + Hosts Greyed Out

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
toleolu
Posts: 294
Joined: Fri Jul 19, 2013 7:02 pm
Location: Honolulu Hawaii

Re: 20 + Hosts Greyed Out

Post by toleolu »

That's an idea, let me give that a shot.

Thanks
Charles Masteller
Information Systems Specialist
Hawaii Health Systems Corp.
"No one will ever need more than 640K RAM". Bill Gates
toleolu
Posts: 294
Joined: Fri Jul 19, 2013 7:02 pm
Location: Honolulu Hawaii

Re: 20 + Hosts Greyed Out

Post by toleolu »

Where I was thinking the total was twenty some hosts, it now looks like practically every server that was configured using the Wizard. This is weird.

Before I do anything else, I need to know exactly where Nagios gets it's default information for the Windows server configuration wizard. Everything in host template is pretty much blanks so I need to know where all the values for the monitoring checks and alert notifications are coming from.

Mahalo
Charles Masteller
Information Systems Specialist
Hawaii Health Systems Corp.
"No one will ever need more than 640K RAM". Bill Gates
toleolu
Posts: 294
Joined: Fri Jul 19, 2013 7:02 pm
Location: Honolulu Hawaii

Re: 20 + Hosts Greyed Out

Post by toleolu »

The more I did into this, the more problems I keep coming across. I think it's best that I stop here, and see about setting up a web ex with you on Monday.

Please let me know what I need to do to arrange a live support session.

Mahalo
Charles Masteller
Information Systems Specialist
Hawaii Health Systems Corp.
"No one will ever need more than 640K RAM". Bill Gates
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: 20 + Hosts Greyed Out

Post by Box293 »

toleolu wrote:I need to know exactly where Nagios gets it's default information for the Windows server configuration wizard.
This is a combination of templates, hard coded items in the wizard and what the user selects during the wizard.

Below is the code used to generate a new host object for the Windows Server Wizard.

Code: Select all

"type" => OBJECTTYPE_HOST,
"use" => "xiwizard_windowsserver_host",
"host_name" => $hostname,
"address" => $hostaddress,
"icon_image" => "win_server.png",
"statusmap_image" => "win_server.png",
"_xiwizard" => $wizard_name,
The items that do not appear here are the check intervals, contacts etc ... all the stuff you select during the wizard.

The same applies for services however each service is a little different. You will need to refer to the wizard file for each specific item.

Services start at around line 580

Code: Select all

/usr/local/nagiosxi/html/includes/configwizards/windowsserver/windowsserver.inc.php
toleolu wrote:What's the best way to get the template back to default. I think I'm going to delete all of Maui's stuff and have them start all over again.
Attached is a copy of the original xiwizard_windowsserver_host template.
xiwizard_windowsserver_host.cfg
Transfer this file to:

Code: Select all

/usr/local/nagios/etc/import
Now import it:
  • CCM
    Tools > Import Config Files
    Select /usr/local/nagios/etc/import/xiwizard_windowsserver_host.cfg in the list
    Click the Import button
    Under Quick Tools click Apply Configuration
    Click the Apply Configuration button
Now the xiwizard_windowsserver_host template will be back to the original settings.
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.
toleolu
Posts: 294
Joined: Fri Jul 19, 2013 7:02 pm
Location: Honolulu Hawaii

Re: 20 + Hosts Greyed Out

Post by toleolu »

Sorry it took so long to reply, thanks for the info.

I had Nagios remote in and look at things and it looks like our VM might be a little undersized for what we are doing. We are working on adding CPU's and RAM to that VM per their recommendations so we'll see how things go after that.

Thanks again for your help.
Charles Masteller
Information Systems Specialist
Hawaii Health Systems Corp.
"No one will ever need more than 640K RAM". Bill Gates
Locked