clusered services

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
MADS
Posts: 16
Joined: Wed Feb 09, 2005 7:17 am

clusered services

Post by MADS »

Hey,
I have a big question.

I was wondering if it is possible to make a distinction between services that are "clustered". I have 2 DNS Servers, if 1 goes down and de 2nd still works I don't want to see it as BAD or get an alert for DNS.

I'll check it elsewere or my alerting is not that important that I must be paged during night time for this error. Only if both DNS servers go down.

I hope you get my question. Is it possible to do this in KS Host?

MaDS
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

So, you want to receive alert only when both servers fail?

1) You may use master-dependant relation between tests
http://www.ks-soft.net/hostmon.eng/mfra ... htm#Master

2) or you may use "advanced mode" actions
http://www.ks-soft.net/hostmon.eng/mfra ... ncedaction

Regards
Alex
MADS
Posts: 16
Joined: Wed Feb 09, 2005 7:17 am

Post by MADS »

I'm logging it all into a database via ODBC.
From there I'm using the StatusID value to define my "unavailability" via queries.

So more specific I would like NOT to log it when it goes bad on one server, but ONLY when both servers are down.

MaDS
MADS
Posts: 16
Joined: Wed Feb 09, 2005 7:17 am

Post by MADS »

I see what you mean with the Master tests....I used it to simple...;-)

MaDS
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

Another solution - "advanced" action.
Disable standard logging for the tests and add "SQL Query" action into action profile that is assigned to these tests.
Use "advanced" action mode and condition like "('%::TestA::SimpleStatus%'=='DOWN') and ('%::TestB::SimpleStatus%'=='DOWN') and ((%::TestA::Recurrences%==1) or (%::TestB::Recurrences%==1))

Regards
Alex
MADS
Posts: 16
Joined: Wed Feb 09, 2005 7:17 am

Post by MADS »

Thx Alex
I'll try it out
MADS
Posts: 16
Joined: Wed Feb 09, 2005 7:17 am

Post by MADS »

Alex,
I've checked it out and it works for my purpose with ('%::TestA::SimpleStatus%'=='DOWN') and ('%::TestB::SimpleStatus%'=='DOWN')
I noticed something else, when I change my refresh interval to 1 sec with the same condition as above and I log to a ODBC then only 1 one test is logged. When change the refresh interval to 4sec then it logs both test (as it should) I'm using a MS Access DB for my tests.

It looks like when both test can handle the write to ODBC it works, I had to go to 3 sec in refresh test to log both tests.[/code]
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

I thought you don't want to see both records :roll:
If you want to have both records in the log, you don't need any special actions, any custom configuration. Just restore standard settings - remove actions and enable common log

Regards
Alex
Post Reply