Change the Syslog Facility in Nagios 3

Joerg Linge pitchfork at ederdrom.de
Tue Mar 16 15:08:48 CET 2010


Am 16.03.10 13:57, schrieb Traiano Welcome:
> Hi List
> 
> We have a requirement that our nagios (Version 3.0.6 running) instance send log messages to syslogd  using the Local5 facility instead of the "User" facility. Currently it seems nagios only logs via "User", is there any way to change this?

base/logging.c line 223ff

syslog(LOG_USER|LOG_INFO,"%s",buffer);

Per default it look like facility USER and not LOCAL5

Joerg


------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list