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_nis

Rating
0 votes
Favoured:
0
Hits
154499
Files:
FileDescription
check_nis_1.0check_nis v1.0
check_nis_1.1check_nis v1.1
check_nis_1.2check_nis v1.2
Nagios CSP

Meet The New Nagios Core Services Platform

Built on over 25 years of monitoring experience, the Nagios Core Services Platform provides insightful monitoring dashboards, time-saving monitoring wizards, and unmatched ease of use. Use it for free indefinitely.

Monitoring Made Magically Better

  • Nagios Core on Overdrive
  • Powerful Monitoring Dashboards
  • Time-Saving Configuration Wizards
  • Open Source Powered Monitoring On Steroids
  • And So Much More!
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