Hi,
I've recently installed NagiosXI on CentOS 5.6 x86_64. I have satellite machines with Nagios core configured to send their alerts to the XI machine to centralize everything. To aid in configuring XI I've installed the unconfigured objects plug-in in the hopes that it would ease administration however I've run into a problem. I get hosts and services that show up in the plugin but after I complete the import wizard neither the machine nor the services show up in Nagios. Also of note is that it seems to work ok via HTTP but not using HTTPS. Any ideas?
Unconfigured Objects Not Importing
Re: Unconfigured Objects Not Importing
I'm having a little trouble understanding what you're trying to do and what you've done already. Would you mind clarifying? When you say the hosts & services don't show up, and then you say it works in HTTP but not HTTPS, what exactly is going wrong? Did you follow this doc?
-
jcandalino
- Posts: 4
- Joined: Thu Jul 07, 2011 1:58 pm
Re: Unconfigured Objects Not Importing
Hi,
Yes, I followed that doc.
Here's my workflow:
1. Set up satellite service to send check results to mothership
2. Log into the mothership via https
2. Open the Unconfigured Objects wizard in XI
3. Click the "play" button to configure one of the new hosts/services
4. Step through the wizard
5. Get successful completion notice
6. Check host detail screen for host I just configured
7. No joy
The same procedure works fine when using http.
I've run into another problem now where the unconfigured objects wizard is displaying nested hosts somehow and it won't let me delete anything. The attached screenshot shows the odd nesting behavior. I can't delete any of these hosts or services.
Yes, I followed that doc.
Here's my workflow:
1. Set up satellite service to send check results to mothership
2. Log into the mothership via https
2. Open the Unconfigured Objects wizard in XI
3. Click the "play" button to configure one of the new hosts/services
4. Step through the wizard
5. Get successful completion notice
6. Check host detail screen for host I just configured
7. No joy
The same procedure works fine when using http.
I've run into another problem now where the unconfigured objects wizard is displaying nested hosts somehow and it won't let me delete anything. The attached screenshot shows the odd nesting behavior. I can't delete any of these hosts or services.
You do not have the required permissions to view the files attached to this post.
Last edited by jcandalino on Thu Jul 14, 2011 1:57 pm, edited 1 time in total.
Re: Unconfigured Objects Not Importing
You need to have the following variable set in the /usr/local/nagiosxi/html/config.inc.php file. I'm guessing this is preventing the configuration from applying in https.
Code: Select all
$cfg['use_https']=true; -
jcandalino
- Posts: 4
- Joined: Thu Jul 07, 2011 1:58 pm
Re: Unconfigured Objects Not Importing
Ok, that seems to have fixed the first problem I had. Was that in the documentation anywhere? I don't remember seeing it.
Any ideas on how to fix the nesting or delete the extra objects from the unconfigured objects wizard?
Any ideas on how to fix the nesting or delete the extra objects from the unconfigured objects wizard?
Re: Unconfigured Objects Not Importing
Yeah, I think the only place we've got it noted at the moment is in the changelog, we're still working out a few of the https bug, and we've got a document in the works on setting up SSL with XI.Ok, that seems to have fixed the first problem I had. Was that in the documentation anywhere? I don't remember seeing it.
Can you elaborate on the "nesting"?Any ideas on how to fix the nesting or delete the extra objects from the unconfigured objects wizard?
The issue with deleting the extra objects is a known bug with the wizard, we plan to have the resolved in future releases.
-
jcandalino
- Posts: 4
- Joined: Thu Jul 07, 2011 1:58 pm
Re: Unconfigured Objects Not Importing
Ok, cool...looking forward to the update.
The nesting is shown in the screen shot I attached above. There is a host at the top named shake and under that there is one called rattle but rattle (along with its checkbox) is offset one column from where it should be wich then throws off the placement of some of the services blow it.
The nesting is shown in the screen shot I attached above. There is a host at the top named shake and under that there is one called rattle but rattle (along with its checkbox) is offset one column from where it should be wich then throws off the placement of some of the services blow it.
Re: Unconfigured Objects Not Importing
What kind of special characters are on that host/service name? It looks to be escaping the parser that looks for new objects. I'm thinking that's why you're getting the strange nesting. If you could send a sample host and service name with similar characters (metas, spaces,#, etc) we can try some testing on our end and see if there's a bug in there somewhere.
We should have a doc on SSL later this week, along with a new version of XI that has fixes for SSL in the next week or so.
We should have a doc on SSL later this week, along with a new version of XI that has fixes for SSL in the next week or so.