Windows NRPE

check_users (windows)

Description:

check_users looks at the number of users, along with an allowed user list and returns warning and critical based on thresholds or if an unknown user is logged into the system.

This script uses perl, so a perl environment must be available on the client. Tinyperl works well. Place the tinyperl environment under nsclient++/scripts/perl along with the script.

Current Version

Last Release Date

2014-09-12

Compatible With

  • Nagios 3.x

Owner


Project Files
Project Notes
define host{ _ALLOWEDUSERS serviceuser adminuser guestuser } define command{ command_name check_windows_users command_line $USER1$/check_nrpe -t 10 -H $HOSTADDRESS$ -c check_users -a 2 3 "$_HOSTALLOWEDUSERS$" } define service{ service_description windows users check_command check_windows_users } nsclient.ini: [/settings/external scripts/scripts] check_users = scriptsperlcheck_users.exe $ARG1$ $ARG2$ "$ARG3$"
Reviews (1) Add a Review
Great addon
by x.fred, May 31, 2020

Works perfect!



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
5 (1)
Favorites
0
Views
21,901