Build precise queries to find exactly what you need
Press ESC to close
Your review has been submitted and is pending approval.
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
Owner
felipeferreira
Website
http://felipeferreira.net/?p=1038
Download URL
http://www.xoroz.com/files/scripts/nagios/check_group.vbs.txt
License
GPL
Compatible With
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"
You must be logged in to submit a review.
To:
From:
We’ve completely redesigned the world’s largest repository of Nagios plugins and monitoring tools. Join thousands of users sharing monitoring solutions for servers, applications, and everything in between.
Due to our redesign, all existing accounts require a password reset to access your account again.
Ready to explore 6,100+ projects and contribute to the community?
Reset Password Create Account
Happy Monitoring!