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

Test if RMA is alive before testing

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



Joined: 19 May 2004
Posts: 151
Location: Belgium

PostPosted: Mon Mar 14, 2005 4:04 am    Post subject: Test if RMA is alive before testing Reply with quote

Hi Alex,

What is the best way to check that an RMA is alive ?
For now I just use PING to see if the wanIP is ok..
I want to use the TCP test, so that I can really check the RMA itself.
Do you have any suggestions on the 'send data' and 'expected reply' ?

Also, it would be great that there was an option to not perform tests if the RMA is unavailble... Now I just disble all tests in the folder and subfolders when the RMA is unavailable..

Pieter
Back to top
View user's profile Send private message Visit poster's website
KS-Soft



Joined: 03 Apr 2002
Posts: 12795
Location: USA

PostPosted: Mon Mar 14, 2005 6:17 pm    Post subject: Reply with quote

Quote:
What is the best way to check that an RMA is alive ?


I think simple TCP test (without "Send data" option) is good enough.

Quote:
Also, it would be great that there was an option to not perform tests if the RMA is unavailble... Now I just disble all tests in the folder and subfolders when the RMA is unavailable..


I have another idea - implement posibility to use primary and backup agent.

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



Joined: 19 May 2004
Posts: 151
Location: Belgium

PostPosted: Tue Mar 15, 2005 2:08 am    Post subject: Reply with quote

Also an option...
But most of RMA's are connected over the internet.. so if the clients ADSL line is down, I won't have much use of a backup RMA

P.
Back to top
View user's profile Send private message Visit poster's website
KS-Soft



Joined: 03 Apr 2002
Posts: 12795
Location: USA

PostPosted: Tue Mar 15, 2005 5:31 pm    Post subject: Reply with quote

Yes, it will not help in such case.
But why you disable tests when agent unavailable? for better performance? for statistical purpose?

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



Joined: 19 May 2004
Posts: 151
Location: Belgium

PostPosted: Wed Mar 16, 2005 3:02 am    Post subject: Reply with quote

I was in the idea that if the RMA is down, all tests return an Unknown.
This means that info without meaning is logged in my reporting database (advanced logging, odbc log)
I would like to keep that to a minimum...

Maybe a nice option would to limit the data that is logged to the odbc...
for ex an expression that is entered ('%StatusID%'=='07') and if the result is true, then the SQL query is executed...

more advanced: different sql query's based on an expression...
for ex BAD&OK run a query; unknown&disabled run another query, ...

Just a thought when I was typing...

*** Forget all about the above ***
I just saw that 5.10 is out... you already implemented it !

thx

P.
Back to top
View user's profile Send private message Visit poster's website
KS-Soft



Joined: 03 Apr 2002
Posts: 12795
Location: USA

PostPosted: Wed Mar 16, 2005 1:18 pm    Post subject: Reply with quote

Yes, version 5.10 has new "Record HM Log" action method.
However if you are usign ODBC log, you may use "SQL Query" action (implemented in version 3.00)

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



Joined: 19 May 2004
Posts: 151
Location: Belgium

PostPosted: Thu Mar 17, 2005 2:13 am    Post subject: Reply with quote

I'm using the SQL query (advanced logging)...
the only problem was that I only want OK and BAD statusses logged in my SQL database...
This new action solves the problem partialy...
I had to add it to every test.. little bit time consuming...

So I looked further and I discovered that SQL also supports the "IF" statement...

So now I'm not using the new action but this SQL statement:
Code:
IF (('%StatusID%'='08') OR ('%StatusID%'='07')) begin <insert into code> end


works really great !

P.


Last edited by plambrecht on Fri Mar 18, 2005 2:35 am; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website
KS-Soft



Joined: 03 Apr 2002
Posts: 12795
Location: USA

PostPosted: Thu Mar 17, 2005 1:06 pm    Post subject: Reply with quote

Quote:
I'm using the SQL query (advanced logging)...
the only problem was that I only want OK and BAD statusses logged in my SQL database...


I understand. But "SQL Query" action method was implemented long time ago in version 3 (there is "advanced logging" option and there is "SQL Query" action).

Quote:
So I looked further and I discovered that SQL also supports the "IF" statement...
IF (('%StatusID'='08') OR ('%StatusID'='07')) begin <insert into code> end


Cool. I didn't think about that

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