Windows NRPE

check_group

Description:

Nagios plugin to Check how many users in a group check_group.vbs
This script verifies if the number of users in a particular group changes.

Current Version

1

Last Release Date

2011-07-07

Compatible With

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

License

GPL


Project Notes
The output in debug mode Example: Command: cscript.exe //nologo C:PROGRA~2NC_Netscr iptcheck_group.vbs -g CN=Domain Admins,CN=Users -u 4 Output: CN=Domain Admins,CN=Users LDAP://CN=Domain Admins,CN=Users,DC=cado,DC=local user : CN=Domain Admins : mntos user : CN=Domain Admins : Mcia user : CN=Domain Admins : bides user : CN=Domain Admins : rLagito user : CN=Domain Admins : Ffex user : CN=Domain Admins : Administrator CN=Domain Admins contains ; 6 ; users Group CN=Domain Admins,OU=Groups has, Total of 6 users. CRITICAL - The group CN=Domain Admins,CN=Users has changed from 4 users, to 6 Without the debug mode it just shows the final line: CRITICAL - The group CN=Domain Admins,CN=Users has changed from 4 users, to 6 Should be called using NC_Net or other windows nagios client. The remote call should something like: /check_nt -H r2355-t 60 -v RUNSCRIPT -l cscript.exe //nologo C:PROGRA~1NC_Netscriptcheck_group.vbs -g CN=Domain Admins,CN=Users -u 4"
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
0
Views
148,846