[Nagiosplug-help] retrieve (Storable) can not open files
    Thomas Guyot-Sionnest 
    dermoth at aei.ca
       
    Wed Apr 25 00:45:48 CEST 2007
    
    
  
On 24/04/07 04:11 PM, Ingo Lantschner wrote:
> So I see two questions:
> 1. What's the difference between calling a check from the command- 
> line (as nagios, with "su -" before) compared to calling it as Nagios- 
> daemon.
The tty is one difference but that's likely not your problem.
If Nagios is compiled with the embedded Perl interpretor they you may
have more luck if you explicitly call Perl in your check_command (ie.
set a USERn macro as "/usr/bin/perl /usr/local/nagios/libexec/" and use
it instead of USER1 for that Perl check script).
Thomas
    
    
More information about the Help
mailing list