forked from jonschipp/nagios-plugins
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
15 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,18 @@ | ||
nagios-plugins | ||
============== | ||
|
||
A collection of Nagios Plugins I've written | ||
A collection of Nagios Plugins I've written for production unix environments. | ||
|
||
A few of the scripts like check_service.sh and check_volume.sh are designed to | ||
be run in heterogenous unix environments and should work on Linux, OSX, AIX, and | ||
the BSD's provided a bash or bash-compatible shell to interpret them. | ||
|
||
One way to run the plugins requiring elevated privileges is to | ||
configure sudo on each monitored machine to allow the nagios | ||
user to execute the plug-ins in the plug-in directory as root: | ||
``` | ||
$ visudo # Use visudo to edit the sudoers file , or : | ||
$ echo ’Defaults:nagios !requiretty ’ >> /etc/sudoers | ||
$ echo ’nagios ALL=(root) NOPASSWD:/usr/local/nagios/libexec/∗’ >> /etc/sudoers | ||
``` | ||
|