snmp/fsl.snmp

Fri, 13 Apr 2012 18:48:23 +0200

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Fri, 13 Apr 2012 18:48:23 +0200
changeset 418
680c3f7768b0
permissions
-rw-r--r--

Correct various structure and architecture problems in code including:
use functions from ISO C stdio requires cstdio header,
include sockio header only in platforms where it's present,
touch random number seeder logic on X86-64 platforms as well as IA-32,
and hopefully use all 64 bits of register as it would seem that more
like 'asm("rdtsc" : "=a" (lowtick), "=d" (hitick));' is needed instead.

michael@325 1 ##
michael@325 2 ## fsl.snmp -- OSSP fsl configuration
michael@325 3 ##
michael@325 4
michael@325 5 ident (snmpd|snmptrapd|net-snmp)/.+ q{
michael@325 6 prefix(
michael@325 7 prefix="%b %d %H:%M:%S %N <%L> $1[%P]: "
michael@325 8 )
michael@325 9 -> {
michael@325 10 debug: file(
michael@325 11 path="@l_prefix@/var/snmp/snmp.log",
michael@325 12 perm=0644
michael@325 13 )
michael@325 14 }
michael@325 15 };
michael@325 16

mercurial