Xymon Mailing List Archive search

Startup script for xymon on Ubuntu

list Jewel Makda
Fri, 09 Sep 2011 13:44:54 -0500
Message-Id: <user-1f58ad7b3e07@xymon.invalid>

I followed all of these instructions, made the script and placed it in 
my startup which is located in /etc/init.d/rc6.d
I restarted and it didn't work.  When I test the script it works but it 
prompts me for the password of the user.  How do I get past this.  I did 
so the chmod 755 command.

On 9/9/2011 12:16 PM, Josh Luthman wrote:
Let me clarify, you need to modify /etc/init.d/hobbit so the variables 
at the top match how you installed Xymon.

Josh Luthman
Office: XXX-XXX-XXXX <tel:XXX-XXX-XXXX>
Direct: XXX-XXX-XXXX <tel:XXX-XXX-XXXX>
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX


On Fri, Sep 9, 2011 at 1:13 PM, Josh Luthman 
<user-4c45a83f15cb@xymon.invalid <mailto:user-4c45a83f15cb@xymon.invalid>> wrote:

    Just execute those commands (as root) and you'll be done.


    Josh Luthman
    Office: XXX-XXX-XXXX <tel:XXX-XXX-XXXX>
    Direct: XXX-XXX-XXXX <tel:XXX-XXX-XXXX>
    XXXX Wayne St
    Suite XXXX
    Troy, OH XXXXX


    On Fri, Sep 9, 2011 at 1:10 PM, Jewel Makda
    <user-f94a3a1b7030@xymon.invalid
    <mailto:user-f94a3a1b7030@xymon.invalid>> wrote:

        I am still learning about Linux and am not sure how to do
        this. I searched online and found the following:

        cd /etc/init.d
        wget http://iam8up.com/xymon-initd/hobbit
        chmod 755 hobbit
        ln -s /etc/init.d/hobbit /etc/rc3.d/S70hobbit

        I rebuilt the server from scratch this morning and am actually using the 4.3.5 version
        released today so I am sure the above doesn't apply.  I am running Ubuntu 11.4
        Sorry to be such a novice.


        On 9/9/2011 11:35 AM, Josh Luthman wrote:
        Put a start up script in /etc/rc3.d or /etc/rc5.d

        Josh Luthman
        Office: XXX-XXX-XXXX <tel:XXX-XXX-XXXX>
        Direct: XXX-XXX-XXXX <tel:XXX-XXX-XXXX>
        XXXX Wayne St
        Suite XXXX
        Troy, OH XXXXX


        On Fri, Sep 9, 2011 at 12:25 PM, Jewel Makda
        <user-f94a3a1b7030@xymon.invalid
        <mailto:user-f94a3a1b7030@xymon.invalid>> wrote:

            It's working now. I restarted the xymon.sh service.  Not
            sure what happened.


            When I click to view a report on my xymon installation I
            get "Cannot load host configuration".  I am not sure what
            I messed up.  I can see the main page just fine it's just
            when I click on a smiley face.  In my apache logs I see
            'Could not connect to Xymon deamon at 127.0.0.1:1984
            <http://deamon at 127.0.0.1:1984> (Connection refused);
            'xymonboard fields=hostname,testname,disabletime,dismsg'

            All I did was reboot the server.

            -- 

        -- 

--