Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
Directory
johertojn
byjohertojn, February 23, 2017
Copy the file over
chmod u+x /usr/lib64/nagios/plugins/check_sas2ircu
run "visudo"
Add the following lines at the bottom:
## Allow nrpe to check SAS arrays
nrpe ALL=(ALL) NOPASSWD:/usr/lib64/nagios/plugins/check_sas2ircu
Hash out this line in the same:
#Defaults requiretty
Copy the file or vi contents to /usr/lib64/nagios/plugins/check_sas2ircu
Add the following line to /etc/nrpe.d/nrpe.cfg
command[check_sas2ircu]=/usr/bin/sudo /usr/lib64/nagios/plugins/check_sas2ircu
chmod u+x /usr/lib64/nagios/plugins/check_sas2ircu
run "visudo"
Add the following lines at the bottom:
## Allow nrpe to check SAS arrays
nrpe ALL=(ALL) NOPASSWD:/usr/lib64/nagios/plugins/check_sas2ircu
Hash out this line in the same:
#Defaults requiretty
Copy the file or vi contents to /usr/lib64/nagios/plugins/check_sas2ircu
Add the following line to /etc/nrpe.d/nrpe.cfg
command[check_sas2ircu]=/usr/bin/sudo /usr/lib64/nagios/plugins/check_sas2ircu