/[monit]/monit/monitor.h
ViewVC logotype

Diff of /monit/monitor.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.100 by hauk, Fri Sep 19 03:44:17 2003 UTC revision 1.101 by martinp, Thu Sep 25 15:22:09 2003 UTC
# Line 285  typedef struct myport { Line 285  typedef struct myport {
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    
# Line 435  typedef struct mydevice { Line 449  typedef struct mydevice {
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 */
# Line 468  typedef struct myservice { Line 483  typedef struct myservice {
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 */

Legend:
Removed from v.1.100  
changed lines
  Added in v.1.101

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26