Statistics
| Branch: | Tag: | Revision:

root / src / Ganeti @ aab0927c

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 9.3 kB
Jobs.hs 3.3 kB
Logging.hs 4.5 kB
Luxi.hs 15.3 kB
Network.hs 3.5 kB
Objects.hs 24.1 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
aab0927c 06/03/2013 06:10 pm Michele Tartara

Let the monitoring daemon provide the diskstats collector

Add the collector to the list of those provided my the monitoring daemon.

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

1a99d6a2 06/03/2013 06:10 pm Michele Tartara

Add diskstats data collector

Add a new data collector responsible for gathering disk performance
statistics.

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

67ebc173 06/03/2013 06:09 pm Michele Tartara

Add a CLI parameter for input files

For many data collectors it is useful (especially for testing) to have to
possibility to specify an input file.

This commit adds a generic option for doing that.

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

c6bca2d1 06/03/2013 06:08 pm Michele Tartara

Add /proc/diskstats parser

Add a parser for interpreting the content of the /proc/diskstats file,
providing information about the state of the disks of the system.

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

5a13489b 06/03/2013 04:15 pm Bernardo Dal Seno

Check real spindles in ipolicies

When exclusive storage is enabled, the spindles in instance disks are used
to check the instance policies (as outlined in design-partitioned.rst).

Signed-off-by: Bernardo Dal Seno <>
Reviewed-by: Klaus Aehlig <>

6ef49eef 06/03/2013 04:15 pm Bernardo Dal Seno

Check the full instance specs in htools

Spindles and disk count are checked too. Existing functions have been
refactored, so common parts are not duplicated.

Signed-off-by: Bernardo Dal Seno <>
Reviewed-by: Klaus Aehlig <>

2724417c 06/03/2013 04:15 pm Bernardo Dal Seno

Add spindles to instance disks in htools

A new data type is introduced for disks to store both size and spindles.
When available, spindles are filled with input data. Except for loading and
storing, spindles are ignored.

Signed-off-by: Bernardo Dal Seno <>...

c324da14 06/03/2013 04:15 pm Bernardo Dal Seno

Load exclusive_storage in htools

The node parameter is loaded into the data structures. No behavior is yet
modified.

Signed-off-by: Bernardo Dal Seno <>
Reviewed-by: Klaus Aehlig <>

a4f35477 06/03/2013 04:15 pm Bernardo Dal Seno

New function to load JSON arrays of optional values

This will be needed to load spindles in some htools backends. Unit tests
provided.

Signed-off-by: Bernardo Dal Seno <>
Reviewed-by: Klaus Aehlig <>

c09359ee 06/03/2013 04:14 pm Bernardo Dal Seno

Add unit test for text backend + fix bug

Test serialization and deserialization of instances. Fix check of secondary
node.

Signed-off-by: Bernardo Dal Seno <>
Reviewed-by: Klaus Aehlig <>

View revisions

Also available in: Atom