285 |
} *Port_T; |
} *Port_T; |
286 |
|
|
287 |
|
|
288 |
|
/** Defines a ICMP object */ |
289 |
|
typedef struct myicmp { |
290 |
|
int type; /**< ICMP type used */ |
291 |
|
int timeout; /**< The timeout in seconds to wait for response */ |
292 |
|
int action; /**< Action in case of failure */ |
293 |
|
int event_flag; /**< TRUE if an event occured on this object */ |
294 |
|
Command_T exec; /**< Optional command to be executed upon a icmp event */ |
295 |
|
int is_available; /**< TRUE if the server is available */ |
296 |
|
|
297 |
|
/** For internal use */ |
298 |
|
struct myicmp *next; /**< next icmp in chain */ |
299 |
|
} *Icmp_T; |
300 |
|
|
301 |
|
|
302 |
typedef struct mydependant { |
typedef struct mydependant { |
303 |
char *dependant; /**< name of dependant service */ |
char *dependant; /**< name of dependant service */ |
304 |
|
|
449 |
long limit_absolute; /**< Watermark - blocks */ |
long limit_absolute; /**< Watermark - blocks */ |
450 |
int limit_percent; /**< Watermark - percent */ |
int limit_percent; /**< Watermark - percent */ |
451 |
int action; /**< Action in case of failure */ |
int action; /**< Action in case of failure */ |
452 |
|
Command_T exec; /**< Optional command to be executed upon a device event */ |
453 |
|
|
454 |
/** For internal use */ |
/** For internal use */ |
455 |
struct mydevice *next; /**< next device in chain */ |
struct mydevice *next; /**< next device in chain */ |
483 |
Dependant_T dependantlist; /**<Dependant service list */ |
Dependant_T dependantlist; /**<Dependant service list */ |
484 |
Device_T devicelist; /**< Device check list */ |
Device_T devicelist; /**< Device check list */ |
485 |
Gid_T gid; /**< Gid check */ |
Gid_T gid; /**< Gid check */ |
486 |
|
Icmp_T icmplist; /**< ICMP check list */ |
487 |
Mail_T maillist; /**< Alert notification mailinglist */ |
Mail_T maillist; /**< Alert notification mailinglist */ |
488 |
Perm_T perm; /**< Permission check */ |
Perm_T perm; /**< Permission check */ |
489 |
Port_T portlist; /**< Portnumbers the service listens on */ |
Port_T portlist; /**< Portnumbers the service listens on */ |