I have started working as a system engineer for a company which uses hostmon to test about 250 servers (various tests). A lot of servers are clustered and i would like to know if ité possible to implement clustered ping tests. One test which pings more servers and sets status bad (action)when all or more then one server doesn't reply .
Regards, Gerhard
Clustered Ping Tests
@Gerhard:
A question:
What is the thing you really want to test ?
- All Cluster nodes are running ?
- - Then test each Cluster node i.e. with a ping
Or is it that you'd like to see if all your applications are working fine (no matter on wich Cluster Node).
- Then create one or more tests that tells you if the application is working.
Best regards
Juergen
A question:
What is the thing you really want to test ?
- All Cluster nodes are running ?
- - Then test each Cluster node i.e. with a ping
Or is it that you'd like to see if all your applications are working fine (no matter on wich Cluster Node).
- Then create one or more tests that tells you if the application is working.
Best regards
Juergen
Clustered Ping Tests
Juergen,
I wanted to have a ping test which warns me when 2/3 servers in the cluster become unavailable. Since these servers are used as contingency servers we do not want a warning when one server is down, because we have several servers and there is no problem when only one server is down.
Best regards,
Gerhard
PS: sorry for the late reply
I wanted to have a ping test which warns me when 2/3 servers in the cluster become unavailable. Since these servers are used as contingency servers we do not want a warning when one server is down, because we have several servers and there is no problem when only one server is down.
Best regards,
Gerhard
PS: sorry for the late reply
-
- Posts: 2832
- Joined: Tue May 16, 2006 4:41 am
- Contact:
Gerhard,
I think, you may use "Advanced mode" actions in such case. http://www.ks-soft.net/hostmon.eng/mfra ... ncedaction
For instance, if you have 3 servers in the cluster, and want to be warned when 2 servers are unavailable, you should setup ping test to ping each server (3 ping tests). Then you should create advanced mode action with following condition: and assign it to one of the ping tests.
On the another hand, you may use simplier conditions, and assign for ping test1 action with following condition:, for ping test2, action with following condition: and for the ping test3 :
In such case action will be triggered if two of three ping tests fail.
Regards,
Max
I think, you may use "Advanced mode" actions in such case. http://www.ks-soft.net/hostmon.eng/mfra ... ncedaction
For instance, if you have 3 servers in the cluster, and want to be warned when 2 servers are unavailable, you should setup ping test to ping each server (3 ping tests). Then you should create advanced mode action with following condition:
Code: Select all
(('%::PingServer1TestName::SimpleStatus%' == 'DOWN') AND ('%::PingServer2TestName::SimpleStatus%' == 'DOWN')) OR (('%::PingServer2TestName::SimpleStatus%' == 'DOWN') AND ('%::PingServer3TestName::SimpleStatus%' == 'DOWN')) OR (('%::PingServer1TestName::SimpleStatus%' == 'DOWN') AND ('%::PingServer3TestName::SimpleStatus%' == 'DOWN'))
On the another hand, you may use simplier conditions, and assign for ping test1 action with following condition:
Code: Select all
('%::PingServer2TestName::SimpleStatus%' == 'DOWN') AND ('%::PingServer3TestName::SimpleStatus%' == 'DOWN')
Code: Select all
(('%::PingServer1TestName::SimpleStatus%' == 'DOWN') AND ('%::PingServer3TestName::SimpleStatus%' == 'DOWN')
Code: Select all
('%::PingServer1TestName::SimpleStatus%' == 'DOWN') AND ('%::PingServer2TestName::SimpleStatus%' == 'DOWN')
Regards,
Max
Last edited by KS-Soft Europe on Mon Nov 20, 2006 1:48 pm, edited 1 time in total.
I just wanted to start writing an AutoIt Script to offer it to Gerhard ...
... but as nearly always the solution is already implemented in HostMonitor ...
... and the great support is showing us "rookies" how to do it.
By the way where can I read some information about the "new" supporter "KS-Soft Europe".
Max has emproved the response time to questions significantly - although it was excellent before
... but as nearly always the solution is already implemented in HostMonitor ...
... and the great support is showing us "rookies" how to do it.
By the way where can I read some information about the "new" supporter "KS-Soft Europe".
Max has emproved the response time to questions significantly - although it was excellent before

Last edited by JuergenF on Mon Nov 20, 2006 1:58 pm, edited 1 time in total.
1) I thought Gerhard wants to use SINGLE ping test to check several servers.
2) If Gerhard agrees to create several test items (one item for each server) in the same folder, I think he needs single alerts, not repeated alerts after each test probe for any server. In such case its better to use different expressions, like
(%FolderCurrent_BadTests%==2) and
((('%::PingServer1TestName::SimpleStatus%' == 'DOWN') and (%::PingServer1TestName::Recurrences% == 1)) or
((('%::PingServer2TestName::SimpleStatus%' == 'DOWN') and (%::PingServer2TestName::Recurrences% == 1)) or
((('%::PingServer3TestName::SimpleStatus%' == 'DOWN') and (%::PingServer3TestName::Recurrences% == 1)))
So Max helps to customers from Asia and Europe, while I work mostly for North and South America
Regards
Alex
This is impossible.One test which pings more servers and sets status bad (action)when all or more then one server doesn't reply
2) If Gerhard agrees to create several test items (one item for each server) in the same folder, I think he needs single alerts, not repeated alerts after each test probe for any server. In such case its better to use different expressions, like
(%FolderCurrent_BadTests%==2) and
((('%::PingServer1TestName::SimpleStatus%' == 'DOWN') and (%::PingServer1TestName::Recurrences% == 1)) or
((('%::PingServer2TestName::SimpleStatus%' == 'DOWN') and (%::PingServer2TestName::Recurrences% == 1)) or
((('%::PingServer3TestName::SimpleStatus%' == 'DOWN') and (%::PingServer3TestName::Recurrences% == 1)))
Thats the point - Max is working while I am sleepingMax has emproved the response time to questions significantly - although it was excellent before

So Max helps to customers from Asia and Europe, while I work mostly for North and South America
Regards
Alex
HostMonitor may perform many tests at the same time however it sets test statuses one by one. So you will have predictable results: all tests are good -> then 1 test is bad -> 2 tests are bad -> 3 tests are badWhat if all three are down. Maybe better use
If you want to receive 2 alerts (1st alert when 2 tests become bad, 2nd alert - 3 tests become bad), then yes(%FolderCurrent_BadTests%>=2) and
I want to release version 6.42, then start work on "warning" statusI thought you were working on the "warning" status
Regards
Alex