myprocess Struct Reference

Defines process data. More...


Data Fields

char * name
 Process descriptive name.

char * pidfile
 The pid file of the process.

char * group
 Process group name.

Command_T start
 The start command for the process.

Command_T stop
 The stop command for the process.

int do_validate
 validation flag, if FALSE, no validation is done

int mode
 Monitoring mode for the process.

int ncycle
 The number of the current cycle.

int nstart
 The number of current starts with this process.

int to_start
 Timeout start ceiling.

int to_cycle
 Timeout cycle ceiling.

int every
 Check this program at given cycles.

int nevery
 Counter for every.

int has_checksum_error
 TRUE if the process has a checksum error.

int def_every
 TRUE if every is defined for the process.

int def_timeout
 TRUE if timeout is defined for the process.

int def_checksum
 TRUE if checksum is defined for the process.

int def_procinfo
 TRUE if procinfo is defined for the process.

int visited
 Process visited flag, set if dependencies are used.

int depend_visited
 Depend visited flag, set if dependencies are used.

Port_T portlist
 Portnumbers the process listens on.

Checksum_T checksumlist
 A list of file associated checksums.

Mail_T maillist
 Alert notification mailinglist.

Resource_T resourcelist
 Resouce check list.

Dependant_T dependantlist
 Dependant process list.

Timestamp_T timestamplist
 Timestamp check list.

ProcInfo_T procinfo
 Data for the procfs check.

myprocess * next
 next process in chain

myprocess * next_depend
 next depend process in chain


Detailed Description

Defines process data.

Definition at line 276 of file monitor.h.


Field Documentation

Checksum_T myprocess::checksumlist
 

A list of file associated checksums.

Definition at line 299 of file monitor.h.

Referenced by printprocess().

int myprocess::def_checksum
 

TRUE if checksum is defined for the process.

Definition at line 293 of file monitor.h.

int myprocess::def_every
 

TRUE if every is defined for the process.

Definition at line 291 of file monitor.h.

Referenced by printprocess().

int myprocess::def_procinfo
 

TRUE if procinfo is defined for the process.

Definition at line 294 of file monitor.h.

int myprocess::def_timeout
 

TRUE if timeout is defined for the process.

Definition at line 292 of file monitor.h.

Referenced by printprocess().

int myprocess::depend_visited
 

Depend visited flag, set if dependencies are used.

Definition at line 296 of file monitor.h.

Referenced by reset_depend().

Dependant_T myprocess::dependantlist
 

Dependant process list.

Definition at line 302 of file monitor.h.

Referenced by printprocess().

int myprocess::do_validate
 

validation flag, if FALSE, no validation is done

Definition at line 282 of file monitor.h.

int myprocess::every
 

Check this program at given cycles.

Definition at line 288 of file monitor.h.

Referenced by printprocess().

char* myprocess::group
 

Process group name.

Definition at line 279 of file monitor.h.

Referenced by control_group(), printprocess(), and status_group().

int myprocess::has_checksum_error
 

TRUE if the process has a checksum error.

Definition at line 290 of file monitor.h.

Mail_T myprocess::maillist
 

Alert notification mailinglist.

Definition at line 300 of file monitor.h.

Referenced by printprocess().

int myprocess::mode
 

Monitoring mode for the process.

Definition at line 283 of file monitor.h.

Referenced by printprocess().

char* myprocess::name
 

Process descriptive name.

Definition at line 277 of file monitor.h.

Referenced by control(), control_group(), exist_process(), get_process(), and printprocess().

int myprocess::ncycle
 

The number of the current cycle.

Definition at line 284 of file monitor.h.

int myprocess::nevery
 

Counter for every.

When nevery == every, check

Definition at line 289 of file monitor.h.

struct myprocess* myprocess::next
 

next process in chain

Definition at line 308 of file monitor.h.

Referenced by control(), control_group(), exist_process(), get_process(), printprocesslist(), reset_depend(), status(), status_group(), and validate().

struct myprocess* myprocess::next_depend
 

next depend process in chain

Definition at line 309 of file monitor.h.

int myprocess::nstart
 

The number of current starts with this process.

Definition at line 285 of file monitor.h.

char* myprocess::pidfile
 

The pid file of the process.

Definition at line 278 of file monitor.h.

Referenced by exist_daemon(), is_process_running(), and printprocess().

Port_T myprocess::portlist
 

Portnumbers the process listens on.

Definition at line 298 of file monitor.h.

Referenced by printprocess().

ProcInfo_T myprocess::procinfo
 

Data for the procfs check.

Definition at line 305 of file monitor.h.

Referenced by update_process_data().

Resource_T myprocess::resourcelist
 

Resouce check list.

Definition at line 301 of file monitor.h.

Referenced by printprocess().

Command_T myprocess::start
 

The start command for the process.

Definition at line 280 of file monitor.h.

Referenced by check_process(), and printprocess().

Command_T myprocess::stop
 

The stop command for the process.

Definition at line 281 of file monitor.h.

Referenced by check_process(), and printprocess().

Timestamp_T myprocess::timestamplist
 

Timestamp check list.

Definition at line 303 of file monitor.h.

Referenced by printprocess().

int myprocess::to_cycle
 

Timeout cycle ceiling.

Definition at line 287 of file monitor.h.

Referenced by printprocess().

int myprocess::to_start
 

Timeout start ceiling.

Definition at line 286 of file monitor.h.

Referenced by printprocess().

int myprocess::visited
 

Process visited flag, set if dependencies are used.

Definition at line 295 of file monitor.h.

Referenced by control(), control_group(), reset_depend(), and validate().


The documentation for this struct was generated from the following file: