title: sqlplus command not found zabbix
body: <p>I'm working and discovering the world of Zabbix. In particular I am trying to monitor an Oracle database with the Zabbix server through an external script. Given that other external scripts work, however, I created one with sqlplus, but on Zabbix I get "command not found". Can you tell me why?
  The code is:</p>
  
  <pre><code>check.pl
  #!/usr/bin/perl
  use strict;
  use warnings;
  my $out=`echo "select * from v$version;" | sqlplus user/password@ip_database:port`;
  print $out;
  </code></pre>
  
  <p>The code is very simple.
  I created an item as always, passed as type "external check" and a key I entered my script. Can anyone solve my problem? Also if I was not clear, just ask for more information rather than "insult" on the forum: Thanks to everyone in advance</p>
  
  <p>I RESOLVED IT WITH:</p>
  
  <pre><code>echo "/usr/lib/oracle/11.2/client64/lib" &gt; /etc/ld.so.conf.d/oracle.conf
  echo "export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib/oracle/11.2/client64/lib" &gt;&gt; /etc/profile
  </code></pre>
  
  <p>THANKS TO ALL!!!!</p>