Search
j0ke.net Open Build Service
>
Projects
>
server:monitoring
:
icinga
:
production
>
nagios-plugins-check_monit
> nagios-plugins-check_monit.spec
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File nagios-plugins-check_monit.spec of Package nagios-plugins-check_monit
Name: nagios-plugins-check_monit Version: 1.1 Release: 1 Summary: Nagios/Icinga Monit status plugins Url: https://code.google.com/p/nagios-monit-plugin/ License: Apache License 2.0 Group: System/Monitoring Source0: check_monit.py Source1: check_monit.sh Source2: check_monit.cfg BuildRoot: %{_tmppath}/%{name}-%{version}-root %description This Nagios plugin checks status of Monit server using its XML status. Unmonitored status causes plugin to return WARNING state, all other failures return CRITICAL state. %prep %setup -c -T %build %install %__install -D -m0755 %{S:0} %{buildroot}%{_prefix}/lib/nagios/plugins/check_monit.py %__install -D -m0755 %{S:1} %{buildroot}%{_prefix}/lib/nagios/plugins/check_monit.sh %__install -D -m0644 %{S:2} %{buildroot}%{_sysconfdir}/nagios/nrpe.d/check_monit.cfg %clean rm -rf %{buildroot} %files %defattr(-,root,root) %dir %{_prefix}/lib/nagios %dir %{_prefix}/lib/nagios/plugins %{_prefix}/lib/nagios/plugins/check_monit.* %dir %{_sysconfdir}/nagios %dir %{_sysconfdir}/nagios/nrpe.d %config %{_sysconfdir}/nagios/nrpe.d/check_monit.cfg %changelog