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

clusered services

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



Joined: 09 Feb 2005
Posts: 16

PostPosted: Tue Mar 29, 2005 1:44 pm    Post subject: clusered services Reply with quote

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
View user's profile Send private message
KS-Soft



Joined: 03 Apr 2002
Posts: 12795
Location: USA

PostPosted: Tue Mar 29, 2005 2:06 pm    Post subject: Reply with quote

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/mframe.htm#tests.htm#Master

2) or you may use "advanced mode" actions
http://www.ks-soft.net/hostmon.eng/mframe.htm#actions.htm#advancedaction

Regards
Alex
Back to top
View user's profile Send private message Visit poster's website
MADS



Joined: 09 Feb 2005
Posts: 16

PostPosted: Tue Mar 29, 2005 2:57 pm    Post subject: Reply with quote

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
View user's profile Send private message
MADS



Joined: 09 Feb 2005
Posts: 16

PostPosted: Tue Mar 29, 2005 3:00 pm    Post subject: Reply with quote

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

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



Joined: 03 Apr 2002
Posts: 12795
Location: USA

PostPosted: Tue Mar 29, 2005 3:05 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
MADS



Joined: 09 Feb 2005
Posts: 16

PostPosted: Thu Mar 31, 2005 2:40 pm    Post subject: Reply with quote

Thx Alex
I'll try it out
Back to top
View user's profile Send private message
MADS



Joined: 09 Feb 2005
Posts: 16

PostPosted: Thu Mar 31, 2005 4:46 pm    Post subject: Reply with quote

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
View user's profile Send private message
KS-Soft



Joined: 03 Apr 2002
Posts: 12795
Location: USA

PostPosted: Fri Apr 01, 2005 11:33 am    Post subject: Reply with quote

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
View user's profile Send private message 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