mirror of
https://github.com/monitoring-plugins/monitoring-plugins.git
synced 2026-06-11 01:30:00 -04:00
Obsolete from main check_oracle
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@739 f882894a-f735-0410-b71e-b25c423dba1c
This commit is contained in:
parent
5b37f0dd4a
commit
86efb5a92e
1 changed files with 0 additions and 13 deletions
|
|
@ -1,13 +0,0 @@
|
|||
#!/usr/bin/perl
|
||||
|
||||
# Oracle plugin submitted by Christopher Maser (maser@onvista.de)
|
||||
# 12/31/1999
|
||||
|
||||
my $host=$ARGV[0];
|
||||
my @test=`tnsping $host`;
|
||||
my $arg=$test[6];
|
||||
chomp $arg;
|
||||
if ($arg =~ /^OK (.*)/)
|
||||
{print "$arg"; exit 0}
|
||||
else {exit 2;}
|
||||
|
||||
Loading…
Reference in a new issue