Oracle check problem after upgrade to 2012R1.1

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
User avatar
mrochelle
Posts: 238
Joined: Fri May 04, 2012 11:20 am
Location: Heart of America

Oracle check problem after upgrade to 2012R1.1

Post by mrochelle »

Nagios XI Installation Profile
Download Profile
System:
Nagios XI Version : 2012R1.1
nagprod01.cellnet.com 2.6.32-220.23.1.el6.x86_64 x86_64
CentOS release 6.2 (Final)
Gnome is not installed
Apache Information
PHP Version: 5.3.3
Agent: Mozilla/5.0 (Windows NT 6.1; rv:16.0) Gecko/20100101 Firefox/16.0
Server Name: 148.80.140.92
Server Address: 148.80.140.92
Server Port: 80
Date/Time
PHP Timezone: America/Chicago
PHP Time: Fri, 02 Nov 2012 07:38:06 -0500
System Time: Fri, 02 Nov 2012 07:38:06 -0500
Nagios XI Data
nagios (pid 23341) is running...
NPCD running (pid 1959).
ndo2db (pid 2011) is running...
CPU Load 15: 3.75
Total Hosts: 1252
Total Services: 570

The update to 2012R1.1 was straight forward and without incident.
Using the wizard, I reconfigured the oracle checks and noticed all arguments were placed in ARG1. I manually corrected to match the command string and spread the command inputs across all 8 arguments for my configuration to make it easy for my DBAs to use.
The command works from the command line, by the way nice option 'TEST CHECK COMMAND' in the new configuration interface!
I get an error from the web interface: [STDERR][EC 127]/bin/sh: /usr/local/nagios/libexec/env: No such file or directory ?
Your comments and suggestions are welcome. Thanks in advance.
Marcus
You do not have the required permissions to view the files attached to this post.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Oracle check problem after upgrade to 2012R1.1

Post by scottwilkerson »

This is weird.

Can you run the following from the command line

Code: Select all

which env
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
User avatar
mrochelle
Posts: 238
Joined: Fri May 04, 2012 11:20 am
Location: Heart of America

Re: Oracle check problem after upgrade to 2012R1.1

Post by mrochelle »

[root@nagprod01 ~]# which env
/bin/env

This may be useful also

[root@nagprod01 bin]# cd /usr/bin
[root@nagprod01 bin]# ls -lrt *env
-rwxr-xr-x 1 root root 26280 Dec 7 2011 printenv
lrwxrwxrwx. 1 root root 13 Jun 6 16:01 env -> ../../bin/env
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Oracle check problem after upgrade to 2012R1.1

Post by scottwilkerson »

Can you PM me your commands.cfg file?
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
User avatar
mrochelle
Posts: 238
Joined: Fri May 04, 2012 11:20 am
Location: Heart of America

Re: Oracle check problem after upgrade to 2012R1.1

Post by mrochelle »

Just sent it.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Oracle check problem after upgrade to 2012R1.1

Post by scottwilkerson »

Boy the command looks right, the only thing I can think of is if we had a second instance of nagios running trying to use an old command (like it hasn't applied)

Can we reset nagios

Code: Select all

service nagios stop
killall -9 nagios
service nagios start
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
User avatar
mrochelle
Posts: 238
Joined: Fri May 04, 2012 11:20 am
Location: Heart of America

Re: Oracle check problem after upgrade to 2012R1.1

Post by mrochelle »

Done, but no change. I guest you probably knew you would not get off the hook that easy :lol:
User avatar
mrochelle
Posts: 238
Joined: Fri May 04, 2012 11:20 am
Location: Heart of America

Re: Oracle check problem after upgrade to 2012R1.1

Post by mrochelle »

Ok, let first offer a thousand apologies for my lack of brains. :oops:
I downloaded and install the oracle plugins on my 3 slave boxes in our DNX architecture. Problem resolved.
Sorry, Marcus :geek:
Locked