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
Test if RMA is alive before testing
- plambrecht
- Posts: 151
- Joined: Wed May 19, 2004 8:11 am
- Location: Belgium
- Contact:
I think simple TCP test (without "Send data" option) is good enough.What is the best way to check that an RMA is alive ?
I have another idea - implement posibility to use primary and backup agent.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..
Regards
Alex
- plambrecht
- Posts: 151
- Joined: Wed May 19, 2004 8:11 am
- Location: Belgium
- Contact:
- plambrecht
- Posts: 151
- Joined: Wed May 19, 2004 8:11 am
- Location: Belgium
- Contact:
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.
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.
- plambrecht
- Posts: 151
- Joined: Wed May 19, 2004 8:11 am
- Location: Belgium
- Contact:
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:
works really great !
P.
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: Select all
IF (('%StatusID%'='08') OR ('%StatusID%'='07')) begin <insert into code> end
P.
Last edited by plambrecht on Fri Mar 18, 2005 2:35 am, edited 1 time in total.
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).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...
Cool. I didn't think about thatSo I looked further and I discovered that SQL also supports the "IF" statement...
IF (('%StatusID'='08') OR ('%StatusID'='07')) begin <insert into code> end
Regards
Alex