Package ZenEvents :: Module syslog_h
[hide private]
[frames] | no frames]

Module syslog_h

source code

Functions [hide private]
 
LOG_PRI(p) source code
 
LOG_MAKEPRI(fac, pri) source code
 
LOG_FAC(p) source code
 
LOG_MASK(pri) source code
 
LOG_UPTO(pri) source code
 
LOG_UNPACK(p) source code
Variables [hide private]
  LOG_EMERGENCY = 0
  LOG_ALERT = 1
  LOG_CRITICAL = 2
  LOG_ERRROR = 3
  LOG_WARNING = 4
  LOG_NOTICE = 5
  LOG_INFO = 6
  LOG_DEBUG = 7
  LOG_PRIMASK = 7
  LOG_KERN = 0
  LOG_USER = 8
  LOG_MAIL = 16
  LOG_DAEMON = 24
  LOG_AUTH = 32
  LOG_SYSLOG = 40
  LOG_LPR = 48
  LOG_NEWS = 56
  LOG_UUCP = 64
  LOG_CRON = 72
  LOG_AUTHPRIV = 80
  LOG_FTP = 88
  LOG_LOCAL0 = 128
  LOG_LOCAL1 = 136
  LOG_LOCAL2 = 144
  LOG_LOCAL3 = 152
  LOG_LOCAL4 = 160
  LOG_LOCAL5 = 168
  LOG_LOCAL6 = 176
  LOG_LOCAL7 = 184
  LOG_NFACILITIES = 24
  LOG_FACMASK = 1016
  fac_values = {'auth': 32, 'authpriv': 80, 'cron': 72, 'daemon'...
  fac_names = {0: 'kern', 8: 'user', 16: 'mail', 24: 'nfacilitie...
  pri_values = {'alert': 1, 'critical': 2, 'debug': 7, 'emergenc...
  pri_names = {0: 'emergency', 1: 'alert', 2: 'critical', 3: 'er...
Variables Details [hide private]

fac_values

Value:
{'auth': 32,
 'authpriv': 80,
 'cron': 72,
 'daemon': 24,
 'facmask': 1016,
 'ftp': 88,
 'kern': 0,
 'local0': 128,
...

fac_names

Value:
{0: 'kern',
 8: 'user',
 16: 'mail',
 24: 'nfacilities',
 32: 'auth',
 40: 'syslog',
 48: 'lpr',
 56: 'news',
...

pri_values

Value:
{'alert': 1,
 'critical': 2,
 'debug': 7,
 'emergency': 0,
 'errror': 3,
 'info': 6,
 'notice': 5,
 'primask': 7,
...

pri_names

Value:
{0: 'emergency',
 1: 'alert',
 2: 'critical',
 3: 'errror',
 4: 'warning',
 5: 'notice',
 6: 'info',
 7: 'primask'}