How can i solve ... (Send Data to TCP Port)

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
vieceev
Posts: 9
Joined: Thu May 03, 2007 3:12 am

How can i solve ... (Send Data to TCP Port)

Post by vieceev »

Hi,
i use a watchdog with alarmlight.

Problem:
1st error occures - the light goes on [bad status]
2nd error occures - the light goes on [bad status] (it is on from the error before)
the 1st error was fixed - the light goes off [good status]

BUT!! - one error is existing, so the light should be on.

Do you have any idea ?

Rgds
Erich
KS-Soft Europe
Posts: 2832
Joined: Tue May 16, 2006 4:41 am
Contact:

Post by KS-Soft Europe »

Could you provide more information, please?
- What version of HostMonitor do you use?
- What exact test method you are trying to setup? TCP test?
- What exact settings do you use for the test?
- Could you explain your testing configuration, I do not understand clear what result are you trying to achieve?

Regards,
Max
vieceev
Posts: 9
Joined: Thu May 03, 2007 3:12 am

Post by vieceev »

KS-Soft Europe wrote:Could you provide more information, please?
- What version of HostMonitor do you use?
- What exact test method you are trying to setup? TCP test?
- What exact settings do you use for the test?
- Could you explain your testing configuration, I do not understand clear what result are you trying to achieve?

Regards,
Max
Version: 6.80
OK - oncemore: e.g. you have 3 ping devices on each ping device there is an action like --> light on (Snd data to TCP/UDP port - TCP / Port 10001 / String: !O31)

If device ONE fails - the light goes on
If this device is reachable - the light goes off (Snd data to TCP/UDP port - TCP / Port 10001 / String: !O30)

Thats fine ! Now the problem:

eg. 2:20
Device ONE fails
Device TWO fails

now both devices snd the action for LIGHT ON

eg. 2:21
Device ONE is reachable -> snd action for LIGHT OFF

but the DEVICE TWO is´nt avialbe - and the light should be ON, but the device ONE has snt the LIGHT OFF string.

Now we dont see any error - but the Device TWO is still down !

Hope you understand my situation
Erich
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

Do you need to start "bad" action (light on) when ANY device does not respond and you want to start "good" action when ALL devices respond to ping (light off)?
Then you should use "advanced mode" action with expression like
('%::TestA::SimpleStatus%'=='UP') and ('%::TestB::SimpleStatus%'=='UP') and ('%::TestC::SimpleStatus%'=='UP') and (Recurrences=1)
You may use "standard" mode for "bad" action.

http://www.ks-soft.net/hostmon.eng/mfra ... ncedaction

Regards
Alex
vieceev
Posts: 9
Joined: Thu May 03, 2007 3:12 am

Post by vieceev »

KS-Soft wrote:Do you need to start "bad" action (light on) when ANY device does not respond and you want to start "good" action when ALL devices respond to ping (light off)?
Then you should use "advanced mode" action with expression like
('%::TestA::SimpleStatus%'=='UP') and ('%::TestB::SimpleStatus%'=='UP') and ('%::TestC::SimpleStatus%'=='UP') and (Recurrences=1)
You may use "standard" mode for "bad" action.

http://www.ks-soft.net/hostmon.eng/mfra ... ncedaction

Regards
Alex
Hi Alex,

sure good solution, but i need it apx. for 200 devices ...
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

Then move all these test items into some folder and use folder-related variables
www.ks-soft.net/hostmon.eng/mframe.htm# ... oldermacro
E.g. (%FolderCurrent_BadTests%==0) and (Recurrences=1)

Regards
Alex
Post Reply