Thomas Heil
2010-05-07 21:03:29 UTC
Hi,
We try to ensure that nagios is not running on our machines.
Unfortunately this results
in errors like
--
err: //nagios/Service[nagios]/ensure: change from running to stopped
failed: Could not stop Service[nagios]: Execution of '/sbin/service
nagios stop' returned 1: at /etc/puppet/modules/nagios/manifests/init.pp:10
--
The Problem is, that service nagio stop returns error 1. This is caused
by the pid_nagios function.
The two patches should correct this.
Please have a look at this.
thx and regards,
--
Thomas Heil
-
! note my new number !
Skype: phiber.sun
Email: heil at terminal-consulting.de
Tel: 0176 / 44555622
--
-------------- next part --------------
A non-text attachment was scrubbed...
Name: nagios-stop-pid-no_error.patch
Type: text/x-patch
Size: 579 bytes
Desc: not available
Url : http://lists.repoforge.org/pipermail/users/attachments/20100507/5c9bbc06/attachment.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch-nagios-spec.patch
Type: text/x-patch
Size: 602 bytes
Desc: not available
Url : http://lists.repoforge.org/pipermail/users/attachments/20100507/5c9bbc06/attachment-0001.bin
We try to ensure that nagios is not running on our machines.
Unfortunately this results
in errors like
--
err: //nagios/Service[nagios]/ensure: change from running to stopped
failed: Could not stop Service[nagios]: Execution of '/sbin/service
nagios stop' returned 1: at /etc/puppet/modules/nagios/manifests/init.pp:10
--
The Problem is, that service nagio stop returns error 1. This is caused
by the pid_nagios function.
The two patches should correct this.
Please have a look at this.
thx and regards,
--
Thomas Heil
-
! note my new number !
Skype: phiber.sun
Email: heil at terminal-consulting.de
Tel: 0176 / 44555622
--
-------------- next part --------------
A non-text attachment was scrubbed...
Name: nagios-stop-pid-no_error.patch
Type: text/x-patch
Size: 579 bytes
Desc: not available
Url : http://lists.repoforge.org/pipermail/users/attachments/20100507/5c9bbc06/attachment.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch-nagios-spec.patch
Type: text/x-patch
Size: 602 bytes
Desc: not available
Url : http://lists.repoforge.org/pipermail/users/attachments/20100507/5c9bbc06/attachment-0001.bin