Critical alert issue

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
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 »

WillemDH wrote:I don't know anything of as400, but did you try running the plugin with debug switch?
Also worth noting once you get the plugin uploaded
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
manimurugesan
Posts: 145
Joined: Wed Oct 03, 2018 9:15 am

Re: After upgrdation Critical alert issue

Post by manimurugesan »

Hello,

PFB installion steps i have installed but still it's showing same error i.e 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



[root@ as400NagiosPlugin]# ./install.sh
Nagios Check_AS400 Plugin Installation Script

Please type the full path to nagios directory (ex. /usr/local/nagios): /usr/local/nagios
Please type the full path to your java executable (ex. /usr/bin/java): /usr/bin/java

Detected nagios user as 'nagios' and the group as 'nagios'...
Generating check_as400 script based on your paths...
Installing java classes...
Installing check script...
Setting permissions...

Install Complete!

!!!!! Be sure and modify your /usr/local/nagios/libexec/.as400
!!!!! with the correct user and password.

Also add the contents of the checkcommands.example file
into your /etc/checkcommands.cfg

While installing plugin i am not able give the libexec directoru , i tried but i am getting below error

ERROR: Your /usr/local/nagios/libexec/etc/nagios.cfg file does not seem to exist!
npolovenko
Support Tech
Posts: 3457
Joined: Mon May 15, 2017 5:00 pm

Re: Critical alert issue

Post by npolovenko »

@manimurugesan, Keep us updated.
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: Critical alert issue

Post by manimurugesan »

Hello,
please tell me the next step,
you told me to install the plugin then certificate also will install but still it's showing SSl error only
npolovenko
Support Tech
Posts: 3457
Joined: Mon May 15, 2017 5:00 pm

Re: Critical alert issue

Post by npolovenko »

@manimurugesan, Can you try the recommendation from this thread here? Export the ssl cert from the as400 server and import it to the cacerts file on the XI server.
https://stackoverflow.com/questions/665 ... tion-error
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: Critical alert issue

Post by manimurugesan »

Hello
I am checking and i will get back to you soon
npolovenko
Support Tech
Posts: 3457
Joined: Mon May 15, 2017 5:00 pm

Re: Critical alert issue

Post by npolovenko »

@manimurugesan, Sounds good.
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: Critical alert issue

Post by manimurugesan »

hello ,

Can you confirm the below ?

FIrst we have to Export the ssl cert from the as400 server and then import it to the cacerts file on the XI server.
Then we have to follow the below link
https://stackoverflow.com/questions/665 ... tion-error

it is correct ?
npolovenko
Support Tech
Posts: 3457
Joined: Mon May 15, 2017 5:00 pm

Re: Critical alert issue

Post by npolovenko »

@manimurugesan, Here is how I understand it. Once you export the ssl cert from the as400 server and copy it over to the XI server, you can import it to the cacerts file on the XI server with the following command:
keytool -import -file <the cert file> -alias <some meaningful name> -keystore <path to cacerts file>
You need to specify the correct cacerts file path in the command.

I also suggest opening an issue on the plugin authors github page:
https://github.com/cjt74392/check_as400/issues/new
Perhaps he can provide us with a better solution.
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: Critical alert issue

Post by manimurugesan »

Hello,

I got the certificate file's from server end but those file format's are .pfx .

can you please tell me how to extract and how to import the certificate file to nagiosxi server
Locked