Page 1 of 2

Need help to migrate nagios core virtual config to nagios xi

Posted: Tue May 02, 2017 10:50 am
by pratik.patel
I am able to migrate config files but facing some issue with understanding existing nagios core virtual host.

Thanks,
Pratik

Re: Need help to migrate nagios core virtual config to nagio

Posted: Tue May 02, 2017 3:37 pm
by mcapra
I think you'd need mod_ldap to do that for starters:
https://httpd.apache.org/docs/current/mod/mod_ldap.html

Nagios XI's Apache doesn't include mod_ldap by default. We don't support this type of authentication for the front-end, though. We do LDAP differently in Nagios XI:
https://assets.nagios.com/downloads/nag ... ios-XI.pdf

Let us know if something in that documentation is unclear.

Re: Need help to migrate nagios core virtual config to nagio

Posted: Tue May 02, 2017 4:18 pm
by tacolover101
i think this might apply more towards whomever manages your apache configuration. this really doesn't pertain much to nagios.

Re: Need help to migrate nagios core virtual config to nagio

Posted: Tue May 02, 2017 4:24 pm
by dwhitfield
Regardless of having someone to manage an apache config, the proper way to handle LDAP is documented at https://assets.nagios.com/downloads/nag ... ios-XI.pdf

Re: Need help to migrate nagios core virtual config to nagio

Posted: Wed May 03, 2017 9:19 am
by pratik.patel
Thank you very much for the document.

Do you have document for making nagios xi https instead of http ?

Re: Need help to migrate nagios core virtual config to nagio

Posted: Wed May 03, 2017 9:29 am
by dwhitfield
Indeed we do! Here it is: https://assets.nagios.com/downloads/nag ... s%20XI.pdf

Please let us know if you run into any trouble.

Re: Need help to migrate nagios core virtual config to nagio

Posted: Wed May 03, 2017 3:18 pm
by pratik.patel
This document will edit the general/original config files.
What if we want to create a separate vhost.conf file for the nagios url like nagios.companyname.com.?

Re: Need help to migrate nagios core virtual config to nagio

Posted: Wed May 03, 2017 4:58 pm
by dwhitfield
Are you trying to run multiple applications on this server? That is not supported with XI.

Otherwise, you should be able to modify the files that are already there. Perhaps you could tell us a bit more about what you've tried or why you need a different vhost. Thanks!

Re: Need help to migrate nagios core virtual config to nagio

Posted: Wed May 03, 2017 8:14 pm
by tacolover101
pratik.patel wrote:This document will edit the general/original config files.
What if we want to create a separate vhost.conf file for the nagios url like nagios.companyname.com.?
the standard apache config doesn't care, but you'd need to set this up on your own depending on your setup. a standard DNS A record to the IP will allow you to use subdomains.

Re: Need help to migrate nagios core virtual config to nagio

Posted: Thu May 04, 2017 2:54 am
by pratik.patel
dwhitfield wrote:Are you trying to run multiple applications on this server? That is not supported with XI.

Otherwise, you should be able to modify the files that are already there. Perhaps you could tell us a bit more about what you've tried or why you need a different vhost. Thanks!
no multiple application. Just running nagios xi.
It's just company follow the standard process to create vhost and not to use existing/original configs.
And I also believe that creating new vhost is good practice.