LDAP

check_ldap_group

Description:

Retrieve the members in a LDAP security group

usage:
check_ldap_group WARNING CRITICAL HOST PORT LDAP_USER_CN LDAP_PASS GROUP_CN GROUP_NAME MAXRANGE

Where:
[WARNING] = Warning Value (MEMBERS > WARNING)
[CRITICAL] = Critical Value (MEMBERS > CRITICAL)
[HOST] = LDAP IP
[PORT] = LDAP PORT
[LDAP_USER_CN] = LDAP validate user’s complete DistingishedName
[LDAP_PASS] = LDAP validate user’s password
[GROUP_CN] = LDAP complete DistingishedName group to check
[GROUP_NAME] = LDAP Name group to check
[MAXRANGE] = 1000 for Windows 2000 LDAP servers, 1500 for Windows 2003 LDAP servers or 5000 for Windows 2008> LDAP servers

For example the command:
./check_ldap_group 100 200 1.2.3.4 389 “CN=LDAPUSER,OU=USER,DC=DOMAIN,DC=LOCAL” LDAPUSER_PASS “CN=LDAP_GROUP,OU=GROUPS,DC=DOMAIN,DC=LOCAL” “LDAP_GROUP” 1500
Will check group LDAP_GROUP on 1.2.3.4:389 LDAP SERVER, validating with LDAPUSER/LDAPUSER_PASS with a warning=100 and critical=200 values

requires ldap-utils
install with: sudo apt install ldap-utils

Current Version

0.3

Last Release Date

2020-04-02

Compatible With

  • Nagios 1.x
  • Nagios 2.x
  • Nagios 3.x
  • Nagios 4.x
  • Nagios XI

Owner

License

GPL


Nagios CSP

Meet The New Nagios Core Services Platform

Built on over 25 years of monitoring experience, the Nagios Core Services Platform provides insightful monitoring dashboards, time-saving monitoring wizards, and unmatched ease of use. Use it for free indefinitely.

Monitoring Made Magically Better

  • Nagios Core on Overdrive
  • Powerful Monitoring Dashboards
  • Time-Saving Configuration Wizards
  • Open Source Powered Monitoring On Steroids
  • And So Much More!
Project Notes
Retrieve the members in a LDAP security group usage: check_ldap_group WARNING CRITICAL HOST PORT LDAP_USER_CN LDAP_PASS GROUP_CN GROUP_NAME MAXRANGE Where: [WARNING] = Warning Value (MEMBERS > WARNING) [CRITICAL] = Critical Value (MEMBERS > CRITICAL) [HOST] = LDAP IP [PORT] = LDAP PORT [LDAP_USER_CN] = LDAP validate user's complete DistingishedName [LDAP_PASS] = LDAP validate user's password [GROUP_CN] = LDAP complete DistingishedName group to check [GROUP_NAME] = LDAP Name group to check [MAXRANGE] = 1000 for Windows 2000 LDAP servers, 1500 for Windows 2003 LDAP servers or 5000 for Windows 2008> LDAP servers For example the command: ./check_ldap_group 100 200 1.2.3.4 389 "CN=LDAPUSER,OU=USER,DC=DOMAIN,DC=LOCAL" LDAPUSER_PASS "CN=LDAP_GROUP,OU=GROUPS,DC=DOMAIN,DC=LOCAL" "LDAP_GROUP" 1500 Will check group LDAP_GROUP on 1.2.3.4:389 LDAP SERVER, validating with LDAPUSER/LDAPUSER_PASS with a warning=100 and critical=200 values requires ldap-utils install with: sudo apt install ldap-utils
Reviews (0) Add a Review
Add a Review

You must be logged in to submit a review.

Thank you for your review!

Your review has been submitted and is pending approval.

Recommend

To:


From:


Thank you for your recommendation!

Your recommendation has been sent.

Project Stats
Rating
0 (0)
Favorites
1
Views
3,621