Home Directory Plugins Operating Systems Linux Check user implementation

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

Directory Tree

Check user implementation

Rating
0 votes
Favoured:
0
Current Version
1.2
Last Release Date
2011-11-04
Compatible With
  • Nagios 3.x
Owner
License
MPL
Hits
153452
Files:
FileDescription
check_user_implementation.shcheck_user_implementation.sh
Network Monitoring Software - Download Nagios XI
Log Management Software - Nagios Log Server - Download
Netflow Analysis Software - Nagios Network Analyzer - Download
Check if a specified user exists and that he has the correct userId, groupId, groupname and supplementary groups.
== Usage: ==

check_user_implementation.sh --uid= --gid= --username= --group= [--suppgroup=""]

check_user_implementation.sh -h,--help

== Options: (needed) ==

--uid= UserID to match with user
--gid= GroupID to match with maingroup of user
--username= Username
--group= Name of primary group of the user

== Options: (optional) ==

--suppgroup=""
supplementary groups to match for given user, seperated by comma

== States: ==

Returns OK: if user exists and has correct uid,gid and supplementary groups
Returns WARNING: never
Returns CRITICAL: if one or all of the given parameters dont match

This plugin is NOT developped by the Nagios Plugin group.
Please do not e-mail them for support on this plugin, since
they won't know what you're talking about.

For contact info, read the plugin itself...