forum : Installing Kontrollbase with webapp and client on same server

You must be logged in to post Login Register

Installing Kontrollbase with webapp and client on same server

UserPost

4:20 pm
January 22, 2010


themattreid

Admin

Nevada

posts 48

1

Running it on the same server is fine. Here's the process:


1. setup the kontrollbase system user: “useradd -m kontrollbase” 

2. set a password for the kontrollbase user: “passwd kontrollbase”

3. setup ssh keys for the kontrollbase user so that the user running the cron scripts (discussed in the server scripts section of the documentation) can login to the local machine as the kontrollbase user without needing a password – you MUST use ssh-keys without passphrases for this to work correctly. 

4. in the webapp – set the host's ip_address to the machine's IP – either the usual one or 127.0.0.1, either will work as long as you can do “ssh kontrollbase@127.0.0.1″ or “ssh kontrollbase@whatever_ip” and it works when you are doing this as the user running the cronjob scripts. 

5. login to the machine as the user running the cronjob scripts (root or whoever you set it as) and go to the installation directory. Then run “cd bin” – now you should be in the directory with all of the kontrollbase perl scripts.

6. from the bin/ directory run “./kontroll-server_loop-5.0.x_linux-x86-2.0.1.pl” – it will output a lot of information about the steps it's taking. This is the part of the application that goes and loops through the servers you have setup and connects to the servers (local or otherwise) and passes variables to the client script (should be located in /home/kontrollbase/kontroll-client-5.0.x_linux-x86-2.0.1.pl on each server you are polling), the client script outputs an XML file that is read by the kontroll-stats-gather-5.0.x_linux-x86-2.0.1.pl script. This is then processed by the kontroll-reporter-5.0.x_linux-x86-2.0.1.pl script during the reporting process that you have setup in crontab. 

7. If you follow all of the steps in the documentation it should work. 

8. Documentation can also be found here: http://kontrollsoft.com/kontrollbase/userguide/toc.php

http://kontrollsoft.com http://themattreid.com

 

About the kontrollsoft forum

Most Users Ever Online:

9


Currently Online:

2 Guests

Forum Stats:

Groups: 3

Forums: 12

Topics: 33

Posts: 79

Membership:

There are 227 Members

There has been 1 Guest

There is 1 Admin

There are 0 Moderators

Top Posters:

xstar – 16

Prabhat – 3

christian.keil – 2

j2ict – 2

massoo – 2

hootsuite – 1

Administrators: themattreid (48 Posts)