nagios_check_scs.pl perl script returns Unknown fatal error

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
aenergy
Posts: 11
Joined: Wed Jan 21, 2015 10:25 am

nagios_check_scs.pl perl script returns Unknown fatal error

Post by aenergy »

I am trying to get a Nagios core version 3.3.1 server to run the nagios_check_scs.pl perl script against some new Oracle Web Content servers. We currently use this same perl script to monitor some existing Web Content servers with no issues. However when the script runs against the new servers it returns "Unknown fatal error". I have checked the OS packages, Perl libraries and permissions and all are good. The Content server version is:
Version:11.1.1.9.0PSU-2016-03-27 17:16:31Z-r141595 (Build:7.3.5.185)

Nagios Core version is 3.3.1 but I get the same error on a newer Nagios Core 4.x server.

Any ideas on what to check next? Running out of ideas.

thanks,

Tony
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: nagios_check_scs.pl perl script returns Unknown fatal er

Post by rkennedy »

Please show us the full command / definition that you're attempting to run.

Is there anything different between the new oracle servers vs the old ones? Versions?
Former Nagios Employee
aenergy
Posts: 11
Joined: Wed Jan 21, 2015 10:25 am

Re: nagios_check_scs.pl perl script returns Unknown fatal er

Post by aenergy »

The servers that do work use version:
Version:11gR1-11.1.1.6.0-idcprod1-140611T131754 (Build:7.3.3.183)

The one that doesn't uses version:
Version:11.1.1.9.0PSU-2016-03-27 17:16:31Z-r141595 (Build:7.3.5.185)

There is a minor version difference.

The command I'm running is this:
perl /usr/lib/nagios/user-plugins/nagios_check_scs.pl --cgiroot=http://wccrmq2.alliant-energy.com:16200/cs/idcplg
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: nagios_check_scs.pl perl script returns Unknown fatal er

Post by rkennedy »

Did you enable the components? I was able to find this link online that has a walk through for what's needed - http://winmiden.blogspot.com/2012/04/or ... ation.html

I don't have an Oracle machine here locally so it's a bit difficult to test with.
Former Nagios Employee
aenergy
Posts: 11
Joined: Wed Jan 21, 2015 10:25 am

Re: nagios_check_scs.pl perl script returns Unknown fatal er

Post by aenergy »

Been through that doc dozens of times. Still no luck. Also went through the readme file from the WebContent server related to the script and no luck.
User avatar
mcapra
Posts: 3739
Joined: Thu May 05, 2016 3:54 pm

Re: nagios_check_scs.pl perl script returns Unknown fatal er

Post by mcapra »

As discussed internally, we will be moving this to a ticket.
Former Nagios employee
https://www.mcapra.com/
Locked