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

Add TranslateMacros option to more tests

 
Post new topic   Reply to topic    KS-Soft Forum Index -> Wish list
View previous topic :: View next topic  
Author Message
datwood



Joined: 02 May 2006
Posts: 12
Location: Dallas, TX

PostPosted: Wed Jun 03, 2009 2:06 pm    Post subject: Add TranslateMacros option to more tests Reply with quote

I know some of the File/Folder tests let you put a macro like %datetime% on the test, but some of the other tests, like the SSH, HTTP and URL tests, could use this as well.

Reason I say this ? I was trying to run a test against Unix server to check the server time and ensure it matched the time on the HostMonitor server. Only way I could see to do it was to either pass the time to the Unix server and let a script compare the times, or to run a Script test to retrieve the time from the Unix server and do the comparison.

First option was unfeasible because I could not pass the current time to the Unix server. Second option was unacceptable (to me) because I'd have to put the Unix login in the local script. I'm trying NOT to embed credentials in these things because it makes things harder to maintain.

I ended up solving the problem by writing/executing a custom .asp page that fetches a page from the Unix server, extracts the Response header time, and compares that with local time.

But that is kind of kludgy. Should be better ways. Maybe even a new TimeCheck test.

Anyway, HM is still an amazingly good tool. Thanks for listening.
Dwayne
Back to top
View user's profile Send private message
KS-Soft



Joined: 03 Apr 2002
Posts: 12791
Location: USA

PostPosted: Wed Jun 03, 2009 2:40 pm    Post subject: Reply with quote

Quote:
I know some of the File/Folder tests let you put a macro like %datetime% on the test, but some of the other tests, like the SSH, HTTP and URL tests, could use this as well.

Actually URL and HTTP test methods support such option
http://www.ks-soft.net/hostmon.eng/mframe.htm#tests.htm#url

Quote:
Reason I say this ? I was trying to run a test against Unix server to check the server time and ensure it matched the time on the HostMonitor server.

There is special test method for such purpose: NTP
http://www.ks-soft.net/hostmon.eng/mframe.htm#tests.htm#ntp

Quote:
Anyway, HM is still an amazingly good tool. Thanks for listening.

Thank you

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



Joined: 02 May 2006
Posts: 12
Location: Dallas, TX

PostPosted: Wed Jun 03, 2009 3:16 pm    Post subject: Reply with quote

KS-Soft wrote:

There is special test method for such purpose: NTP
http://www.ks-soft.net/hostmon.eng/mframe.htm#tests.htm#ntp


The NTP test looks to be testing NTP servers. While useful, I was more interested in checking NTP clients to ensure they were picking up the time from the domain controllers (which are also our NTP servers). For some reason our network guys have a hard time keeping everything sync'd so I wanted to run tests on the more critical servers.

I got done what I wanted, so I'm not complaining.

Still would be nice to have macros on the SSH, so pls put that on the backlog somewhere.

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



Joined: 03 Apr 2002
Posts: 12791
Location: USA

PostPosted: Thu Jun 04, 2009 5:52 am    Post subject: Reply with quote

Quote:
Still would be nice to have macros on the SSH, so pls put that on the backlog somewhere.

SSH test supports date/time macro variables (it may check result for date stamp). Yes, I think we can add such option for command line as well...

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



Joined: 28 Feb 2006
Posts: 39

PostPosted: Thu Jun 27, 2013 8:18 pm    Post subject: Reply with quote

KS-Soft wrote:

SSH test supports date/time macro variables (it may check result for date stamp). Yes, I think we can add such option for command line as well...


any news about that? Would be usefull right now
Back to top
View user's profile Send private message
KS-Soft



Joined: 03 Apr 2002
Posts: 12791
Location: USA

PostPosted: Tue Jul 02, 2013 10:06 am    Post subject: Reply with quote

Can be implemented in next version.
If you are using version 9.56, probably we can provide unofficial update this week.

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



Joined: 28 Feb 2006
Posts: 39

PostPosted: Wed Jul 03, 2013 1:30 am    Post subject: Reply with quote

KS-Soft wrote:
Can be implemented in next version.
If you are using version 9.56, probably we can provide unofficial update this week.


awesome. Even, we're using the current 9.50 stable. If there is no problem known with the 9.56 "beta", than sure, I would upgrade to the beta state

Will you implement the general "macro variables" or "only" date/time?
(Use of commentline would be usefull in my case).

My e-mail address is in the forums "Profile" - or I can send you another e-mail whenever you're ready.
Back to top
View user's profile Send private message
KS-Soft



Joined: 03 Apr 2002
Posts: 12791
Location: USA

PostPosted: Wed Jul 03, 2013 6:46 am    Post subject: Reply with quote

We did not receive any bug report regarding version 9.56.

Version 9.56
http://www.hostmonitor.biz/download/hm956.exe
Update (unzip file and replace hostmon.exe, rcc.exe modules)
www.ks-soft.net/download/hm957b.zip

>Will you implement the general "macro variables" or "only" date/time?

Date/time

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



Joined: 03 Apr 2002
Posts: 12791
Location: USA

PostPosted: Wed Jul 03, 2013 6:48 am    Post subject: Reply with quote

>My e-mail address is in the forums "Profile" - or I can send you another e-mail whenever you're ready.

Mail failed
Remote host said: 550 5.7.1 Blocked by SpamAssassin

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



Joined: 28 Feb 2006
Posts: 39

PostPosted: Fri Jul 05, 2013 5:06 pm    Post subject: Reply with quote

Hey Alex

thank you very much for your change and the time to implement that. Although, with "only" the Date and Time-Variables, it doesn't help in the specific case - but I solved it in any way with another test-method.

I'm sure, I will have a need to use your change soon in another test-scenario.

Have an awesome weekend.
Back to top
View user's profile Send private message
KS-Soft



Joined: 03 Apr 2002
Posts: 12791
Location: USA

PostPosted: Mon Jul 08, 2013 4:24 am    Post subject: Reply with quote

You are welcome

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 -> Wish list 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