Could not search/find objectclasses

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
preethu.d
Posts: 109
Joined: Wed Nov 25, 2020 11:32 pm

Could not search/find objectclasses

Post by preethu.d »

Hi Team,

I am getting the below error for Active directory monitoring.

Could not search/find objectclasses in OU=Domain Controllers,DC=setindia,DC=com on msmwrlpdc1 is CRITICAL (Active Directory Server).

I have checked the LDAP base value and bind DN values, all are same as what is set in AD server.

What could be the reason for this error and how this can be fixed ?

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

Re: Could not search/find objectclasses

Post by ssax »

Please PM me the full command with arguments that you are using for the check.

If you need help determining that, please PM me a copy of your profile.zip, you can download it from Admin > System Profile by clicking the Download Profile button.

Thank you!
preethu.d
Posts: 109
Joined: Wed Nov 25, 2020 11:32 pm

Re: Could not search/find objectclasses

Post by preethu.d »

Hi,

I have shared you the details in a PM.

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

Re: Could not search/find objectclasses

Post by ssax »

Please PM the output of these commands:
- NOTE: I'm testing with check_ldap, check_ldaps, with -2, with -3, as well as getting verbose output from them all to see if anything works so please make sure to adjust the commands correctly as they all differ
- Try it with an AD account as well as what you currently have set

Code: Select all

/usr/local/nagios/libexec/check_ldap -H X.X.X.X -b 'DC=contoso,DC=local' -D 'CN=Nagios LDAP SVC,CN=Managed Service Accounts,DC=contoso,DC=local' -P 'password' -v

/usr/local/nagios/libexec/check_ldaps -H X.X.X.X -b 'DC=contoso,DC=local' -D 'CN=Nagios LDAP SVC,CN=Managed Service Accounts,DC=contoso,DC=local' -P 'password' -v

/usr/local/nagios/libexec/check_ldap -H X.X.X.X -b 'DC=contoso,DC=local' -D 'CN=Nagios LDAP SVC,CN=Managed Service Accounts,DC=contoso,DC=local' -P 'password' -3 -v

/usr/local/nagios/libexec/check_ldaps -H X.X.X.X -b 'DC=contoso,DC=local' -D 'CN=Nagios LDAP SVC,CN=Managed Service Accounts,DC=contoso,DC=local' -P 'password' -3 -v
What Windows version is the domain controller running?
preethu.d
Posts: 109
Joined: Wed Nov 25, 2020 11:32 pm

Re: Could not search/find objectclasses

Post by preethu.d »

Hi,

I executed the commands but getting the same error. Also there is no password for the particular user object.

Regards,
Preethu
User avatar
pbroste
Posts: 1288
Joined: Tue Jun 01, 2021 1:27 pm

Re: Could not search/find objectclasses

Post by pbroste »

Hello @preeth.d

Thanks for following up with the info you on this support request to let you know that @ssax is out of the office and want to have you send System Profile over to me via [PM].
ssax wrote:Please PM me the full command with arguments that you are using for the check.

If you need help determining that, please PM me a copy of your profile.zip, you can download it from Admin > System Profile by clicking the Download Profile button.

Thank you!
Thanks,
Perry
preethu.d
Posts: 109
Joined: Wed Nov 25, 2020 11:32 pm

Re: Could not search/find objectclasses

Post by preethu.d »

Hi Perry,

I have sent you the system profile via PM

Regards,
Preethu
User avatar
pbroste
Posts: 1288
Joined: Tue Jun 01, 2021 1:27 pm

Re: Could not search/find objectclasses

Post by pbroste »

Hello @preethu.d

Following up on this, I did not catch it until now but the System Profile did not make it to my Private Message inbox.

Want to let you know that We're moving to a new support system, and want to have you go ahead and open a new ticket and upload the System Profile.


The Nagios Answer Hub is a place where you can get help with technical questions from our experts. There, you can quickly open tickets and join discussion boards.

Request Nagios Answer Hub access here: https://info.nagios.com/answer-hub-access-new-users

After completing the access form, you will be given access to a portal where new tickets can be created. We will keep the old customer forum sections and ticket system available for current cases to be resolved.
Thanks,
Perry
Locked