KS-Soft. Network Management Solutions
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister    ProfileProfile    Log inLog in 

Errors after RMA Agents Connection Lost

 
Post new topic   Reply to topic    KS-Soft Forum Index -> Configuration, Maintenance, Troubleshooting
View previous topic :: View next topic  
Author Message
itelio



Joined: 06 Nov 2014
Posts: 27

PostPosted: Wed May 03, 2017 12:44 am    Post subject: Errors after RMA Agents Connection Lost Reply with quote

Hello

We had a connection loss to all remote agents
When the connection was rebuilt and all tests sent an email, the transmission channel was closed
How can we avoid sending an e-mail when RMA is not connected so that the transmission channel is not overloaded?
The other errors are consequential errors. Only a service restart allows for mails again.

Is it possible to reduce the connections sent to the transmission channel?

Can it be avoided that "RMA Not Connected" sends an e-mail for every Test?


We have Version 10.30 running on a Windows Server 2008R2 VM.
http://imgur.com/a/wiSKN


Errors that occured.
Screenshot: http://imgur.com/a/HM02g

=====

I have the following additional information:
We have 3337 Reviews If everyone wants to send a mail it is clear that the connection is too.
We have activated the system logging as described in the screenshot.

Http://imgur.com/a/xAh0c

Is this the correct Logfile for System Errors as SMTP Problems?

Thanks in advance
Back to top
View user's profile Send private message
KS-Soft



Joined: 03 Apr 2002
Posts: 11761
Location: USA

PostPosted: Wed May 03, 2017 4:43 am    Post subject: Reply with quote

If you have unreliable network connection on HostMonitor system, use master test to check connection
http://www.ks-soft.net/hostmon.eng/mframe.htm#tests.htm#Master

If RMA agents perform many tests, then you may add master test for each agent as well.
Quote from the manual
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.


So you may setup tests like
Master0 (checks HostMontior system LAN status)
- MasterA (checks AgentA, depends on Master0)
- - test-A1 (performed by AgentA, depends on MasterA)
- - test-A2 (performed by AgentA, depends on MasterA)
- - test-A9 (performed by AgentA, depends on MasterA)
- MasterB (checks AgenBA, depends on Master0)
- - test-B1 (performed by AgentB, depends on MasterB)
- - test-B2 (performed by AgentB, depends on MasterB)
- - test-B9 (performed by AgentB, depends on MasterB)

Quote:
The other errors are consequential errors. Only a service restart allows for mails again

Why exactly mail cannot be sent? What error do you see in HostMonitor system log?
Any errors detected by Auditing Tool (menu View)?

Quote:
Is it possible to reduce the connections sent to the transmission channel?

Sorry, I do not understand what means "reduce the connections sent to the transmission".
Do you mean "start less Send E-mail actions assigned to the tests"?

Quote:
Can it be avoided that "RMA Not Connected" sends an e-mail for every Test?

Its up to you, you setup tests and actions.
E.g. if you want to ignore all "Unknown" statuses, unmark "Treat Unknown status as Bad" option (Test Properties dialog).
But I think its better to receive some alert when agent is not accessible. You may assign different alert profiles to Master tests and "normal" tests.

Quote:
We have 3337 Reviews If everyone wants to send a mail it is clear that the connection is too.

Sorry, I do not understand what this means

Regards
Alex
Back to top
View user's profile Send private message Send e-mail Visit poster's website
itelio



Joined: 06 Nov 2014
Posts: 27

PostPosted: Wed May 03, 2017 6:06 am    Post subject: re Reply with quote

Hi Alex,

With the master test sounds really good.
Can you explain to me step by step how to implement this for an agent? The guide confuses me.

- the Description "ping localhost" then tests the server on which the remote agent is located or my local monitoring server?
If the ping test "tests" the remote agent itself, i can set it before all other tests.

I have already set up dependencies which the tests only run when the ping test on the remoteserver is successful.
But when the remote agent is unavailable, this seems to be different from the normal tests.


Regards
itelio
Back to top
View user's profile Send private message
KS-Soft



Joined: 03 Apr 2002
Posts: 11761
Location: USA

PostPosted: Wed May 03, 2017 7:17 am    Post subject: Reply with quote

1) Tool bar: Add->Ping test
2) Test properties dialog: Test by: select agent
3) Test properties dialog: Address: 127.0.0.1
4) Assign some actions, Save test

4) Select all tests performed by this agent, click Edit
5) Make sure "Synchronize status&alerts" option unmarked for these tests
6) Click "add master test" button, select test created by steps 1-4
7) Keep default "perform test when master test has alive status" condition to start
8. Click Ok and Ok to close dialogs and apply changes

Also you may check "Consider status of the master test obsolete after N seconds" option (Behavior page in Options dialog)

Regards
Alex
Back to top
View user's profile Send private message Send e-mail Visit poster's website
itelio



Joined: 06 Nov 2014
Posts: 27

PostPosted: Wed May 03, 2017 8:59 am    Post subject: re Reply with quote

Hi Alex

much thanks for the recommendations.

I have configured this and we will see the result.

Thanks for your assistance

Have a nice day!

Best Regards
Back to top
View user's profile Send private message
KS-Soft



Joined: 03 Apr 2002
Posts: 11761
Location: USA

PostPosted: Wed May 03, 2017 11:38 am    Post subject: Reply with quote

You are welcome

Regards
Alex
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    KS-Soft Forum Index -> Configuration, Maintenance, Troubleshooting All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

KS-Soft Forum Index