Statistics
| Branch: | Tag: | Revision:

root / src / Ganeti @ 199b241c

Name Size
  Block
  Confd
  Curl
  DataCollectors
  HTools
  Hypervisor
  Monitoring
  Query
BasicTypes.hs 6.8 kB
Common.hs 13.3 kB
Compat.hs 1.4 kB
Config.hs 11.1 kB
Constants.hs.in 965 Bytes
Daemon.hs 13.4 kB
Errors.hs 6.2 kB
Hash.hs 1.8 kB
JQueue.hs 10.7 kB
JSON.hs 8.4 kB
Jobs.hs 3.3 kB
Logging.hs 4.5 kB
Luxi.hs 15.3 kB
Network.hs 3.5 kB
Objects.hs 23.9 kB
OpCodes.hs 16.7 kB
OpParams.hs 42.7 kB
Path.hs 3.4 kB
Rpc.hs 15.7 kB
Runtime.hs 5.6 kB
Ssconf.hs 4.8 kB
THH.hs 40.5 kB
Types.hs 16 kB
Utils.hs 15.4 kB
Version.hs.in 246 Bytes

Latest revisions

# Date Author Comment
199b241c 05/14/2013 08:06 pm Michele Tartara

Make HS ConfD client IPv6 compatible

The Haskell ConfD client was assuming internet addresses to be IPv4. This
patch modifies the client so that it is able to automatically detect the
protocol it should use by analyzing the address it is told to connect to....

986a8671 05/14/2013 08:06 pm Michele Tartara

Factor out resolveAddr function

This function can be useful to many parts of the code to convert the string
representation of an IP (v4 or v6) address into the proper data type.

Signed-off-by: Michele Tartara <>
Reviewed-by: Helga Velroyen <>

6ab6b19a 05/13/2013 04:20 pm Michele Tartara

Use dcName in mon-collector

Instead of manually specify the name of the data collectors in mon-collector,
just use the dcName field each of them exports.

Signed-off-by: Michele Tartara <>
Reviewed-by: Klaus Aehlig <>

dd69cd3c 05/13/2013 04:20 pm Michele Tartara

Factor out the mergeStatuses function

It will be used by multiple data collectors, not only the DRBD collector.

Signed-off-by: Michele Tartara <>
Reviewed-by: Klaus Aehlig <>

79731e21 05/13/2013 04:20 pm Michele Tartara

Add global status field to the instance status collector

The global status is computed from the statuses of the single instances.

The output json format is adapted to include this piece of information, as
prescribed by the design document.

Signed-off-by: Michele Tartara <>...

e8b46463 05/13/2013 04:20 pm Michele Tartara

Export the Instance Status collector report

It will need to be accessed by the monitoring daemon.

Signed-off-by: Michele Tartara <>
Reviewed-by: Klaus Aehlig <>

8a049311 05/13/2013 04:20 pm Michele Tartara

Add inst-status-xen to the monitoring daemon

Enable the monitoring daemon to invoke the Xen instance status data collector.
Signed-off-by: Michele Tartara <>
Reviewed-by: Klaus Aehlig <>

17ae9cdb 05/13/2013 04:20 pm Michele Tartara

Include the reason trail in the instance collector output

Fetch the reason trail from file, failing gracefully if it is not found, and
include it in the output of the instance status data collector.

Signed-off-by: Michele Tartara <>
Reviewed-by: Klaus Aehlig <>

7660aaf3 05/13/2013 04:20 pm Michele Tartara

Export Instance Status collector information

Name, version, format version, category and kind of the Instance Status data
collector are now exported.

Signed-off-by: Michele Tartara <>
Reviewed-by: Klaus Aehlig <>

4fe04580 05/13/2013 04:20 pm Michele Tartara

Factor out function for building report

Instead of building the report as part of the "Main" function, have it
built by its own dedicated function, so that it will be able to export it
directly to the monitoring daemon when needed.

Signed-off-by: Michele Tartara <>...

View revisions

Also available in: Atom