How to debug plugin getting into UNKNOWN state - fixed

Markus Baertschi markus at markus.org
Mon Mar 8 21:05:20 CET 2004


I found the problem.

My plugin was dependent on the environment-variable ORACLE_HOME. This 
variable
is not available in the nagios environment. When I was logged-in as 
nagios the variable
was there (from .profile). Restarting nagios from there obviously worked 
as well...

Markus

-- 
  Markus Baertschi             Phone: ++41 (21) 807 1677
  Bas du Rossé 14b             Fax  : ++41 (21) 807 1678
  CH-1163, Etoy                Email: markus at markus.org
  Switzerland                  Homepage: www.markus.org



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
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