Page 1 of 3

Critical alert issue

Posted: Wed Jan 02, 2019 12:26 pm
by manimurugesan
Hello Team,

We are monitoring "as400" servers but In older version i.e. Nagios XI 5.4.12 all the services working fine . but recently we have upgraded the server to Nagios XI 5.5.5 after that services started showing critical alert

In both the servers we are monitoring through check_as400 plugin but In new version only it's showing alert

Please find the below alert which is showing in nagiosxi

CRITICAL: Network error:javax.net.ssl.SSLException: Connection has been shutdown: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable


Could you please help us to resolve this issue ?

Re: After upgrdation Critical alert issue

Posted: Wed Jan 02, 2019 1:29 pm
by npolovenko
@manimurugesan, This looks like a certificate issue. Make sure you do this:
Install Note
-----------------
Must add CE to JAVA, EX:
keytool -import -trustcacerts -keystore /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.85.x86_64/jre/lib/security/cacerts -storepass changeit -noprompt -alias xxxx_ce -file /xx/xxx/XXXX.cer
https://exchange.nagios.org/directory/P ... 00/details

Re: After upgrdation Critical alert issue

Posted: Thu Jan 03, 2019 11:45 am
by manimurugesan
Hello npolovenko,

Can you please share me the procedure to install the certificate ?

Re: After upgrdation Critical alert issue

Posted: Thu Jan 03, 2019 4:03 pm
by npolovenko
@manimurugesan, First, let's check the permissions on the plugin:
ls -l /usr/local/nagios/libexec/check_as400*
It looks like reinstalling the plugin should take care of certificates. I suggest downloading the latest version of the check_as400 plugin from https://exchange.nagios.org/directory/P ... 00/details and reinstalling it on the server. The installation instruction is in the ReadMe file inside the archive.

Re: After upgrdation Critical alert issue

Posted: Tue Jan 08, 2019 1:11 pm
by manimurugesan
Hello ,

I have installed new plugin
while installing new plugin I am not able to give the /usr/local/nagios/libexec folder, I given the default folder which showing in automatically
But still issue not resolved .

Could you please clarify this ?

Re: After upgrdation Critical alert issue

Posted: Tue Jan 08, 2019 5:20 pm
by npolovenko
@manimurugesan, /usr/local/nagios/libexec is the default folder. I downloaded the latest version of the plugin from the github page:
https://github.com/cjt74392/check_as400
Followed the installation entering paths to my nagios.cfg file and to the java binary.

I can run the plugin with no errors.
[root@centos7x64 libexec]# ./check_as400 -V
Check_as400 Version: 1.4.6
With that said, I don't have an as400 server in the lab so I can't run any commands and fully test the functionality.

My further recommendation is to either reinstall the Java on your server or open an issue on the plugin authors git hub page:
https://github.com/cjt74392/check_as400/issues/new

Re: After upgrdation Critical alert issue

Posted: Tue Jan 08, 2019 5:20 pm
by npolovenko
@manimurugesan, /usr/local/nagios/libexec is the default folder. I downloaded the latest version of the plugin from the github page:
https://github.com/cjt74392/check_as400
Followed the installation entering paths to my nagios.cfg file and to the java binary.

I can run the plugin with no errors.
[root@centos7x64 libexec]# ./check_as400 -V
Check_as400 Version: 1.4.6
With that said, I don't have an as400 server in the lab so I can't run any commands and fully test the functionality.

My further recommendation is to either reinstall the Java on your server or open an issue on the plugin authors git hub page:
https://github.com/cjt74392/check_as400/issues/new

Re: After upgrdation Critical alert issue

Posted: Mon Jan 14, 2019 1:28 pm
by manimurugesan
Hello ,

We have tried but issue is still persist

Please let me know to resolve this issue can we get remote session?

Re: After upgrdation Critical alert issue

Posted: Mon Jan 14, 2019 4:40 pm
by scottwilkerson
manimurugesan wrote:Hello ,

I have installed new plugin
while installing new plugin I am not able to give the /usr/local/nagios/libexec folder, I given the default folder which showing in automatically
But still issue not resolved .
What do you mean by this?

Did you follow this guide for adding plugins to Nagios XI?
https://assets.nagios.com/downloads/nag ... ios-XI.pdf

If so it will automatically be placed in /usr/local/nagios/libexec which is the default folder

Re: After upgrdation Critical alert issue

Posted: Thu Jan 17, 2019 1:12 pm
by WillemDH
Hello,

I don't know anything of as400, but did you try running the plugin with debug switch?

In https://github.com/cjt74392/check_as400 ... as400.java :

Code: Select all

System.out.println("-d\n   Be verbose (debug)\n       NOTE: Needs to be one of the first arguments to work");
Grtz

Willem