File: monitoring.rst

package info (click to toggle)
funkload 1.16.1-4
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 1,176 kB
  • ctags: 932
  • sloc: python: 8,102; makefile: 334; perl: 23
file content (44 lines) | stat: -rw-r--r-- 1,109 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
The monitor server
===================

If you want to monitor a linux server health during the bench, you
have to run a monitor xmlrpc server on the target server, this requires
to install a minimal FunkLoad package, on Debian/Ubunutu ::

    sudo aptitude install python-dev python-setuptools \
       python-webunit python-docutils
    sudo easy_install -f http://funkload.nuxeo.org/snapshots/ -U funkload

Then create a configuration file ``monitor.conf``::
  
  [server]
  host = <IP or FQDN>
  port = 8008
  interval = .5
  interface = eth0
  [client]
  host = <IP or FQDN>
  port = 8008

And start the monitor server::

  fl-monitor-ctl monitor.conf start


On the bench server add to your test configuration file the following section::

  [monitor]
  hosts = <IP or FQDN>

  [<IP or FQDN>]
  description = The application server
  port = 8008


Then run the bench, the report will include server stats.

Note that you can monitor multiple hosts and that the monitor is linux
specific.

A new contribution will be added in 1.16 to extend the monitoring, it
will enable to use Nagios or Munin plugins.