LDAP integration issues with Nagios XI

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
nysus777
Posts: 40
Joined: Thu Jun 16, 2016 1:32 am

Re: LDAP integration issues with Nagios XI

Post by nysus777 »

Hi team,

I have dropped a mail to [email protected] regarding our expired license, i am hoping we get an extension on our trial period as we are yet to finish testing some integrations.

Thanks.
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: LDAP integration issues with Nagios XI

Post by ssax »

You can always spin up a new VM for testing the LDAP stuff, once you get it up and running try setting the Base DN to:

Code: Select all

dc=nagios,dc=TEST_SX
And then when typing in the username type this in exactly:

Code: Select all

cn=admin,dc=TEST_SX
If that doesn't work, try:

Code: Select all

admin,dc=TEST_SX
If that doesn't work, try:

Code: Select all

uid=admin,dc=TEST_SX
Let us know the results.


Thank you
nysus777
Posts: 40
Joined: Thu Jun 16, 2016 1:32 am

Re: LDAP integration issues with Nagios XI

Post by nysus777 »

ssax wrote:You can always spin up a new VM for testing the LDAP stuff, once you get it up and running try setting the Base DN to:
Hi ssax,

Can you please explain further what do you mean by the above. I am not sure how to go ahead.

Thanks.
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: LDAP integration issues with Nagios XI

Post by ssax »

Sorry, I meant that regardless of whether sales granted an extension on the trial you could create/redeploy a new nagios VM to test what I sent.
nysus777
Posts: 40
Joined: Thu Jun 16, 2016 1:32 am

Re: LDAP integration issues with Nagios XI

Post by nysus777 »

Hi ssax,

We have tried connecting to the LDAP instance from our local VM and it had the same issue.

Isn't there any other way to troubleshoot this? We are really short on time here.

Thanks.
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: LDAP integration issues with Nagios XI

Post by ssax »

Did you try the steps that I listed?

*** Make sure that you have known-good backups/vm snapshots before making any modifications

Let's try this as well. Please edit this file:

Code: Select all

/usr/local/nagiosxi/html/includes/components/ldap_ad_integration/basicLDAP.php
Around line 88, change this code:

Code: Select all

    public function findBaseDn()
    {
        $namingContext = $this->getRootDse(array('namingcontexts'));
        return $namingContext[0]['namingcontexts'][0];
    }
To this:

Code: Select all

    public function findBaseDn()
    {
        $namingContext = $this->getRootDse(array('namingcontexts'));
var_dump($namingContext);
        return $namingContext[0]['namingcontexts'][0];
    }
Then re-run it where so shows the blank list of users and it should output some text to the web interface, please send me that entire output.

When you are done, change it back to what it was.
nysus777
Posts: 40
Joined: Thu Jun 16, 2016 1:32 am

Re: LDAP integration issues with Nagios XI

Post by nysus777 »

Hi team,

My client has come up with certain queries with regards to implementing a nagios solution, i need to discuss some of them with you.

Please let me know your availability so that we can discuss these over messages.

Thanks,
nYsus
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

Re: LDAP integration issues with Nagios XI

Post by dwhitfield »

Were we ready to lock this thread on the LDAP issue? Per the PM, if this is not something you want on the public forum, you will need to email [email protected]. If you are a prospective customer, [email protected] might be the best option.
nysus777
Posts: 40
Joined: Thu Jun 16, 2016 1:32 am

Re: LDAP integration issues with Nagios XI

Post by nysus777 »

Hi dwhitfield,

I would request you to wait for some time before you lock this thread as i am trying to extend our trial license.

Also, do you have any documentation on SNMP V3 trap integrations? I was going through the guides and could not find anything specific for v3.

Please advise.

Thanks.
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

Re: LDAP integration issues with Nagios XI

Post by dwhitfield »

nysus777 wrote: Also, do you have any documentation on SNMP V3 trap integrations?
Yes and no. There's a v3 section in https://support.nagios.com/kb/article.p ... ategory=55

Usually that's how the documentation is going to be. 2c and 3 are going to be hanging out together.

Please let us know if you need further direction on the issue, but generally speaking we prefer new threads for new issues.
Locked