Nagios xi Wizard
-
- Posts: 59
- Joined: Thu Nov 18, 2010 12:52 pm
Nagios xi Wizard
I am using 2009 nagios that we purchased on the centos image. I plan to upgrade soon, but in the meantime I can't add new servers through the nagiosxi wizard. I can't reconfigure a server for another group either. It doesn't create a cfg file or in the case of reconfiguring it won't edit the config file. I don't get any errors. I can modify the cfg manually and import the file in the database and it works.
-
- Former Nagios Staff
- Posts: 13589
- Joined: Mon May 23, 2011 12:15 pm
Re: Nagios xi Wizard
sappjt,
Have you installed any new wizards, plugins, components, etc. before you started to experience these problems? Did you make any other changes that you can think of?
To get started, check our wiki page on the Configuration Problems:
http://support.nagios.com/wiki/index.ph ... leshooting
Use the Write Config Tool and post the output, so we can review it.
Also, try running in terminal:
and see if this will fix your problem.
Have you installed any new wizards, plugins, components, etc. before you started to experience these problems? Did you make any other changes that you can think of?
To get started, check our wiki page on the Configuration Problems:
http://support.nagios.com/wiki/index.ph ... leshooting
Use the Write Config Tool and post the output, so we can review it.
Also, try running in terminal:
Code: Select all
# /usr/local/nagiosxi/scripts/reset_config_perms
Be sure to check out our Knowledgebase for helpful articles and solutions!
-
- Posts: 59
- Joined: Thu Nov 18, 2010 12:52 pm
Re: Nagios xi Wizard
I haven't installed any new plugins, wizards, or components. The only changes that I made is I did the first steps of the upgrade process which was stop all nagios related processes and back up the databases to a different directory. I checked the wiki page and also ran the reset_config_perms script which didn't help.
-
- Posts: 4380
- Joined: Mon Jun 14, 2010 10:21 am
Re: Nagios xi Wizard
What kind of results do you get when you run the "Write Config Tool" in the Core Config Manager?
Also, can you show us the output.txt from:
Can you give us more detail on what is failing? What wizard are you running? Are there special characters in the host or service names?
Also, can you show us the output.txt from:
Code: Select all
cd /usr/local/nagiosxi/scripts
./reconfigure_nagios.sh &> output.txt
Can you give us more detail on what is failing? What wizard are you running? Are there special characters in the host or service names?
-
- Posts: 59
- Joined: Thu Nov 18, 2010 12:52 pm
Re: Nagios xi Wizard
I do have some warnings, but no errors.
After this was the rest of the successful comments
I am just using the monitoring tcp/udp port wizard. When I get done with the wizard and apply the configuration it says
When I check the host it says
No matching services found
I don't have any special characters in the hostname except a "-" which I have used in the past, but it doesn't matter if I have that or not.
Code: Select all
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!
Code: Select all
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!
Code: Select all
Warning: Duplicate definition found for service 'SSH' on host '##########' (config file '/usr/local/nagios/etc/services/############.cfg', starting on line 14)
Warning: Service 'SMB' on host '#########' has no check time period defined!
Warning: Service 'SMB' on host '##########' has no notification time period defined!
Warning: Service 'SMB' on host '#########' has no check time period defined!
Warning: Service 'SMB' on host '###########' has no notification time period defined!
Warning: Service 'HTTP' on host '############' has no check time period defined!
Warning: Service 'SMB' on host '##########' has no check time period defined!
Warning: Service 'SSH Server' on host '##########' has no check time period defined!
Warning: Service 'SSH Server' on host '##########' has no notification time period defined!
Warning: Service 'Snort Daemon' on host '########' has no check time period defined!
Warning: Service 'Snort Daemon' on host '########' has no notification time period defined!
Warning: Service 'Source Fire Agent' on host '#######' has no check time period defined!
Warning: Service 'Source Fire Agent' on host '######' has no notification time period defined!
Warning: Service 'Atrain Database' on host '#####' has no check time period defined!
Total Warnings: 13
Total Errors: 0
Code: Select all
Restart command successfully sent to Nagios
Code: Select all
Configuration submitted for processing...
Waiting for configuration verification... .....
Configuration applied successfully.
Configuration Request Successful
Your configuration changes have been successfully applied to the monitoring engine.
No matching services found
I don't have any special characters in the hostname except a "-" which I have used in the past, but it doesn't matter if I have that or not.
-
- Former Nagios Staff
- Posts: 13589
- Joined: Mon May 23, 2011 12:15 pm
Re: Nagios xi Wizard
sappjt,
Can you see the hosts/services that you created through the wizard in the Core Config Manager? You don't see any of them in the Home page, right?
Please, send us a screenshot of what you see.
Did you try rebooting your Nagios server? We had this bug in the 2009 version with multiple nagios instances running at the same time. Reboot the Nagios server and see if this will fix your problem.
Can you see the hosts/services that you created through the wizard in the Core Config Manager? You don't see any of them in the Home page, right?
Please, send us a screenshot of what you see.
Did you try rebooting your Nagios server? We had this bug in the 2009 version with multiple nagios instances running at the same time. Reboot the Nagios server and see if this will fix your problem.
Be sure to check out our Knowledgebase for helpful articles and solutions!
-
- Posts: 59
- Joined: Thu Nov 18, 2010 12:52 pm
Re: Nagios xi Wizard
I did a reboot and there was no change. I can see all my old servers that I have put in. I just can't see new ones unless I create a cfg and import it. They aren't in the Core Config Manager.
-
- Posts: 4380
- Joined: Mon Jun 14, 2010 10:21 am
Re: Nagios xi Wizard
What wizard are you attempting to run?
-
- Posts: 59
- Joined: Thu Nov 18, 2010 12:52 pm
Re: Nagios xi Wizard
It is the tcp/udp port monitoring wizard that I am running. I can't add new hosts through that now.
-
- Former Nagios Staff
- Posts: 13589
- Joined: Mon May 23, 2011 12:15 pm
Re: Nagios xi Wizard
sappjt,
Are you using a proxy? If you do, you will have to turn it off, because it will cause Nagios to fail. Read more on the topic here:
http://support.nagios.com/wiki/index.ph ... th_Proxies
If you are NOT using a proxy, we will have to take a closer look. It is strange that it fails with no errors (just warnings).
Are you using a proxy? If you do, you will have to turn it off, because it will cause Nagios to fail. Read more on the topic here:
http://support.nagios.com/wiki/index.ph ... th_Proxies
If you are NOT using a proxy, we will have to take a closer look. It is strange that it fails with no errors (just warnings).
Be sure to check out our Knowledgebase for helpful articles and solutions!