RCC - connection error

All questions related to installations, configurations and maintenance of Advanced Host Monitor (including additional tools such as RMA for Windows, RMA Manager, Web Servie, RCC).
Post Reply
skuumm
Posts: 5
Joined: Thu Apr 30, 2015 5:30 am

RCC - connection error

Post by skuumm »

Hi,

We are running AHM 9.90 with RCC and RMA clients version 4.90

we are having trouble with tests getting stocked in "unknown state" - reply "RMA - 301..." - result ~1000 mails :(

I have tried to restart the RMA service, Hostmonitor service - with no change... restart og

RMA BAD LOG:

[17-07-2015 01:22] ORS-01srv032-v2 Decode error: Cannot read data. An existing connection was forcibly closed by the remote host.
[17-07-2015 01:22] ORS-01srv032-v2 Connection error
[17-07-2015 01:23] ORS-01srv032-v2 Connection error
[17-07-2015 01:41] ORS-01srv032-v2 Decode error: Cannot read data. An existing connection was forcibly closed by the remote host.
[17-07-2015 01:41] ORS-01srv032-v2 Connection error
[17-07-2015 01:42] ORS-01srv032-v2 Connection error
[17-07-2015 01:42] ORS-01srv032-v2 Connection error
[17-07-2015 01:43] ORS-01srv032-v2 Connection error
[17-07-2015 01:48] ORS-01srv032-v2 Request timed out
[17-07-2015 01:48] ORS-01srv032-v2 Request timed out
[17-07-2015 01:48] ORS-01srv032-v2 Request timed out
[17-07-2015 01:48] ORS-01srv032-v2 Decode error: Cannot read data. An existing connection was forcibly closed by the remote host.
[17-07-2015 01:48] ORS-01srv032-v2 Connection error
[22-07-2015 07:13] ORS-01srv032-v2 Connection error
[22-07-2015 07:14] ORS-01srv032-v2 Connection error
[22-07-2015 07:14] ORS-01srv032-v2 Connection error
[22-07-2015 07:15] ORS-01srv032-v2 Connection error
<SERVICE RESTART>
[22-07-2015 07:20] ORS-01srv032-v2 Connection error
<SERVICE RESTART>
[22-07-2015 07:22] ORS-01srv032-v2 Decode error: Cannot read data
[22-07-2015 07:22] ORS-01srv032-v2 Connection error
[22-07-2015 07:22] ORS-01srv032-v2 Connection error
<SERVICE RESTART>
[22-07-2015 07:23] ORS-01srv032-v2 Connection error
[22-07-2015 07:24] ORS-01srv032-v2 Connection error
[22-07-2015 07:24] ORS-01srv032-v2 Connection error

<SERVICE RESTART>
[22-07-2015 07:25] ORS-01srv032-v2 Connection error
[22-07-2015 07:25] ORS-01srv032-v2 Connection error
<SERVER RESTART>
[22-07-2015 07:36] ORS-01srv032-v2 Agent "ORS-01srv032-v2" already connected!

Where should I start debugging ?
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

May be RMA 4.88?
Active RMA?

Please check connection settings on HostMonitor and RMA site (IP address/hostname, port number, firewall settings). May be IP or hostname of HostMonitor system was changed; may be firewall settings were changed..
May be you allowed connections from specific IP addresses and IP address of RMA system was changed.
Also check if HostMonitor can open port for listening and check HostMonitor log for errors (you may use menu View->Auditing Tool and View->Active RMA status)
we are having trouble with tests getting stocked in "unknown state" - reply "RMA - 301..." - result ~1000 mails
Normally if you have many test items depending on single connection, you setup 1 additional Master test that will check this connection. Then just 1 action profile will be triggered.
Quote
----------------
How to check status of the agent

When you use single agent to perform various tests, you may want to setup Master test to check agent status. In such case HostMonitor may send single alert informing you about disconnected agent and hold dependant test items (so you will receive single alert instead of hundred warnings for all tests performed by this agent).
What test can you use as Master test?

- Passive RMA: It's pretty easy to check Passive RMA status when you do not use Backup RMA. You may use TCP test to check is RMA receives connections on specified TCP port or use Ping test performed by the agent to check localhost (127.0.0.1). Such Ping test will always return "Host is alive" status when successfully authenticated connection to the agent can be established.
If there is backup agent in use, you may setup Ping test performed by Passive RMA using rma itself string as target host name. In such case HostMonitor will check agent status without using backup agent even if such backup agent was specified for selected RMA

- Active RMA: Things a little more tricky when you need to check Active RMA status. Yes, you may setup the same "Ping localhost" test to check agent status. However this may lead to some delay in reaction as HostMonitor will not perform test if agent was connected but lost connection just a moment ago. HostMonitor may wait up to several minutes for new connection before changing test status to "Unknown". Dependant test items will be delayed as well so such delay is not a big problem, you will not receive a lot of alerts. However if for some reason you need to receive alert immediately, there is solution: setup Ping test using Active RMA and type rma itself string instead of localhost or target host name. In such case HostMonitor will display agent status immediately. HostMonitor will not use backup agent (if any) when specified agent is not connected; also HostMonitor will not wait for agent re-connection.

Regards
Alex
Post Reply