Thursday, June 20th 2013, 7:18am UTC+2
You are not logged in.
Dear visitor, welcome to Monitoring-Portal.
Although this is a german monitoring forum, please don't hesitate to post in
English. Nearly everybody here understands you and will answer in English as well.
If this is your first visit here, please read the Help. It explains how this page works. You must be registered before you can use all the page's features. Please use the registration form to register here or read more information about the registration process. If you are already registered, please login here.
Gender: male
Number of monitoring servers: 2
Nagios Version: 3.0.1
Distributed monitoring: Nein
Redundant monitoring: Nein
Number of hosts: 300
Number of services: 900
OS: CentOS, div Linux
Plugin Version: 1.4.11
NagVis Version: 1.3rc1
|
|
Source code |
1 |
install_driver(Oracle) failed: Can't load '/usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/auto/DBD/Oracle/Oracle.so' for module DBD::Oracle: libclntsh.so.10.1: cannot open shared object file: No such file or directory at /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/DynaLoader.pm line 230. |
Gender: male
Location: Nähe Frankfurt
Occupation: Sys-Admin
Number of monitoring servers: 1
Nagios Version: 3.2.1
Distributed monitoring: Nein
Redundant monitoring: Nein
Number of hosts: ~ 250
Number of services: ~ 2500
OS: Debian Lenny
Plugin Version: 1.4.15
NagVis Version: 1.5.1
Other Addons: PnP 0.6.11, SNMPTT 0.1.2, NagTrap 0.1.3, DokuWiki, SMSTools, mklivestatus
Gender: male
Location: München
Occupation: Informatiker
Number of monitoring servers: 1
Nagios Version: 3.2.0
Distributed monitoring: Ja
Redundant monitoring: Ja
Number of hosts: 2000
Number of services: 50000
OS: Linux/SLES11, CentOS5.5
Plugin Version: 1.4.14
NDO Version: 1.4b7
Other Addons: PNP,mod_gearman,OMD,coshsh
Gender: male
Number of monitoring servers: 2
Nagios Version: 3.0.1
Distributed monitoring: Nein
Redundant monitoring: Nein
Number of hosts: 300
Number of services: 900
OS: CentOS, div Linux
Plugin Version: 1.4.11
NagVis Version: 1.3rc1
|
|
Source code |
1 2 3 4 5 6 7 8 9 10 11 12 |
define service {
host_name testdbsrv
use Generic-rz-db-Service
service_description TNSPING auf testdb
check_command check_oracle_health!TESTDB!tnsping
servicegroups rz_db_tnsping
}
define command{
command_name check_oracle_health
command_line $USER1$/check_oracle_health --connect=$ARG1$ --mode=$ARG2$ $ARG3$
}
|
Gender: male
Location: München
Occupation: Informatiker
Number of monitoring servers: 1
Nagios Version: 3.2.0
Distributed monitoring: Ja
Redundant monitoring: Ja
Number of hosts: 2000
Number of services: 50000
OS: Linux/SLES11, CentOS5.5
Plugin Version: 1.4.14
NDO Version: 1.4b7
Other Addons: PNP,mod_gearman,OMD,coshsh
Gender: male
Number of monitoring servers: 2
Nagios Version: 3.0.1
Distributed monitoring: Nein
Redundant monitoring: Nein
Number of hosts: 300
Number of services: 900
OS: CentOS, div Linux
Plugin Version: 1.4.11
NagVis Version: 1.3rc1
Gender: male
Number of monitoring servers: 2
Nagios Version: 3.0.1
Distributed monitoring: Nein
Redundant monitoring: Nein
Number of hosts: 300
Number of services: 900
OS: CentOS, div Linux
Plugin Version: 1.4.11
NagVis Version: 1.3rc1
Location: Kassel
Occupation: Sysadmin SAP / Linux / AIX
Number of monitoring servers: 2
Hobbies: Motorrad fahren, wenns die Zeit erlaubt :-)
Nagios Version: 3.2.3 ( OMD )
Distributed monitoring: Nein
Redundant monitoring: Nein
Number of hosts: 360
Number of services: 6700
OS: Debian 6.0
Plugin Version: 1.4.x
Other Addons: SNMPTT, NagTrap, check_mk, PNP-0.6.x. Thruk
Gender: male
Number of monitoring servers: 2
Nagios Version: 3.0.1
Distributed monitoring: Nein
Redundant monitoring: Nein
Number of hosts: 300
Number of services: 900
OS: CentOS, div Linux
Plugin Version: 1.4.11
NagVis Version: 1.3rc1
Gender: male
Location: München
Occupation: Informatiker
Number of monitoring servers: 1
Nagios Version: 3.2.0
Distributed monitoring: Ja
Redundant monitoring: Ja
Number of hosts: 2000
Number of services: 50000
OS: Linux/SLES11, CentOS5.5
Plugin Version: 1.4.14
NDO Version: 1.4b7
Other Addons: PNP,mod_gearman,OMD,coshsh
|
|
Source code |
1 2 3 4 5 |
$sqlplus = $ORACLE_HOME/bin/sqlplus falls es $ORACLE_HOME/sqlplus gibt, wenn also der Instant Client installiert wurde, dann $sqlplus = $ORACLE_HOME/sqlplus Und wenn es keine ausführbare Datei $sqlplus gibt, dann print "nosqlplus" |
Gender: male
Number of monitoring servers: 2
Nagios Version: 3.0.1
Distributed monitoring: Nein
Redundant monitoring: Nein
Number of hosts: 300
Number of services: 900
OS: CentOS, div Linux
Plugin Version: 1.4.11
NagVis Version: 1.3rc1
|
|
Source code |
1 |
$ENV{ORACLE_HOME} = "/oracle/orahome10";
|
Gender: male
Location: München
Occupation: Informatiker
Number of monitoring servers: 1
Nagios Version: 3.2.0
Distributed monitoring: Ja
Redundant monitoring: Ja
Number of hosts: 2000
Number of services: 50000
OS: Linux/SLES11, CentOS5.5
Plugin Version: 1.4.14
NDO Version: 1.4b7
Other Addons: PNP,mod_gearman,OMD,coshsh
|
|
Source code |
1 2 3 4 5 6 7 |
#! /usr/bin/perl
if ($ENV{ORACLE_HOME}) {
printf "Mein ORACLE_HOME ist %s\n", $ENV{ORACLE_HOME};
} else {
printf "Ich hab kein ORACLE_HOME!!! *Heul*\n";
}
exit 0;
|
Gender: male
Number of monitoring servers: 2
Nagios Version: 3.0.1
Distributed monitoring: Nein
Redundant monitoring: Nein
Number of hosts: 300
Number of services: 900
OS: CentOS, div Linux
Plugin Version: 1.4.11
NagVis Version: 1.3rc1

Quoted
[root@nagios libexec]# ./check_oracle_health
Mein ORACLE_HOME ist /oracle/orahome10
[root@nagios libexec]# su - nagios
[nagios@nagios ~]$ /usr/local/nagios/libexec/check_oracle_health
Mein ORACLE_HOME ist /oracle/orahome10
Gender: male
Number of monitoring servers: 2
Nagios Version: 3.0.1
Distributed monitoring: Nein
Redundant monitoring: Nein
Number of hosts: 300
Number of services: 900
OS: CentOS, div Linux
Plugin Version: 1.4.11
NagVis Version: 1.3rc1
Quoted
export LD_LIBRARY_PATH=/usr/lib:/oracle/orahome10/lib
export ORACLE_BASE=/oracle/orahome10
export ORACLE_HOME=/oracle/orahome10
Gender: male
Location: DMZ
Number of monitoring servers: 2
Nagios Version: 3.2.x
Distributed monitoring: Ja
Redundant monitoring: Nein
Number of hosts: 1300
Number of services: 9100
OS: SLES10
Plugin Version: 1.4.x
NagVis Version: 1.4
NDO Version: 1.4
Other Addons: NagiosGrapher, Business Process AddOns, netMySLA
|
|
Source code |
1 2 3 4 5 6 7 8 |
oraenv () {
ORAHOME=/opt/oracle
export LD_LIBRARY_PATH=/usr/lib:$ORAHOME/product/10.2/db_1/lib
export ORACLE_BASE=$ORAHOME
export ORACLE_HOME=$ORAHOME/product/10.2/db_1
export ORA_CRS_HOME=$ORAHOME/product/10gR2/crs
export ORA_ASM_HOME=$ORAHOME/product/10gR2/asm
}
|
|
|
Source code |
1 |
CRITICAL - cannot connect to testhost. ERROR OCIEnvNlsCreate. Check ORACLE_HOME (Linux) env var or PATH (Windows) and or NLS settings, permissions, etc. |
Gender: male
Location: München
Occupation: Informatiker
Number of monitoring servers: 1
Nagios Version: 3.2.0
Distributed monitoring: Ja
Redundant monitoring: Ja
Number of hosts: 2000
Number of services: 50000
OS: Linux/SLES11, CentOS5.5
Plugin Version: 1.4.14
NDO Version: 1.4b7
Other Addons: PNP,mod_gearman,OMD,coshsh
Gender: male
Location: DMZ
Number of monitoring servers: 2
Nagios Version: 3.2.x
Distributed monitoring: Ja
Redundant monitoring: Nein
Number of hosts: 1300
Number of services: 9100
OS: SLES10
Plugin Version: 1.4.x
NagVis Version: 1.4
NDO Version: 1.4
Other Addons: NagiosGrapher, Business Process AddOns, netMySLA
|
|
Source code |
1 2 |
nagios@blubb:~> env | grep NLS XNLSPATH=/usr/X11R6/lib/X11/nls |
Quoted
Status Information: OK - connection established to host.subdomain.domain.
|
|
Source code |
1 2 3 4 5 6 7 8 9 |
oraenv () {
ORAHOME=/opt/oracle
export LD_LIBRARY_PATH=/usr/lib:$ORAHOME/product/10.2/db_1/lib
export ORACLE_BASE=$ORAHOME
export ORACLE_HOME=$ORAHOME/product/10.2/db_1
export ORA_CRS_HOME=$ORAHOME/product/10gR2/crs
export ORA_ASM_HOME=$ORAHOME/product/10gR2/asm
export TNS_ADMIN=/etc
}
|
|
|
Source code |
1 |
oraenv |