Service Check Timed Out (check_as400)

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
falsuyet
Posts: 4
Joined: Thu May 12, 2016 1:57 pm

Service Check Timed Out (check_as400)

Post by falsuyet »

Moderator Edit: This thread has been split from another - https://support.nagios.com/forum/viewto ... 1&start=10
In the future, please create a new thread and link to the old one instead of adding on.


Hi All;

i new on this forum, I am having problem with the Check_as400. when i try to verify the LOGIN check to AS400 server, the process stop processing waiting for a taken from the system.

the debug information is:
Logging in...
waiting for screen...
waiting for token IBM CORP...
token received.
sending login information for nagios...
waiting for login to process...
waiting for token ===>...

please, can someone help on this?

thanks in advance.

regards

Fernando
Last edited by scottwilkerson on Tue May 31, 2016 9:34 am, edited 2 times in total.
Reason: split thread
bwallace
Posts: 1145
Joined: Tue Nov 17, 2015 1:57 pm

Re: Service Check Timed Out (check_as400)

Post by bwallace »

Refer to the post from 'netexpertise' on this thread:
https://support.nagios.com/forum/viewto ... =6&t=25501

--will their solution work for you?
Be sure to check out the Knowledgebase for helpful articles and solutions!
falsuyet
Posts: 4
Joined: Thu May 12, 2016 1:57 pm

Re: Service Check Timed Out (check_as400)

Post by falsuyet »

Hi bewallace;

I performed the change that is described on that poast, but the problem still happend.


This change is to be applied into the Logout process, but the problem that i have is during the login process. Apparently is waiting for some repsond after the login into the AS400

Logout process solution :
I resolved by editing check_as400.java
In the logout function, uncomment
waitReceive(";53H",NONE);
and comment out
waitReceive(LANG.LOGIN_SCREEN,NONE);
There are 2 of them

Thanks

regards
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: Service Check Timed Out (check_as400)

Post by tgriep »

Can you run the check from the command line with the -D "debug" set and post the output?
Be sure to check out our Knowledgebase for helpful articles and solutions!
bwallace
Posts: 1145
Joined: Tue Nov 17, 2015 1:57 pm

Re: Service Check Timed Out (check_as400)

Post by bwallace »

Also, by any chance is the username longer than 10 characters and are you using an older version of the plugin? See the Notes in the change log here
https://exchange.nagios.org/directory/P ... 00/details
Be sure to check out the Knowledgebase for helpful articles and solutions!
falsuyet
Posts: 4
Joined: Thu May 12, 2016 1:57 pm

Re: Service Check Timed Out (check_as400)

Post by falsuyet »

Hi ;

I tried again with the newest pluging check_as400 1.4.3 version and changed the logout procedure, but the problem still happens.

testing the check with debug, the result is:

Establishing connection to server...done.
Logging in...
waiting for screen...
waiting for token IBM CORP...
token received.
sending login information for nagios...
waiting for login to process...
waiting for token ===>...

the user has 5 characters and the password has 8 characters.

Apparently the problem is on login procedure.

I really appreciate if someone can help me on this.

Thanks

regards.

Fernando
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: Service Check Timed Out (check_as400)

Post by Box293 »

I would contact the author of the plugin to request help. We don't have any AS400 systems to test with and seeing as the plugin is on GitHub and was updated this year, it's most likely you'll get the right help from them.

https://github.com/cjt74392/check_as400
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
falsuyet
Posts: 4
Joined: Thu May 12, 2016 1:57 pm

Re: Service Check Timed Out (check_as400)

Post by falsuyet »

OK,

i will expecting for the answer.

thanks for your help.

regards

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

Re: Service Check Timed Out (check_as400)

Post by rkennedy »

No problem - I'll leave this open on our end, let us know if you have any further questions about the plugin, or if you hear anything!
Former Nagios Employee
Locked