View previous topic :: View next topic |
Author |
Message |
MADS
Joined: 09 Feb 2005 Posts: 16
|
Posted: Tue Mar 29, 2005 1:44 pm Post subject: clusered services |
|
|
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 |
|
Back to top |
|
|
KS-Soft
Joined: 03 Apr 2002 Posts: 12795 Location: USA
|
|
Back to top |
|
|
MADS
Joined: 09 Feb 2005 Posts: 16
|
Posted: Tue Mar 29, 2005 2:57 pm Post subject: |
|
|
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 |
|
Back to top |
|
|
MADS
Joined: 09 Feb 2005 Posts: 16
|
Posted: Tue Mar 29, 2005 3:00 pm Post subject: |
|
|
I see what you mean with the Master tests....I used it to simple...
MaDS |
|
Back to top |
|
|
KS-Soft
Joined: 03 Apr 2002 Posts: 12795 Location: USA
|
Posted: Tue Mar 29, 2005 3:05 pm Post subject: |
|
|
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 |
|
Back to top |
|
|
MADS
Joined: 09 Feb 2005 Posts: 16
|
Posted: Thu Mar 31, 2005 2:40 pm Post subject: |
|
|
Thx Alex
I'll try it out |
|
Back to top |
|
|
MADS
Joined: 09 Feb 2005 Posts: 16
|
Posted: Thu Mar 31, 2005 4:46 pm Post subject: |
|
|
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] |
|
Back to top |
|
|
KS-Soft
Joined: 03 Apr 2002 Posts: 12795 Location: USA
|
Posted: Fri Apr 01, 2005 11:33 am Post subject: |
|
|
I thought you don't want to see both records
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 |
|
Back to top |
|
|
|