include/monitor.h File Reference

#include <syslog.h>

Go to the source code of this file.

Defines

#define MON_INFO   0
#define MON_WARNING   1
#define MON_CRITICAL   2
#define MON_FAILURE   3

Functions

int monitor (unsigned int sev, const char *pattern, const char *message)
int syslogMonitor (unsigned int logLvl, unsigned int sev, const char *pattern, const char *message,...) __attribute__((format(printf


Define Documentation

#define MON_CRITICAL   2

Definition at line 8 of file monitor.h.

#define MON_FAILURE   3

Definition at line 9 of file monitor.h.

#define MON_INFO   0

Definition at line 6 of file monitor.h.

#define MON_WARNING   1

Definition at line 7 of file monitor.h.


Function Documentation

int monitor ( unsigned int  sev,
const char *  pattern,
const char *  message 
)

Definition at line 26 of file monitor.c.

int syslogMonitor ( unsigned int  logLvl,
unsigned int  sev,
const char *  pattern,
const char *  message,
  ... 
)


Generated on Sun Oct 10 01:24:35 2010 for xmlrpc by  doxygen 1.5.8