nrpe oddity

Brian A. Seklecki lavalamp at spiritual-machines.org
Tue Mar 4 22:42:16 CET 2008


On Mon, 2008-03-03 at 15:52 -0500, Ugo Bellavance wrote:
> su - nagios
> 
> > Is your  environment clean?
> 
> Hum, how woudl I check that?
> 

"su - user" should clean your enviromnent out.  try "export" or "set" in
the new shell

> > 
> > Try ktrace(8)/strace(8) for a good time.
> 
> How would I use strace? strace -p $PIDofNRPE?

Yea, sudo -H -u nagios [ktrace|strace] nrpe [flags]

If you're using ktrace, you can get the output using "kdump >
~/kdump_log.txt"




-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
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