cfengine  3.15.4
About: CFEngine is a configuration management system for configuring and maintaining Unix-like computers (using an own high level policy language). Community version.
  Fossies Dox: cfengine-3.15.4.tar.gz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

mon.h
Go to the documentation of this file.
1 /*
2  Copyright 2019 Northern.tech AS
3 
4  This file is part of CFEngine 3 - written and maintained by Northern.tech AS.
5 
6  This program is free software; you can redistribute it and/or modify it
7  under the terms of the GNU General Public License as published by the
8  Free Software Foundation; version 3.
9 
10  This program is distributed in the hope that it will be useful,
11  but WITHOUT ANY WARRANTY; without even the implied warranty of
12  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13  GNU General Public License for more details.
14 
15  You should have received a copy of the GNU General Public License
16  along with this program; if not, write to the Free Software
17  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
18 
19  To the extent this program is licensed as part of the Enterprise
20  versions of CFEngine, the applicable Commercial Open Source License
21  (COSL) may apply to this file if you as a licensee so wish it. See
22  included file COSL.txt.
23 */
24 
25 #ifndef CFENGINE_MON_H
26 #define CFENGINE_MON_H
27 
28 
29 /* mon_entropy.c */
30 
31 void MonEntropyClassesInit(void);
32 void MonEntropyClassesReset(void);
33 void MonEntropyClassesSet(const char *service, const char *direction, double entropy);
34 void MonEntropyClassesPublish(FILE *fp);
35 void MonEntropyPurgeUnused(char *name);
36 double MonEntropyCalculate(const Item *items);
37 
38 /* mon_cpu.c */
39 
40 void MonCPUGatherData(double *cf_this);
41 
42 /* mon_disk.c */
43 
44 void MonDiskGatherData(double *cf_this);
45 
46 /* mon_load.c */
47 
48 void MonLoadGatherData(double *cf_this);
49 
50 /* mon_network.c */
51 
52 void MonNetworkInit(void);
53 void MonNetworkGatherData(double *cf_this);
54 
55 /* mon_network_sniffer.c */
56 
58 void MonNetworkSnifferOpen(void);
59 void MonNetworkSnifferEnable(bool enable);
60 void MonNetworkSnifferSniff(Item *ip_addresses, long iteration, double *cf_this);
62 
63 /* mon_processes.c */
64 
65 void MonProcessesGatherData(double *cf_this);
66 
67 /* mon_temp.c */
68 
69 void MonTempInit(void);
70 void MonTempGatherData(double *cf_this);
71 
72 #endif
void MonTempGatherData(double *cf_this)
Definition: mon_temp.c:77
void MonNetworkSnifferEnable(bool enable)
void MonCPUGatherData(double *cf_this)
Definition: mon_cpu.c:43
void MonEntropyClassesReset(void)
Definition: mon_entropy.c:41
void MonNetworkSnifferSniff(Item *ip_addresses, long iteration, double *cf_this)
void MonNetworkSnifferInit(void)
void MonNetworkGatherData(double *cf_this)
Definition: mon_network.c:217
void MonNetworkSnifferGatherData(void)
void MonProcessesGatherData(double *cf_this)
Definition: mon_processes.c:45
void MonEntropyClassesInit(void)
Definition: mon_entropy.c:35
void MonEntropyPurgeUnused(char *name)
Definition: mon_entropy.c:120
void MonDiskGatherData(double *cf_this)
Definition: mon_disk.c:40
void MonEntropyClassesPublish(FILE *fp)
Definition: mon_entropy.c:128
void MonEntropyClassesSet(const char *service, const char *direction, double entropy)
Definition: mon_entropy.c:98
double MonEntropyCalculate(const Item *items)
Definition: mon_entropy.c:68
void MonNetworkInit(void)
Definition: mon_network.c:119
void MonTempInit(void)
Definition: mon_temp.c:85
void MonNetworkSnifferOpen(void)
void MonLoadGatherData(double *cf_this)
Definition: mon_load.c:62
Definition: item_lib.h:33