Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
check_users (windows)
Last Release Date
2014-09-12
Compatible With
- Nagios 3.x
Owner
Hits
20681
Files:
File | Description |
---|---|
check_users.pl | check_users.pl |
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.
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$"
_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)
byx.fred, May 20, 2020
Works perfect!