Permalink
Browse files

Enumerate in the README the valid facilities and priorities.

  • Loading branch information...
1 parent 8758d7f commit 1ce99d13a1ac0f7cd525cae11a145d7075a4fc34 @lehenbauer lehenbauer committed Dec 14, 2010
Showing with 22 additions and 8 deletions.
  1. +22 −8 README
View
@@ -47,14 +47,28 @@ The available key-value pairs are as follows:
may be a different timezone from the default or even
other instances of the same calling program.
- from - the host on which the syslog message was generated
+ host - the host on which the syslog message was generated (system
+ the message is from)
facility - the facility specified in the syslog message
+ facility can be one of...
+
+ auth, authpriv, console, cron, daemon, ftp, kern, lpr,
+ mail, news, ntp, security, syslog, user, uucp,
+ local0, local1, local2, local3, local4, local5, local6,
+ local7
+
priority - the priority specified in the syslog message
+ priority can be one of...
+
+ alert, crit, debug, emerg, err, info, notice, warning
+
program - the program that generated the syslog message
+ program will be present but empty if not specified
+
kernel - OPTIONAL - the kernel prefix if the message was generated
by the operating system kernel
@@ -64,47 +78,47 @@ example messages:
message(clock) = 1291160416
message(facility) = daemon
-message(from) = cfood
+message(host) = cfood
message(msg) = nrpe[47754]: Command completed with return code 0 and output: mem_used:8032756 mem_total:16777216
message(priority) = debug
message(program) = nrpe
message(timestamp) = Nov 30 17:40:16
message(clock) = 1291160409
message(facility) = local5
-message(from) = cfood
+message(host) = cfood
message(msg) = balancer[44238]: agent_heartbeat: cfood.hou.flightaware.com (sock7) 0.66
message(priority) = debug
message(program) = balancer
message(timestamp) = Nov 30 17:40:09
message(clock) = 1291160402
message(facility) = syslog
-message(from) = cfood
+message(host) = cfood
message(msg) = syslogd: restart
message(priority) = info
message(program) = syslogd
message(timestamp) = Nov 30 17:40:02
message(clock) = 1291160580
message(facility) = cron
-message(from) = cfood
-message(msg) = /usr/sbin/cron[47841]: (dbaker) CMD (/usr/local/flightaware/utilities/update_boards_from_airline_fleets.tcl | /usr/local/bin/psql -h asdidata.db.flightaware.com asdidata>/dev/null)
+message(host) = cfood
+message(msg) = /usr/sbin/cron[47841]: ...
message(priority) = info
message(program) =
message(timestamp) = Nov 30 17:43:00
message(clock) = 1291160614
message(facility) = local5
-message(from) = cfood
+message(host) = cfood
message(msg) = balancer[44238]: agent_heartbeat: cfood.hou.flightaware.com (sock7) 0.58
message(priority) = debug
message(program) = balancer
message(timestamp) = Nov 30 17:43:34
message(clock) = 1291160626
message(facility) = mail
-message(from) = cfood
+message(host) = cfood
message(msg) = postfix/smtp[47864]: E338E629299: to=<tom@aperturehealth.com>, relay=none, delay=374433, delays=374431/0.45/1.2/0, dsn=4.4.3, status=deferred (Host or domain name not found. Name service error for name=aperturehealth.com type=MX: Host not found, try again)
message(priority) = info
message(program) = postfix

0 comments on commit 1ce99d1

Please sign in to comment.