Page 2 of 2
Re: 20 + Hosts Greyed Out
Posted: Fri Aug 01, 2014 6:02 pm
by toleolu
That's an idea, let me give that a shot.
Thanks
Re: 20 + Hosts Greyed Out
Posted: Fri Aug 01, 2014 6:23 pm
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
Re: 20 + Hosts Greyed Out
Posted: Fri Aug 01, 2014 8:13 pm
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
Re: 20 + Hosts Greyed Out
Posted: Sun Aug 03, 2014 8:06 pm
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:
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.
Re: 20 + Hosts Greyed Out
Posted: Thu Aug 07, 2014 4:06 pm
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.