Critical alert issue

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
manimurugesan
Posts: 145
Joined: Wed Oct 03, 2018 9:15 am

Critical alert issue

Post 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 ?
Last edited by manimurugesan on Fri Jan 25, 2019 12:46 pm, edited 1 time in total.
npolovenko
Support Tech
Posts: 3457
Joined: Mon May 15, 2017 5:00 pm

Re: After upgrdation Critical alert issue

Post 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
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
manimurugesan
Posts: 145
Joined: Wed Oct 03, 2018 9:15 am

Re: After upgrdation Critical alert issue

Post by manimurugesan »

Hello npolovenko,

Can you please share me the procedure to install the certificate ?
npolovenko
Support Tech
Posts: 3457
Joined: Mon May 15, 2017 5:00 pm

Re: After upgrdation Critical alert issue

Post 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.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
manimurugesan
Posts: 145
Joined: Wed Oct 03, 2018 9:15 am

Re: After upgrdation Critical alert issue

Post 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 ?
npolovenko
Support Tech
Posts: 3457
Joined: Mon May 15, 2017 5:00 pm

Re: After upgrdation Critical alert issue

Post 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
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
npolovenko
Support Tech
Posts: 3457
Joined: Mon May 15, 2017 5:00 pm

Re: After upgrdation Critical alert issue

Post 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
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
manimurugesan
Posts: 145
Joined: Wed Oct 03, 2018 9:15 am

Re: After upgrdation Critical alert issue

Post by manimurugesan »

Hello ,

We have tried but issue is still persist

Please let me know to resolve this issue can we get remote session?
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: After upgrdation Critical alert issue

Post 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
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
User avatar
WillemDH
Posts: 2320
Joined: Wed Mar 20, 2013 5:49 am
Location: Ghent
Contact:

Re: After upgrdation Critical alert issue

Post 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
Nagios XI 5.8.1
https://outsideit.net
Locked