projects
/
ganeti-local
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1f53be8
)
Export the Instance Status collector report
author
Michele Tartara
<mtartara@google.com>
Tue, 7 May 2013 16:37:05 +0000
(16:37 +0000)
committer
Michele Tartara
<mtartara@google.com>
Mon, 13 May 2013 13:20:26 +0000
(14:20 +0100)
It will need to be accessed by the monitoring daemon.
Signed-off-by: Michele Tartara <mtartara@google.com>
Reviewed-by: Klaus Aehlig <aehlig@google.com>
src/Ganeti/DataCollectors/InstStatus.hs
patch
|
blob
|
history
diff --git
a/src/Ganeti/DataCollectors/InstStatus.hs
b/src/Ganeti/DataCollectors/InstStatus.hs
index
bf92d2d
..
ec60c0b
100644
(file)
--- a/
src/Ganeti/DataCollectors/InstStatus.hs
+++ b/
src/Ganeti/DataCollectors/InstStatus.hs
@@
-32,6
+32,7
@@
module Ganeti.DataCollectors.InstStatus
, dcFormatVersion
, dcCategory
, dcKind
+ , dcReport
) where
@@
-78,6
+79,10
@@
dcCategory = Just DCInstance
dcKind :: DCKind
dcKind = DCKStatus
+-- | The report of this data collector.
+dcReport :: IO DCReport
+dcReport = buildInstStatusReport Nothing Nothing
+
-- * Command line options
options :: IO [OptType]