Statistics
| Branch: | Tag: | Revision:

root / src / mon-collector.hs @ b54ecf12

History | View | Annotate | Download (1 kB)

1 332b1340 Michele Tartara
{-| Main binary for all stand-alone data collectors
2 332b1340 Michele Tartara
3 332b1340 Michele Tartara
-}
4 332b1340 Michele Tartara
5 332b1340 Michele Tartara
{-
6 332b1340 Michele Tartara
7 332b1340 Michele Tartara
Copyright (C) 2012 Google Inc.
8 332b1340 Michele Tartara
9 332b1340 Michele Tartara
This program is free software; you can redistribute it and/or modify
10 332b1340 Michele Tartara
it under the terms of the GNU General Public License as published by
11 332b1340 Michele Tartara
the Free Software Foundation; either version 2 of the License, or
12 332b1340 Michele Tartara
(at your option) any later version.
13 332b1340 Michele Tartara
14 332b1340 Michele Tartara
This program is distributed in the hope that it will be useful, but
15 332b1340 Michele Tartara
WITHOUT ANY WARRANTY; without even the implied warranty of
16 332b1340 Michele Tartara
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
17 332b1340 Michele Tartara
General Public License for more details.
18 332b1340 Michele Tartara
19 332b1340 Michele Tartara
You should have received a copy of the GNU General Public License
20 332b1340 Michele Tartara
along with this program; if not, write to the Free Software
21 332b1340 Michele Tartara
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
22 332b1340 Michele Tartara
02110-1301, USA.
23 332b1340 Michele Tartara
24 332b1340 Michele Tartara
-}
25 332b1340 Michele Tartara
26 332b1340 Michele Tartara
module Main (main) where
27 332b1340 Michele Tartara
28 55abd2c7 Iustin Pop
import Ganeti.Common
29 55abd2c7 Iustin Pop
import Ganeti.DataCollectors.CLI (genericOptions, defaultOptions)
30 332b1340 Michele Tartara
import Ganeti.DataCollectors.Program (personalities)
31 332b1340 Michele Tartara
32 630c73e5 Iustin Pop
-- | Simple main function.
33 332b1340 Michele Tartara
main :: IO ()
34 630c73e5 Iustin Pop
main = genericMainCmds defaultOptions personalities genericOptions