<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#ffffff">
I try to run these <span class="translation">standard</span> script on
Solaris machine, but i got this error:<br>
<br>
<p class="MsoNormal"><font face="Arial" size="2"><span
style="font-size: 10pt; font-family: Arial;" lang="EN-US">root@vmszf #
./check_nrpe -H localhost -c
check_oracle_tbs<o:p></o:p></span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span
style="font-size: 10pt; font-family: Arial;" lang="EN-US">NRPE: Unable
to read output<o:p></o:p></span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span
style="font-size: 10pt; font-family: Arial;" lang="EN-US">su – nagios<o:p></o:p></span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span
style="font-size: 10pt; font-family: Arial;" lang="EN-US">nagios@vmszf
# /usr/local/nagios/libexec/check_nrpe
-H localhost -c check_oracle_tbs<o:p></o:p></span></font></p>
<font face="Arial" size="2"><span
style="font-size: 10pt; font-family: Arial;" lang="EN-US">NRPE: Unable
to read output<br>
<br>
<br>
If i simple run this script the output is: "OK: All Tablespaces OK"
under both users.<br>
<br>
<br>
</span></font>
<p class="MsoNormal"><font face="Arial" size="2"><span
style="font-size: 10pt; font-family: Arial;" lang="EN-US">NRPE Plugin
for Nagios<o:p></o:p></span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span
style="font-size: 10pt; font-family: Arial;" lang="EN-US">Copyright
(c) 1999-2008 Ethan Galstad
(<a class="moz-txt-link-abbreviated" href="mailto:nagios@nagios.org">nagios@nagios.org</a>)<o:p></o:p></span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span
style="font-size: 10pt; font-family: Arial;" lang="EN-US">Version: 2.12<o:p></o:p></span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span
style="font-size: 10pt; font-family: Arial;" lang="EN-US">Last
Modified: 03-10-2008<o:p></o:p></span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span
style="font-size: 10pt; font-family: Arial;" lang="EN-US">License: GPL
v2 with exemptions (-l for more info)<o:p></o:p></span></font></p>
<font face="Arial" size="2"><span
style="font-size: 10pt; font-family: Arial;" lang="EN-US">SSL/TLS
Available: Anonymous DH Mode, OpenSSL 0.9.6
or higher required<br>
<br>
</span></font>
<p class="MsoNormal"><font face="Arial" size="2"><span
style="font-size: 10pt; font-family: Arial;" lang="EN-US">SunOS vmszf
5.10 Generic_138888-01 sun4v sparc
SUNW,Sun-Fire-T200<o:p></o:p></span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span
style="font-size: 10pt; font-family: Arial;" lang="EN-US"><o:p> </o:p></span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span
style="font-size: 10pt; font-family: Arial;" lang="EN-US">Oracle
Database 10g <st1:city w:st="on"><st1:place w:st="on">Enterprise</st1:place></st1:city>
Edition Release 10.2.0.3.0 - 64bi<o:p></o:p></span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span
style="font-size: 10pt; font-family: Arial;" lang="EN-US">PL/SQL
Release 10.2.0.3.0 - Production<o:p></o:p></span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span
style="font-size: 10pt; font-family: Arial;" lang="EN-US">CORE
10.2.0.3.0 Production<o:p></o:p></span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span
style="font-size: 10pt; font-family: Arial;" lang="EN-US">TNS for
Solaris: Version 10.2.0.3.0 - Production<o:p></o:p></span></font></p>
<font face="Arial" size="2"><span
style="font-size: 10pt; font-family: Arial;" lang="EN-US">NLSRTL
Version 10.2.0.3.0 – Production<br>
<br>
<br>
</span></font><font face="Arial" size="2"><span
style="font-size: 10pt; font-family: Arial;" lang="EN-US">If I comment
string in perl script which connect to
db scrip work fine, and I read output by </span></font><font
face="Arial" size="2"><span
style="font-size: 10pt; font-family: Arial;" lang="EN-US">check_nrpe. </span></font><br>
<font face="Arial" size="2"><span
style="font-size: 10pt; font-family: Arial;" lang="EN-US"><br>
<br>
</span></font> <br>
<pre class="moz-signature" cols="72">--
С уважением,
Селявка Евгений
</pre>
</body>
</html>