Page 2 of 3

Re: After upgrdation Critical alert issue

Posted: Thu Jan 17, 2019 1:31 pm
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

Re: After upgrdation Critical alert issue

Posted: Fri Jan 25, 2019 12:44 pm
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!

Re: Critical alert issue

Posted: Fri Jan 25, 2019 4:56 pm
by npolovenko
@manimurugesan, Keep us updated.

Re: Critical alert issue

Posted: Sat Jan 26, 2019 1:32 pm
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

Re: Critical alert issue

Posted: Mon Jan 28, 2019 4:09 pm
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

Re: Critical alert issue

Posted: Tue Jan 29, 2019 10:44 am
by manimurugesan
Hello
I am checking and i will get back to you soon

Re: Critical alert issue

Posted: Wed Jan 30, 2019 4:32 pm
by npolovenko
@manimurugesan, Sounds good.

Re: Critical alert issue

Posted: Fri Feb 08, 2019 9:23 am
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 ?

Re: Critical alert issue

Posted: Fri Feb 08, 2019 12:19 pm
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.

Re: Critical alert issue

Posted: Mon Feb 25, 2019 3:09 pm
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