Page 1 of 1

Service Check Timed Out (check_as400)

Posted: Mon May 23, 2016 12:09 pm
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

Re: Service Check Timed Out (check_as400)

Posted: Mon May 23, 2016 2:53 pm
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?

Re: Service Check Timed Out (check_as400)

Posted: Thu May 26, 2016 8:51 am
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

Re: Service Check Timed Out (check_as400)

Posted: Thu May 26, 2016 5:05 pm
by tgriep
Can you run the check from the command line with the -D "debug" set and post the output?

Re: Service Check Timed Out (check_as400)

Posted: Thu May 26, 2016 5:06 pm
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

Re: Service Check Timed Out (check_as400)

Posted: Mon May 30, 2016 12:53 pm
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

Re: Service Check Timed Out (check_as400)

Posted: Mon May 30, 2016 11:20 pm
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

Re: Service Check Timed Out (check_as400)

Posted: Tue May 31, 2016 7:57 am
by falsuyet
OK,

i will expecting for the answer.

thanks for your help.

regards

Fernando

Re: Service Check Timed Out (check_as400)

Posted: Tue May 31, 2016 10:13 am
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!