Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
check_nis
154400
File | Description |
---|---|
check_nis_1.0 | check_nis v1.0 |
check_nis_1.1 | check_nis v1.1 |
check_nis_1.2 | check_nis v1.2 |
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 (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
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
Reviews (0)
Be the first to review this listing!