101 |
int polltime; /**< In deamon mode, the sleeptime (sec) between run */ |
int polltime; /**< In deamon mode, the sleeptime (sec) between run */ |
102 |
int dohttpd; /**< TRUE if monit HTTP server should run */ |
int dohttpd; /**< TRUE if monit HTTP server should run */ |
103 |
int httpdssl; /**< TRUE if monit HTTP server uses ssl */ |
int httpdssl; /**< TRUE if monit HTTP server uses ssl */ |
104 |
char * httpsslpem; /**< PEM file for the HTTPS server */ |
char *httpsslpem; /**< PEM file for the HTTPS server */ |
105 |
char * httpsslclientpem; /**< PEM file/dir to check against at connect */ |
char *httpsslclientpem; /**< PEM file/dir to check against at connect */ |
106 |
int allowselfcert; /**< TRUE if self certified client certs are allowed */ |
int allowselfcert; /**< TRUE if self certified client certs are allowed */ |
107 |
int httpdport; /**< The monit http server's portnumber */ |
int httpdport; /**< The monit http server's portnumber */ |
108 |
int validate; /**< TRUE - use validate behaviour on startup */ |
int validate; /**< TRUE - use validate behaviour on startup */ |
109 |
int Init; /**< TRUE - don't background to run from init */ |
int init; /**< TRUE - don't background to run from init */ |
110 |
int doprocess; /**< TRUE if process status engine is used */ |
int doprocess; /**< TRUE if process status engine is used */ |
111 |
char *bind_addr; /**< The address monit http will bind to */ |
char *bind_addr; /**< The address monit http will bind to */ |
112 |
mode_t umask; /**< The initial umask monit was started with */ |
mode_t umask; /**< The initial umask monit was started with */ |
159 |
struct myport *next; /**< next port in chain */ |
struct myport *next; /**< next port in chain */ |
160 |
} *Port_T; |
} *Port_T; |
161 |
|
|
162 |
|
/** Defines a protocol object with protocol functions */ |
163 |
|
typedef struct myprotocol *Protocol_T; |
164 |
|
|
165 |
typedef struct mydependant { |
typedef struct mydependant { |
166 |
char *dependant; /** <name of dependant process> **/ |
char *dependant; /** <name of dependant process> **/ |
167 |
/** For internal use */ |
/** For internal use */ |
168 |
struct mydependant *next; /** <next dependant process in chain> **/ |
struct mydependant *next; /** <next dependant process in chain> **/ |
169 |
} *Dependant_T; |
} *Dependant_T; |
170 |
|
|
|
/** Defines a protocol object with protocol functions */ |
|
|
typedef struct myprotocol *Protocol_T; |
|
|
|
|
171 |
/** Defines a checksum object */ |
/** Defines a checksum object */ |
172 |
typedef struct mychecksum { |
typedef struct mychecksum { |
173 |
char *file; /**< A filename to compute a md5 checksum for */ |
char *file; /**< A filename to compute a md5 checksum for */ |
207 |
} *Resource_T; |
} *Resource_T; |
208 |
|
|
209 |
/** Defines procfs (or other mechanism) data */ |
/** Defines procfs (or other mechanism) data */ |
210 |
typedef struct myprocinfo{ |
typedef struct myprocinfo { |
211 |
int pid; |
int pid; |
212 |
int status_flag; |
int status_flag; |
213 |
long mem_kbyte; |
long mem_kbyte; |