Xymon Mailing List Archive search

Contribution -> Server-side login/generic script - Bash Version

list Giovanni - Gestor Redix
Wed, 30 May 2007 09:38:54 -0300
Message-Id: <user-ad24030edf0f@xymon.invalid>

Hi Sello, have you configured BBHOME to /usr/lib/hobbit/server at your rootlogin.sh ?

Also, your user-945ca2587ff9@xymon.invalid seems to be wrong:

               [rootlogin]
                       ENVFILE /home/hobbit/server/etc/hobbitserver.cfg
                       NEEDS hobbitd
                       CMD hobbitd_channel --channel=client --log=$BBSERVERLOGS/rootlogin.log $BBHOME/ext/rootlogin.sh

Look at the ENVFILE.

Regards,

Giovanni M. Frainer


Sello Tlabela wrote:
Hello,

I am trying to install the scripts on my hobbit server and get the following error when starting hobbit, below the error is paste of my config, what could I have made wrong?

2007-05-30 14:13:22 Could not start task rootlogin using command 'hobbitd_channel': No such file or directory

hobbitlaunch.cfg

[rootlogin]
        ENVFILE /usr/lib/hobbit/client/etc/hobbitclient.cfg
        NEEDS hobbitd
        CMD hobbitd_channel --channel=client --log=$BBSERVERLOGS/rootlogin.log $BBHOME/ext/rootlogin.sh

bb-hosts

165.143.60.206  cntrra02-rh-hids5  # NET:intern ssh syslog-ng CLIENT:cntrra02-rh-hids5.telkom.co.za login
165.143.145.150 cntrra20-rh-wiki.telkom.co.za   # NET:intern ssh login http://165.143.145.150/

rootlogin.sh attributes
-rwxrwxrwx 1 root root 2935 May 30 11:37 rootlogin.sh

Regards

Sello
       

On Tue, 2007-05-29 at 22:49 -0300, Giovanni - Gestor Redix wrote:
Hi everyone!

    Attached follows a "login"/generic server-side script made on bash shell-script language.

    This script is just like the perl version, just made in a generic way to be easily extensible...

    I made this version because i couldn't get the perl version to work on my Gentoo server with perl 5.8.8, not to mention that i know perl as much as i know how to build nuclear submarines ;-)

    With best regards,

    
-- 
Sello Tlabela <user-68d80b7df288@xymon.invalid <mailto:user-68d80b7df288@xymon.invalid>>
Telkom SA

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This e-mail and its contents are subject to the Telkom SA Limited
e-mail legal notice available at
http://www.telkom.co.za/TelkomEMailLegalNotice.PDF
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~