[Pkg-nagios-devel] Bug#493790: Bug#493790: nagios3-common: Incorrect path in handle-master-host-event eventhandler

Nathan Kinkade nkinkade at creativecommons.org
Tue Aug 5 00:29:08 UTC 2008


2008/8/4 Jan Wagner <waja at cyconet.org>:
> Hi there,
>
> On Monday 04 August 2008 23:58, Nathan Kinkade wrote:
>> In the following file installed by this package there is an incorrect
>> filesystem path:
>>
>> /usr/share/nagios3/plugins/eventhandlers/redundancy-scenario1/handle-master
>>-host-event
>>
>> Line #16 has this declaration:
>>
>>     eventhandlerdir="/usr/local/nagios/libexec/eventhandlers"
>>
>> But the eventhandlerdir should be:
>>
>>     /usr/share/nagios3/plugins/eventhandlers
>>
>> Clearly this isn't critical, but it does prevent the script from working
>> out-of-the-box.
>
> the scripts in /usr/share/nagios3/plugins/eventhandlers/ are not modified to
> work out of the box at all. The most of the scripts have pathes
> with "/usr/local/nagios". The question is, do we want to change that or are
> that just "example" scripts like the comments states?
>
> With kind regards, Jan.
> --
> Never write mail to <waja at spamfalle.info>, you have been warned!
> -----BEGIN GEEK CODE BLOCK-----
> Version: 3.1
> GIT d-- s+: a- C+++ UL++++ P+ L+++ E- W+++ N+++ o++ K++ w--- O M V- PS PE
> Y++ PGP++ t-- 5 X R tv- b+ DI- D++ G++ e++ h-- r+++ y+++
> ------END GEEK CODE BLOCK------

Hi Jan,

I wasn't sure whether that was purposely passed over or whether it
might have been a minor oversight.  From my perspective as a user it
seems worthwhile to make sure that scripts provided with the package
work without modification, where possible and reasonable.  If it make
the package a nightmare to maintain, then it may not be worth the
trouble in this case.

Thanks!

Nathan





More information about the Pkg-nagios-devel mailing list