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


Remember Me


0 votes
check_nis_1.0check_nis v1.0
check_nis_1.1check_nis v1.1
check_nis_1.2check_nis v1.2

Help Support Ethan Galstad's New Project:

Help Support Ethan

A Message From The Founder...

As the founder of Nagios, I'm asking for your help in a cause that's dear to my heart.

I'm launching a new project to help better the world by providing the information, ideas, and inspiration that I believe can improve the lives of people everywhere.

I know you're busy managing networks, but I would appreciate it if you would consider liking my Facebook page and showing your support for the content and messages I produce by sharing them with your friends and family.

You can learn more about my project by visiting Thank you for your time. I wish you all the best in your endeavors, whatever they may be.

- Ethan

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.

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