Search found 17 matches
- Tue Sep 15, 2020 10:08 pm
- Forum: Nagios XI
- Topic: (No output on stdout) stderr: when running oracle monitoring
- Replies: 7
- Views: 715
Re: (No output on stdout) stderr: when running oracle monito
Hello, Updating the rights on the files/folders but still no output: [root@CBAS035A ~]# chmod -R 775 /usr/lib/oracle [root@CBAS035A ~]# ls -lR /usr/lib/oracle /usr/lib/oracle: total 0 drwxrwxr-x 3 root root 22 Oct 11 2018 12.1 /usr/lib/oracle/12.1: total 0 drwxrwxr-x 5 root root 43 Mar 4 2019 client...
- Tue Sep 15, 2020 9:06 pm
- Forum: Nagios XI
- Topic: (No output on stdout) stderr: when running oracle monitoring
- Replies: 7
- Views: 715
Re: (No output on stdout) stderr: when running oracle monito
Hello @benjaminesmith, We're using physical server right now. I'll perform a backup before proceeding with the changes. Hello @ssax, Here is the result of the command: (still no output) [root@CBAS035A ~]# /usr/bin/env LD_LIBRARY_PATH=/usr/lib/oracle/12.1/client64/lib ORACLE_HOME=/usr/lib/oracle/12.1...
- Mon Sep 14, 2020 8:24 pm
- Forum: Nagios XI
- Topic: (No output on stdout) stderr: when running oracle monitoring
- Replies: 7
- Views: 715
Re: (No output on stdout) stderr: when running oracle monito
Hello, Here is the result: [root@CBAS035A ~]# ls -lR /usr/lib/oracle /usr/lib/oracle: total 0 drwxr-xr-x 3 root root 22 Oct 11 2018 12.1 /usr/lib/oracle/12.1: total 0 drwxr-xr-x 5 root root 43 Mar 4 2019 client64 /usr/lib/oracle/12.1/client64: total 4 drwxr-xr-x 2 root root 48 Oct 11 2018 bin drwxr-...
- Sun Sep 13, 2020 11:45 pm
- Forum: Nagios XI
- Topic: (No output on stdout) stderr: when running oracle monitoring
- Replies: 7
- Views: 715
(No output on stdout) stderr: when running oracle monitoring
Hello, Had previous post regarding this but was closed since I was not able to reply. https://support.nagios.com/forum/viewtopic.php?f=16&t=52832 Anyway, Oracle was installed according to this post: https://assets.nagios.com/downloads/nagiosxi/docs/Installing-Oracle-Plugins-in-Nagios-XI.pdf But ...
- Mon Apr 22, 2019 3:26 am
- Forum: Nagios XI
- Topic: error in running python plugin
- Replies: 13
- Views: 2756
Re: error in running python plugin
Hello, unfortunately, remote session is not an option for us. running the command you sent give the same results (no output). I want to try to reinstall oracle but im afraid that it might affect other working configs again. I referred here during my oracle installation: https://assets.nagios.com/dow...
- Sun Mar 24, 2019 8:41 pm
- Forum: Nagios XI
- Topic: error in running python plugin
- Replies: 13
- Views: 2756
Re: error in running python plugin
Hello, Actually --mode is already included. However, no output is being generated [root@CBAS035A ~]# /usr/bin/env LD_LIBRARY_PATH=/usr/lib/oracle/12.1/client64/lib ORACLE_HOME=/usr/lib/oracle/12.1/client64 /usr/local/nagios/libexec/check_oracle_health --connect 'CBDB017.cb.ph.conti.de:1521/CTEPIDB.c...
- Thu Mar 21, 2019 10:15 pm
- Forum: Nagios XI
- Topic: error in running python plugin
- Replies: 13
- Views: 2756
Re: error in running python plugin
Done running the export command and creating oracle.sh inside the /etc/profile.d But after reboot, I run the env | grep -i oracle but no output [root@CBAS035A ~]# env | grep -i oracle [root@CBAS035A ~]# But the export seems to be working [root@CBAS035A ~]# echo $LD_LIBRARY_PATH /usr/lib/oracle/12.1/...
- Wed Mar 20, 2019 10:26 pm
- Forum: Nagios XI
- Topic: error in running python plugin
- Replies: 13
- Views: 2756
Re: error in running python plugin
Hello,
This is the output:
This is the output:
Code: Select all
[root@CBAS035A ~]# which env
/usr/bin/env
[root@CBAS035A ~]# ls -lL /usr/bin/env
-rwxr-xr-x. 1 root root 0 Mar 4 16:46 /usr/bin/env
[root@CBAS035A ~]# env | grep -i oracle
[root@CBAS035A ~]#
- Tue Mar 19, 2019 11:18 pm
- Forum: Nagios XI
- Topic: error in running python plugin
- Replies: 13
- Views: 2756
Re: error in running python plugin
Hello, Thanks for this! I've updated the python script. I also noticed that my Oracle plugin did not work also (it is also using the /usr/bin/env) at the command line. This is also working before /usr/bin/env LD_LIBRARY_PATH=/usr/lib/oracle/12.1/client64/lib ORACLE_HOME=/usr/lib/oracle/12.1/client64...
- Wed Mar 06, 2019 10:51 pm
- Forum: Nagios XI
- Topic: error in running python plugin
- Replies: 13
- Views: 2756
Re: error in running python plugin
Hello,
Putting python in the start did work. I just updated the command and included it.
Thanks for the support.
ANyways, do I need to include python in all my future commands that uses python?
Is there anyway I can fix the python not executing from the shebang line?
Thanks again!
Putting python in the start did work. I just updated the command and included it.
Thanks for the support.
ANyways, do I need to include python in all my future commands that uses python?
Is there anyway I can fix the python not executing from the shebang line?
Thanks again!