[Nagiosplug-devel] [ nagiosplug-Bugs-808276 ] check_oracle --login fails
    SourceForge.net 
    noreply at sourceforge.net
       
    Wed Sep 17 18:15:06 CEST 2003
    
    
  
Bugs item #808276, was opened at 2003-09-17 17:12
Message generated for change (Comment added) made by jhmartin
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=397597&aid=808276&group_id=29880
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Jason Martin (jhmartin)
Assigned to: Nobody/Anonymous (nobody)
Summary: check_oracle --login fails
Initial Comment:
When the check_oracle plugin attempts the --login 
process (a dummy login), it redirects </dev/null into 
sqlplus. If SQLPLUS fails to login, it'll 'ask' 2 more times 
but just skip them due to the </dev/null. Instead, the -L 
option should be passed to SQLPLUS as that directs it to 
only try to login once. When -L is passed, sqlplus will 
correctly return a '1' when the login failed.
----------------------------------------------------------------------
>Comment By: Jason Martin (jhmartin)
Date: 2003-09-17 17:14
Message:
Logged In: YES 
user_id=589094
Actually, instead  of parsing the output of sqlplus it should 
check the returncode.
----------------------------------------------------------------------
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=397597&aid=808276&group_id=29880
    
    
More information about the Devel
mailing list