summaryrefslogtreecommitdiffstats
path: root/gluster-nagios-addons.spec.in
diff options
context:
space:
mode:
authorSahina Bose <sabose@redhat.com>2014-04-01 17:08:18 +0530
committerBala.FA <barumuga@redhat.com>2014-04-29 10:14:33 +0530
commited8efbc2adb78ab756081b1f57dd23328123a1d5 (patch)
treec42214c1778c1fea724a4479e95f2f9d506ff53d /gluster-nagios-addons.spec.in
parent86a404d7ce805a25762cd66c310b1ad9e3a2a779 (diff)
plugins: Plugin to act on syslog message
This plugin integrates with syslog messages and sends the output to Nagios server using NSCA Refactored code to separate out common NSCA related code to nscautils Change-Id: I6a874da7f2296310060742acb6b1cd6562f5d0f0 Signed-off-by: Sahina Bose <sabose@redhat.com>
Diffstat (limited to 'gluster-nagios-addons.spec.in')
-rw-r--r--gluster-nagios-addons.spec.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/gluster-nagios-addons.spec.in b/gluster-nagios-addons.spec.in
index 390d6e5..969bded 100644
--- a/gluster-nagios-addons.spec.in
+++ b/gluster-nagios-addons.spec.in
@@ -139,6 +139,7 @@ command[discoverlogicalcomponents]=/usr/lib64/nagios/plugins/gluster/discoverlog
EOF
%_init_enable nrpe
%_init_restart crond
+%_init_restart rsyslog
%preun
@@ -155,6 +156,8 @@ sed -i '/check_vol_quota_status/d' %{_sysconfdir}/nagios/nrpe.cfg
%defattr(-,root,root,-)
%attr(0755, -, -) %{_libdir}/nagios/plugins/gluster/*
%{_sysconfdir}/cron.d/gluster-sysstat.crontab
+%{_sysconfdir}/rsyslog.d/glusternagios.conf
+%{_sysconfdir}/nagios/nagios_server.conf
%files tests
%defattr(-,root,root,-)