[Nagiosplug-help] check_nrpe

Jackson Sie jsie at quadrix.com
Tue Jul 9 08:58:05 CEST 2002


David,

This is very likely a problem with your LD_LIBRARY_PATH (assuming a
Linux-like OS).  As a test, you might wrap your chkoracle.pl script with a
simple shell script to spit out what it thinks the current env looks like.
We had a similar problem trying to get the check_snmp to work.

Regards,
Jackson Sie
Senior Architect
Quadrix Solutions, Inc.



-----Original Message-----
From: nagiosplug-help-admin at lists.sourceforge.net
[mailto:nagiosplug-help-admin at lists.sourceforge.net]On Behalf Of David
Shapiro
Sent: Tuesday, July 09, 2002 9:02 AM
To: 'nagiosplug-help at lists.sourceforge.net'
Subject: [Nagiosplug-help] check_nrpe


Hello,

I made a script that uses expect.pm/perl  to sqlplus login to sids and
return errors if logins fail for some reason.  I used the exit codes from
config.sh.  Anyway, the script works from the command line fine:

# /usr/local/bin/bti/chkoracle.pl --login system/test --oracle 816

SQL*Plus: Release 8.1.6.0.0 - Production on Tue Jul 9 08:52:45 2002

(c) Copyright 1999 Oracle Corporation.  All rights reserved.

ERROR:
ORA-01034: ORACLE not available


Enter user-name: SQLPLUS: Oracle 816 unavailable. Check if Oracle down,
Invalid SID used, or oraenv settings not correctly set.

But using check_nrpe:
# /usr/local/nagios/libexec/check_nrpe 10.1.1.1 -to 60 -c
'check_db_sqlplus_816'
CHECK_NRPE: Receive underflow.  Only 12 bytes received (1040 expected).

What is happening here? What is this underflow error?  What is going on?



David E. Shapiro




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Stuff, things, and much much more.
http://thinkgeek.com/sf
_______________________________________________
Nagiosplug-help mailing list
Nagiosplug-help at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagiosplug-help





More information about the Help mailing list