× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



I realized that I hadn't changed over my Nagios client to point to the JS12 blade so I made the IP change and setup the Nagios user ID and password on the JS12 but it appeared that the Nagios client wasn't connecting.

I pulled the java code over to my development laptop and took a look at the code. As far as I can tell, everything looks OK. Nagios uses a socket connection to the telnet port and then parses out the data to determine that the signon screen has been received and then issues the user ID and password and begins sending commands and parsing returned screens for data. Pretty simple.

I fired up a debug session and it looks like the socket call to open the socket returns OK, so there isn't a network issue. But as it begins to receive the screen contents using a BufferedReader a character at a time, it just stops at about 6 characters and then waits. Since it is just a read loop until the buffer is empty, I am a little baffled why the loop hangs.

Originally I thought this was just a network firewall issue with the JS12 but since I got something in the buffer returned from the socket connection to the telnet port, I am guessing that network isn't the issue. Has the 5250 data stream changed at all? Or the screen formatting? If I point the IP back to my 270, it connects and returns all the data. If I point it to the JS12, I get a few characters of data and then nothing. Specifically I receive integer representations of the chars coming back: 255, 253, 39, 255, 253, 24 and then nothing. On the 270 I get the same set of chars but then it continues with 27, 91, 63, 51 and so on.

There was one mention of telnet in the V6R1M0 memo to users but it had to do with IPV6 clients, which I am not using. I found APAR MF45467 which I may try to download and apply although the circumvention mentioned didn't work.

Ideas?

Thanks

Pete

As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.