NRPE- Log files in syslog

Archana Ramamoorthy archu2inin at yahoo.co.in
Thu Jan 27 00:35:38 CET 2011


Thank you Jeffrey. I'm actually new to both Nagios and the world of Unix. I
shall however read up on syslog. I was very particular about this because i
wanted to know the exact point where nrpe writes to syslog so that i
re-route it and make it write to a place of my choice. The main reason I
would want to do this is because i will not have access to the syslog of
many servers in my company.

On Wed, Jan 26, 2011 at 6:14 PM, Jeffrey Watts <jeffrey.w.watts at gmail.com>wrote:

> You really ought to read up on syslog and how it works.  It can do
> everything you're asking.  The whole point of the syslog service is to
> abstract logging from the application - so that it can be centralized,
> filtered, separated, etc.  :)
>
> Try (depends on which syslog you have running, ps can help you figure that
> out):
> man 5 syslog.conf
> man 5 syslog-ng.conf
>
> That will help you with the format of the configuration file.  If you're
> not familiar with the concepts of syslog in general, I'd recommend googling.
>
> Good luck!
> Jeffrey.
>
> On Wed, Jan 26, 2011 at 11:36 AM, Archana Ramamoorthy <
> archu2inin at yahoo.co.in> wrote:
>
>> Hi All:
>>
>> I use the NPRE plugin for Nagios and i know that setting the value of the
>> variable "debug" to 1 in the nrpe.cfg file would make the debug messages to
>> be logged into the syslog facility. Is there a way for me to make it log
>> into some other folder of my choice instead of it even getting stored in
>> syslog? I couldn't find the exact script/file where it actually writes stuff
>> into syslog. It would be great if someone could tell me where to find this
>> file or how to change the option to make it log into a folder of my choice.
>>
>> Also, i tried to find if i could find some plugin to log into some other
>> folder. I could find many plugins for NSCA log but i couldn't find anything
>> for NRPE. It would be great if anybody could help me with this.
>>
>> Thanks.
>>
>> Regards,
>> Archana
>>
>>
>>
>
> ------------------------------------------------------------------------------
> Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
> Finally, a world-class log management solution at an even better
> price-free!
> Download using promo code Free_Logger_4_Dev2Dev. Offer expires
> February 28th, so secure your free ArcSight Logger TODAY!
> http://p.sf.net/sfu/arcsight-sfd2d
> _______________________________________________
> 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
>
> --
> Archana
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20110126/94418351/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
-------------- next part --------------
_______________________________________________
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