<div class="gmail_quote">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. <br>

<br><div class="gmail_quote"><div><div></div><div class="h5">On Wed, Jan 26, 2011 at 6:14 PM, Jeffrey Watts <span dir="ltr"><<a href="mailto:jeffrey.w.watts@gmail.com" target="_blank">jeffrey.w.watts@gmail.com</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div><div></div><div class="h5">
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.  :)<div>


<br></div><div>Try (depends on which syslog you have running, ps can help you figure that out):<div>man 5 syslog.conf</div><div>man 5 syslog-ng.conf<br><br></div><div>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.</div>


<div><br></div><div>Good luck!</div><div>Jeffrey.</div><div><div></div><div><div><br><div class="gmail_quote">On Wed, Jan 26, 2011 at 11:36 AM, Archana Ramamoorthy <span dir="ltr"><<a href="mailto:archu2inin@yahoo.co.in" target="_blank">archu2inin@yahoo.co.in</a>></span> wrote:<br>


<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Hi All:<br><br>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.<br>



<br>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. <br>



<br>Thanks.<br><br>Regards,<br><font color="#888888">Archana<br clear="all"><br><br></font></blockquote></div></div></div></div></div>
<br></div></div>------------------------------------------------------------------------------<br>
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!<br>
Finally, a world-class log management solution at an even better price-free!<br>
Download using promo code Free_Logger_4_Dev2Dev. Offer expires<br>
February 28th, so secure your free ArcSight Logger TODAY!<br>
<a href="http://p.sf.net/sfu/arcsight-sfd2d" target="_blank">http://p.sf.net/sfu/arcsight-sfd2d</a><br>_______________________________________________<br>
Nagios-users mailing list<br>
<a href="mailto:Nagios-users@lists.sourceforge.net" target="_blank">Nagios-users@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/nagios-users" target="_blank">https://lists.sourceforge.net/lists/listinfo/nagios-users</a><br>
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.<br>
::: Messages without supporting info will risk being sent to /dev/null<br clear="all"><br>-- <br>Archana<br>
<br>
</blockquote></div><br><br clear="all"><br>
</div>