Uploaded image for project: 'Observium'
  1. Observium
  2. OBS-672

Loadbalancer lvs graph (keepalived)

Details

    Description

      If you have a loadbalancer with keepalived, you can use this script to generate graphs like 'Connections per Second', 'Packets per Second' and 'Bytes per Second'. See attached image.

      For more information see: http://www.austintek.com/LVS/LVS-HOWTO/HOWTO/LVS-HOWTO.monitoring_lvs.html (33.3. Monitoring: LVS director throughput statistics from the /proc system (originally /proc/net/ip_vs_stats))

      Attachments

        1. lvs_stats_graphs.jpg
          553 kB
          Tromp Wezelman
        2. lvs_stats.patch
          6 kB
          Tromp Wezelman
        3. lvs_stats.png
          0.7 kB
          Tromp Wezelman

        Activity

          [OBS-672] Loadbalancer lvs graph (keepalived)

          Keepalived supports SNMP so it would be nice if that was supported directly, no need for the Unix agent...

          vojamo Ville Ojamo added a comment - Keepalived supports SNMP so it would be nice if that was supported directly, no need for the Unix agent...

          This is still missing the code to write the RRD. it's probably in includes/polling/unix-agent/lvs-stats.inc.php

          adama Adam Armstrong added a comment - This is still missing the code to write the RRD. it's probably in includes/polling/unix-agent/lvs-stats.inc.php

          also seems to be missing the code to actually write the rrd

          adama Adam Armstrong added a comment - also seems to be missing the code to actually write the rrd

          Should be possible by just populating the $graphs array with the graph you want.

          adama Adam Armstrong added a comment - Should be possible by just populating the $graphs array with the graph you want.

          This looks good, but would need some rewrite to the new rrd stuff.
          Devs; Any way to put Apps (from agent) under different tabs currently, or would some new code be necessary ?

          kentbjoh Kent Johannessen added a comment - This looks good, but would need some rewrite to the new rrd stuff. Devs; Any way to put Apps (from agent) under different tabs currently, or would some new code be necessary ?

          It is more difficult to get graphs "per-service stats". We have several loadbalancers whereby the number of service-addresses differs. I will take a look at it if there is an easy way to do this. Maybe you have some tips.

          tromp Tromp Wezelman added a comment - It is more difficult to get graphs "per-service stats". We have several loadbalancers whereby the number of service-addresses differs. I will take a look at it if there is an easy way to do this. Maybe you have some tips.

          I would be much happer if this appeared under the existing "load balancer" tab. This is where we put netscaler and cisco ace statistics.

          Do you plan to do per-service stats too? These seem to be available, and would make it even more worthwhile putting it under the load balancer tab.

          adama Adam Armstrong added a comment - I would be much happer if this appeared under the existing "load balancer" tab. This is where we put netscaler and cisco ace statistics. Do you plan to do per-service stats too? These seem to be available, and would make it even more worthwhile putting it under the load balancer tab.

          People

            adama Adam Armstrong
            tromp Tromp Wezelman
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated: