Sponsored Content
Special Forums UNIX and Linux Applications Nagios and DB Oracle (check_Oracle_instant) Post 302870875 by JanePisk on Tuesday 5th of November 2013 05:58:51 AM
Old 11-05-2013
Nagios and DB Oracle (check_Oracle_instant)

hi all!
I installed Nagios on my CentOs virtual Machine.
I downloaded the plugin named 'check_oracle_instant' to control oracle services and for monitor the state of DB.
I copied the script in the path /usr/local/nagios/libexex
and i put 'nagios' like owner for the script.

In the path
Code:
/usr/local/nagios/etc/object

, i modified the file 'commands.cfg' adding

Code:
define command {
command_name check_oracle_instant
command_line ...
}

I definied the service in another file and i runned the command
Code:
/usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg

No error i received!!!
I restarted nagios, but the script don't works!!!


nagios says :
(Return code of 126 is out of bounds - plugin may be missing)

if i try to run the script with the nagios owner I received
Code:
/usr/bin/perl^M

bad interpreter: No such file or directory


waiting for your help...

ps: my db is a remote db..

Last edited by jim mcnamara; 11-05-2013 at 07:46 AM..
 

3 More Discussions You Might Find Interesting

1. Red Hat

Configure Nagios for Oracle

Hi, I have recently configured nagios for monitoring some of my production servers and it works fine but now I need to monitor my Oracle RAC servers. I have downloaded the following plugin (check_oracle-cluster) and have installed it on one of my RAC servers. Nagios Exchange - Check... (7 Replies)
Discussion started by: Duffs22
7 Replies

2. Infrastructure Monitoring

Nagios check dependent on second nagios server

We have a dual Nagios server setup. One is setup for internal server monitoring on our LAN, while the second Nagios server is hosted externally and is used for external checks only such as URL and ping checks form the WAN side. I was wondering if there is any way to setup cross dependencies... (1 Reply)
Discussion started by: eugenes18t
1 Replies

3. UNIX and Linux Applications

Identify a specific environment Oracle variable to connect a remote Oracle database ?

Good evening I nned your help pls, In an unix server i want to connect to a remote oracle databse server by sqlplus. I tried to find out the user/passwd and service name by env variable and all Ive got is this: ORACLE_SID_REPCOL=SCL_REPCOL ORACLE_SID=xmeta ORACLE_SID_TOL=SCL_PROTOLCOL... (2 Replies)
Discussion started by: alexcol
2 Replies
2004-04-16

      mailping

      0.0.4

MAILPING-LATENCY(1)						     Mailping						       MAILPING-LATENCY(1)

NAME
mailping-latency - Munin plugin to graph latency of mail deliveries SYNOPSIS
/usr/share/mailping/munin-plugins/mailping-latency {[config] | ['']} DESCRIPTION
mailping-latency is a Munin plugin that monitors the time spent between email submit and it's delivery. Configuration output When passed config, it outputs Munin configuration information. If there are no circuits defined (no subdirectories in /etc/mailping), it specifies that Munin should draw no graph either. If configuration files /etc/mailping/circuit/warnlatency and /etc/mailping/circuit/faillatency exist, the values in them are passed on to Munin, for use in Nagios alert integration. Value output When passed an empty string '', mailping-latency outputs latency of last successful probe message, for each configured circuit. FILES
/etc/mailping/ List of circuits that exist; each subdirectory is a circuit. /etc/mailping/circuit/warnlatency If latency is greater than this many seconds, a Nagios warning is triggered by Munin (assuming it has been configured to do that). Default: no warnings. /etc/mailping/circuit/faillatency If latency is greater than this many seconds, a Nagios alert is triggered by Munin (assuming it has been configured to do that). Default: no alerts. /var/lib/mailping/state/circuit/latency Amount of latency in seconds of the last successful probe for circuit. ENVIRONMENT
MAILPING_CONFIGDIR Override the location of the configuration directory. Default: /etc/mailping MAILPING_STATEDIR Override the location of the state directory. Circuit states are stored in the state subdirectory of this directory, in subdirectories named after the circuit name. Default: /var/lib/mailping SEE ALSO
mailping-success(1), mailping-cron(1), mailping-store(1), munin-run(8), munin-node(8) AUTHOR
Tommi Virtanen <tv@havoc.fi> Havoc Consulting Author. COPYRIGHT
Copyright (C) 2004 Havoc Consulting mailping 0. 2004-04-16 MAILPING-LATENCY(1)
All times are GMT -4. The time now is 06:07 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy