Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
check_nis
153982
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 |
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!