How to configure FunkLoad monitor in two servers?

Hi, Im Witold.

I have a small problem. How to configure monitor and run?!

Now ,I try use this configuration - but this is not work. Can I count on help?

I have two servers:

  1. Imitation server clients (178.216.200.170)
  2. A server application (178.216.200.48)

In server 1 file is configuration (178.216.200.48):

[monitor]
hosts=178.216.200.48
[178.216.200.48]
port=8008
description=Description my test

and run test:

fl-run-bench -c 1:2 -D 5 test_TestDjangoORM.py TestDjangoORM.test_django_select1

This is file monitor.conf in server 2 (178.216.200.170):

[server]
host = 178.216.200.170
port = 8008
interval = .5
interface = eth0
[client]
host = localhost
port = 8008

and run monitor:

fl-monitor-ctl monitor.conf start

But this is not work.. :/ PS. Testing servers OS is Debian 7.0

0 votes

1 answers

832 views

ANSWER

This is possible?
07/04/2013



Hi,

You need :

  • a monitor.conf file for each server that you want to monitor,

  • to bind host and port to something that is reachable from the bencher

  • to run the fl-monitor-ctl command on each hosts

  • to setup the bencher configuration to point to a list of monitored hosts:

    [monitor]
    hosts=178.216.200.48 178.216.200.170
    [178.216.200.48]
    port=8008
    description=My first server
    [178.216.200.170]
    port=8008
    description=My second server
    

Then run the bench

1 votes