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_nis

Rating
0 votes
Favoured:
0
Hits
150697
Files:
FileDescription
check_nis_1.0check_nis v1.0
check_nis_1.1check_nis v1.1
check_nis_1.2check_nis v1.2
Network Monitoring Software - Download Nagios XI
Log Management Software - Nagios Log Server - Download
Netflow Analysis Software - Nagios Network Analyzer - Download
Nagios plugin to check the status of a NIS server on a specified host and NIS domain.
Nagios plugin (script) to check the status of a NIS server on a specified host and NIS domain by asking NIS server for "passwd.byname".

As an additional check, a username may be specified which will then be "looked up" on the NIS server, note that this is optional and only introduced in v1.1

Script returns OK if it gets an acceptable answer, CRITICAL if not.

This *nix script has been designed and written for the lowest common denominator of shells (sh), uses yppoll, ypcat and grep as external commands.

Paths to external commands and operation can be easily reconfigured by editing the variables at the top of the script.

Changelog:
1.1 - added user lookup and error checking
1.2 - Added GPLv3 licence