distributed nagios ?

Allan Clark allanc at chickenandporn.com
Wed Dec 15 15:32:58 CET 2010


On Wed, Dec 15, 2010 at 03:46, Andreas Ericsson <ae at op5.se> wrote:
> On 12/14/2010 08:39 PM, Frost, Mark {PBC} wrote:
>> 2) Because we're trying to put all the files into an alternate tree, the
>> installation of 'mon' from install-merlin.sh didn't really work right.  In
>> our case, it made a lot more sense to change
>>
>>       cp apps/mon.py $root_path/usr/bin/mon
>>
>> to
>>
>>       cp apps/mon.py $bindir/mon
>>
>> otherwise it would put 'mon' in a really weird spot.
>>
>> I'm guessing these are design decisions on your part, but in case they're
>> not, I thought I'd point them out.
>>
>
> Yes. The install-merlin.sh script is designed to be usable from the
> rpm spec file, and it's meant to aid people who want to install
> everything in its default location. Would $root_path/$bindir/mon
> work for you? Since you can set $root_path to whatever you want,
> I suppose it should.

I thought the convention was $DESTDIR , which is also used by
autotools, which is a fairly common tool in that domain.  I'd strongly
recommend marching to the same drummer when possible.

Allan
-- 
allanc at chickenandporn.com  "金鱼" http://linkedin.com/in/goldfish

------------------------------------------------------------------------------
Lotusphere 2011
Register now for Lotusphere 2011 and learn how
to connect the dots, take your collaborative environment
to the next level, and enter the era of Social Business.
http://p.sf.net/sfu/lotusphere-d2d
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null


More information about the Users mailing list