myprocess Struct Reference

Defines process data. More...


Data Fields

char * name
 Process descriptive name. More...

char * pidfile
 The pid file of the process. More...

char * group
 Process group name. More...

Command_T start
 The start command for the process. More...

Command_T stop
 The stop command for the process. More...

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

int ncycle
 The number of the current cycle. More...

int nstart
 The number of current starts with this process. More...

int to_start
 Timeout start ceiling. More...

int to_cycle
 Timeout cycle ceiling. More...

int every
 Check this program at given cycles. More...

int nevery
 Counter for every. More...

int has_checksum_error
 TRUE if the process has a checksum error. More...

int def_every
 TRUE if every is defined for the process. More...

int def_timeout
 TRUE if timeout is defined for the process. More...

int def_checksum
 TRUE if checksum is defined for the process. More...

int def_procinfo
 TRUE if procinfo is defined for the process. More...

Port_T portlist
 Portnumbers the process listens on. More...

Checksum_T checksumlist
 A list of file associated checksums. More...

Mail_T maillist
 Alert notification mailinglist. More...

Resource_T resourcelist
 Resouce check list. More...

ProcInfo_T procinfo
 Data for the procfs check. More...

myprocess * next
 next process in chain. More...


Detailed Description

Defines process data.

Definition at line 217 of file monitor.h.


Field Documentation

Checksum_T myprocess::checksumlist
 

A list of file associated checksums.

Definition at line 237 of file monitor.h.

Referenced by printprocess().

int myprocess::def_checksum
 

TRUE if checksum is defined for the process.

Definition at line 233 of file monitor.h.

int myprocess::def_every
 

TRUE if every is defined for the process.

Definition at line 231 of file monitor.h.

Referenced by printprocess().

int myprocess::def_procinfo
 

TRUE if procinfo is defined for the process.

Definition at line 234 of file monitor.h.

int myprocess::def_timeout
 

TRUE if timeout is defined for the process.

Definition at line 232 of file monitor.h.

Referenced by printprocess().

int myprocess::do_validate
 

validation flag, if FALSE, no validation is done.

Definition at line 223 of file monitor.h.

Referenced by printprocess().

int myprocess::every
 

Check this program at given cycles.

Definition at line 228 of file monitor.h.

Referenced by printprocess().

char* myprocess::group
 

Process group name.

Definition at line 220 of file monitor.h.

Referenced by printprocess(), start_group(), status_group(), and stop_group().

int myprocess::has_checksum_error
 

TRUE if the process has a checksum error.

Definition at line 230 of file monitor.h.

Mail_T myprocess::maillist
 

Alert notification mailinglist.

Definition at line 238 of file monitor.h.

Referenced by printprocess().

char* myprocess::name
 

Process descriptive name.

Definition at line 218 of file monitor.h.

Referenced by exist_process(), get_process(), printprocess(), start(), start_group(), start_process(), stop(), stop_group(), and stop_process().

int myprocess::ncycle
 

The number of the current cycle.

Definition at line 224 of file monitor.h.

int myprocess::nevery
 

Counter for every.

When nevery == every, check

Definition at line 229 of file monitor.h.

struct myprocess* myprocess::next
 

next process in chain.

Definition at line 244 of file monitor.h.

Referenced by exist_process(), get_process(), printprocesslist(), start(), start_group(), status(), status_group(), stop(), stop_group(), and validate().

int myprocess::nstart
 

The number of current starts with this process.

Definition at line 225 of file monitor.h.

char* myprocess::pidfile
 

The pid file of the process.

Definition at line 219 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 236 of file monitor.h.

Referenced by printprocess().

ProcInfo_T myprocess::procinfo
 

Data for the procfs check.

Definition at line 241 of file monitor.h.

Referenced by update_process_data().

Resource_T myprocess::resourcelist
 

Resouce check list.

Definition at line 239 of file monitor.h.

Referenced by printprocess().

Command_T myprocess::start
 

The start command for the process.

Definition at line 221 of file monitor.h.

Referenced by printprocess(), start(), start_group(), and start_process().

Command_T myprocess::stop
 

The stop command for the process.

Definition at line 222 of file monitor.h.

Referenced by printprocess(), stop(), stop_group(), and stop_process().

int myprocess::to_cycle
 

Timeout cycle ceiling.

Definition at line 227 of file monitor.h.

Referenced by printprocess().

int myprocess::to_start
 

Timeout start ceiling.

Definition at line 226 of file monitor.h.

Referenced by printprocess().


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