1
0
mirror of https://github.com/opinkerfi/nagios-plugins.git synced 2024-11-22 02:13:44 +01:00

Add sudoers support to check_hpacucli

Affects okconfig issue 3
This commit is contained in:
Pall Sigurdsson 2013-05-19 17:43:43 +00:00
parent 71673753ff
commit a570b1c40e
2 changed files with 3 additions and 0 deletions

View File

@ -19,6 +19,7 @@ Checks HP Array with hpacucli
%prep
%setup -q
perl -pi -e "s|/usr/lib|%{_libdir}|g" nrpe.d/check_hpacucli.cfg
perl -pi -e "s|/usr/lib|%{_libdir}|g" sudoers.d/*
%build
@ -36,6 +37,7 @@ rm -rf %{buildroot}
%doc README LICENSE
%{_libdir}/nagios/plugins/*
/etc/nrpe.d/check_hpacucli.cfg
/etc/sudoers.d/check_hpacucli
%changelog
* Thu Aug 23 2012 Pall Sigurdsson <palli@opensource.is> 1.2-2

View File

@ -0,0 +1 @@
nrpe ALL=(ALL) NOPASSWD: /usr/lib64/nagios/plugins/check_hpacucli.py