Need help to migrate nagios core virtual config to nagios xi

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
pratik.patel
Posts: 77
Joined: Wed Apr 19, 2017 10:51 am

Need help to migrate nagios core virtual config to nagios xi

Post by pratik.patel »

I am able to migrate config files but facing some issue with understanding existing nagios core virtual host.

Thanks,
Pratik
Last edited by pratik.patel on Wed May 03, 2017 4:57 am, edited 2 times in total.
User avatar
mcapra
Posts: 3739
Joined: Thu May 05, 2016 3:54 pm

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

Post 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.
Former Nagios employee
https://www.mcapra.com/
User avatar
tacolover101
Posts: 432
Joined: Mon Apr 10, 2017 11:55 am

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

Post by tacolover101 »

i think this might apply more towards whomever manages your apache configuration. this really doesn't pertain much to nagios.
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

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

Post 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
pratik.patel
Posts: 77
Joined: Wed Apr 19, 2017 10:51 am

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

Post by pratik.patel »

Thank you very much for the document.

Do you have document for making nagios xi https instead of http ?
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

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

Post 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.
pratik.patel
Posts: 77
Joined: Wed Apr 19, 2017 10:51 am

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

Post 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.?
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

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

Post 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!
User avatar
tacolover101
Posts: 432
Joined: Mon Apr 10, 2017 11:55 am

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

Post 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.
pratik.patel
Posts: 77
Joined: Wed Apr 19, 2017 10:51 am

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

Post 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.
Locked