check_users

check_users

A simple shell script for nagios to check currently logged in users on a target system

The plugin was designed to do active checks using check_by_ssh to check clients like a firewall.

by Markus Walther (voltshock@gmx.de)

Example:

Command-Line for check_by_ssh


command_line $USER1$/check_by_ssh -H $HOSTNAME$ -p $ARG1$ -C "$ARG2$ $ARG3$ $ARG4$ $ARG5$ $ARG6$"

Command-Line for service


 check_by_ssh!82!/nagios/check_users.sh!1!2   

Important:

The script needs a working check_by_ssh connection and needs to run on the client to check it