Service Check Timed Out (check_as400)

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
cikoski
Posts: 13
Joined: Wed Sep 19, 2012 1:55 am

Service Check Timed Out (check_as400)

Post by cikoski »

Hello everybody,

i'm trying to monitor my AS400 host, i installed the plugin http://exchange.nagios.org/directory/Pl ... 00/details but when i try to make the plugin working with the SSH it works but the service doesn't stop and the WebUI reminds me the error Service Check Timed Out.

I tried to make the service_check_timeout=60 longer and shorter and it doesn't change nothing.

Can anyone help me?

Thank you

Ciko
You do not have the required permissions to view the files attached to this post.
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Service Check Timed Out (check_as400)

Post by abrist »

Can you try running the check from the cli as user 'nagios'?
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
cikoski
Posts: 13
Joined: Wed Sep 19, 2012 1:55 am

Re: Service Check Timed Out (check_as400)

Post by cikoski »

abrist wrote:Can you try running the check from the cli as user 'nagios'?
Thank you,
i tried and it's the same of root user, the check is working but itsn't stopping and i have to presse CTRL + C for return in imput mode in the cli.

Ciko
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Service Check Timed Out (check_as400)

Post by abrist »

I would presume that the check is not exiting correctly (or at all). Do you have this check successfully deployed for any other AS400s?
What OS version is yours running?
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Service Check Timed Out (check_as400)

Post by slansing »

Okay, so it seems like it is never exiting, this could be a fairly simple fix. It sounds like the developer of the plugin does respond to emails fairly quickly, I suggest you use his contact information from the plugin/exchange page.
cikoski
Posts: 13
Joined: Wed Sep 19, 2012 1:55 am

Re: Service Check Timed Out (check_as400)

Post by cikoski »

slansing wrote:Okay, so it seems like it is never exiting, this could be a fairly simple fix. It sounds like the developer of the plugin does respond to emails fairly quickly, I suggest you use his contact information from the plugin/exchange page.
abrist wrote:I would presume that the check is not exiting correctly (or at all). Do you have this check successfully deployed for any other AS400s?
What OS version is yours running?
Thank you!

I send a mail to the developer of the plugin.

It's my first time i install the plugin in an AS400 host..

Ciko
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Service Check Timed Out (check_as400)

Post by abrist »

It you do not hear back from the plugin developer in a timely fashion, let us know and we will lok into the plugin. We do not have any as400s in the office here, so we will only be able to do so much.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
cikoski
Posts: 13
Joined: Wed Sep 19, 2012 1:55 am

Re: Service Check Timed Out (check_as400)

Post by cikoski »

abrist wrote:It you do not hear back from the plugin developer in a timely fashion, let us know and we will lok into the plugin. We do not have any as400s in the office here, so we will only be able to do so much.
Thank you for the reply, the developer tell me:"
what is your system language setting,
if not English, you need recompile your LANG
(1).copy Lang Source/check_as400_langxxx to ../check_as400_lang.java
(2).Re compile. javac check_as400_lang.java"

But i check my language and it's still in English..

I think the problem it's that the service of the plugin isn't stopping because in the cli it's work but it don't return in the input mode and in the webUI it reply to me Service Check Timed Out like it's never stopping..

Anyone say how to fix it?

Thank you very much!
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Service Check Timed Out (check_as400)

Post by slansing »

Yes, as abrist and I both said, that is the case, the plugin is never exiting. I suggest you email the developer back and let him know you are running under English.. he probably has more things for you to try than just looking at language settings.
netexpertise
Posts: 1
Joined: Thu Jan 28, 2016 9:07 am
Location: France
Contact:

Re: Service Check Timed Out (check_as400)

Post by netexpertise »

Hi,

I had the same timeout error message in Nagios with this plugin.
if you run the same command with -d for debug, it says it is waiting for token System to log out from the iSeries

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

Recompile: javac check_as400.java and reinstall
It did work for me on a AS400 machine with a foreign language

David
Locked