ganeti

Safe HaskellSafe-Infered

Ganeti.Monitoring.Server

Contents

Description

Implementation of the Ganeti confd server functionality.

Synopsis

Types and constants definitions

type PrepResult = Config Snap ()Source

data DataCollector Source

Constructors

DataCollector 

Fields

dName :: String
 
dCategory :: Maybe DCCategory
 
dKind :: DCKind
 
dReport :: IO DCReport
 

Configuration handling

defaultHttpConf :: Config Snap ()Source

Helper functions

checkMain :: CheckFn CheckResultSource

Check function for the monitoring agent.

prepMain :: PrepFn CheckResult PrepResultSource

Prepare function for monitoring agent.

Query answers

versionQ :: Snap ()Source

allReports :: Snap ()Source

catFromName :: String -> Result (Maybe DCCategory)Source

error404 :: Snap ()Source

oneReport :: Snap ()Source