Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1
Email: sales@nagios.com

Login

Remember Me

check_users_and_ip

Rating
0 votes
Favoured:
0
Current Version
1.0
Last Release Date
2017-01-17
Compatible With
  • Nagios 3.x
  • Nagios 4.x
  • Nagios XI
License
GPL
Hits
3478
Files:
FileDescription
check_users_and_ipcheck_users_and_ip
Network Monitoring Software - Download Nagios XI
Log Management Software - Nagios Log Server - Download
Netflow Analysis Software - Nagios Network Analyzer - Download
A small plugin to check who is logged on a linux machine and the external ip of this user.
Successfull tested with Raspberry Pi 1 Model B, Nagios 4 + NagiosGraph and Raspbian (Debian).

Installation
========
1. Put the plugin into your plugin-directory.
2. Dont forget to set the permissions of the file to 755 on your linux machine.
3. At commands.cfg add the following lines:
define command {
command_name check_users_and_ip
command_line $USER1$/check_users_and_ip -w $ARG1$ -c $ARG2$
}
Now you are ready to define your own service with "check_command check_users_and_ip!1!2" or other values.