[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [hobbit] Is anyone working on a RHEL/CentOS spec file to build an rpm package?



On 08/25/2009 04:17 PM, Josh Luthman wrote:
http://www.hswn.dk/hobbiton/2005/07/msg00278.html
Thanks, this gets me going.


Who needs an RPM?
http://en.wikibooks.org/wiki/System_Monitoring_with_Xymon/Administration_Guide/Compiling_on_CentOS

Well in lieu of a yum repo:

for H in server{1..100}.example.com
do
    scp hobbit-client-4.2.3-1.x86_64.rpm ${H}:/var/tmp
    ssh ${H} "
        rpm -Uhv /var/tmp/hobbit-client-4.2.3-1.x86_64.rpm &&
sed -i 's/^HOBBITSERVERS=\"\"/HOBBITSERVERS=\"hobbit.example.com\"/' &&
        chkconfig hobbit-client on &&
        service hobbit-client start
    "
done

Just seems easier to me ... but YMMV

Thanks,
Russ
Josh Luthman
Office: 937-552-2340
Direct: 937-552-2343
1100 Wayne St
Suite 1337
Troy, OH 45373

"When you have eliminated the impossible, that which remains, however improbable, must be the truth."
--- Sir Arthur Conan Doyle


On Tue, Aug 25, 2009 at 4:11 PM, Russ Hammer <russ (at) perneus.com <mailto:russ (at) perneus.com>> wrote:

    Hi,

    Is anyone working on a RHEL/CentOS spec file to build an rpm package?
    If so, is it being integrated into the xymon source tree?

    If not, does anyone have one that I could use (at least as a starting
    point) to build an rpm for xymon 4.2.3 on CentOS 5.3 x86_64?

    Thanks,
    Russ


    To unsubscribe from the hobbit list, send an e-mail to
    hobbit-unsubscribe (at) hswn.dk <mailto:hobbit-unsubscribe (at) hswn.dk>