nsca.c @ line 134 of 1450
openlog("nsca",LOG_PID|LOG_NDELAY,LOG_DAEMON);
prototype: void openlog(const char *ident, int logopt, int facility);
We should probably make that a config-file defined variable. At the
*very* least, a GNU autoconf compile-time configure option -> #DEFINE
Default syslog.conf(5)'s everywhere are going to split the destination
into a variety of files (because of priorities), which is insanely
annoying.
Most big shops end up using syslog-ng and filter on program:
filter f_prog_nrpe { program("nrpe"); };
Then we can route it out to destinations regardless of priorities before
fall-back facility.priority(*) wildcard gets caught.
For example, there's only one or two LOG_DEBUG's, but the config file
only defines a boolean log statement.
~BAS
This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]