Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
check_ldap_group
0.3
2020-04-02
- Nagios 1.x
- Nagios 2.x
- Nagios 3.x
- Nagios 4.x
- Nagios XI
GPL
3700
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!
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
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
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)
Be the first to review this listing!