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

Asterisks and Macros in Filenames

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



Joined: 07 Mar 2007
Posts: 25
Location: Austria

PostPosted: Wed May 09, 2007 1:56 am    Post subject: Asterisks and Macros in Filenames Reply with quote

Hi,

As specified in the online manual, i want to use date macros in a filename for File Availability Test performed by Hostmon 6.80, but i need to use asterisks too. I look for filenames like:
Code:
df20070509002346.txt
I tried to use these strings:
Code:
df%yyyymmdd%*.xml, df%yyyymmdd%* and df%yyyymmdd%
but they didn't work.

How can I perform this test with date macros and asterisk?

Regards
sabine
Back to top
View user's profile Send private message
KS-Soft Europe



Joined: 16 May 2006
Posts: 2832

PostPosted: Wed May 09, 2007 2:37 am    Post subject: Reply with quote

Sorry, cannot reproduce the problem. "File Availability" test method works fine for the file "C:\temp\df20070509002346.txt" with "C:\temp\df%yyyymmdd%*" template. What exact status do you get? Bad? Unknown?
Have you enabled "Translate macros" option?
What exact alert option have you enabled: "Alert when file exists" or "Alert when file doesn't exist"?

Regards,
Max
Back to top
View user's profile Send private message Send e-mail Visit poster's website
sabine



Joined: 07 Mar 2007
Posts: 25
Location: Austria

PostPosted: Wed May 09, 2007 3:01 am    Post subject: Reply with quote

Hi Max,

I've enabled Alert when file exists but I get always an Ok status, even when I insert a testfile.

Translate macros is enabled.

When I insert an asterisk after the date macro no files where displayed when I browse through the directory. When i just replace a part of the filename with asterisk or macro it works.

Regards
sabine
Back to top
View user's profile Send private message
KS-Soft Europe



Joined: 16 May 2006
Posts: 2832

PostPosted: Wed May 09, 2007 3:13 am    Post subject: Reply with quote

sabine wrote:
When I insert an asterisk after the date macro no files where displayed when I browse through the directory. When i just replace a part of the filename with asterisk or macro it works.
Asterisk does not affect the browse dialog, but HostMonitor uses it to resolve file name.

Could you provide more information, please?
- What version of HostMonitor do you use?
- Is test performed by RMA or by HostMonitor itself?
- Is test performed by RMA for Windows or for Unix?

Could you export that particular test (using menu "File" > "Export to text file" > "Export selected test") and send it to support@ks-soft.net?

Regards,
Max
Back to top
View user's profile Send private message Send e-mail Visit poster's website
sabine



Joined: 07 Mar 2007
Posts: 25
Location: Austria

PostPosted: Thu May 10, 2007 5:50 am    Post subject: Reply with quote

Hi Max,

sorry for bothering you, but I don't know why but after approximately 20 tests it got true results with the same configurations as before (df%yyyymmdd%*).

thanks and best regards
sabine
Back to top
View user's profile Send private message
KS-Soft Europe



Joined: 16 May 2006
Posts: 2832

PostPosted: Thu May 10, 2007 6:09 am    Post subject: Reply with quote

sabine wrote:
sorry for bothering you, but I don't know why but after approximately 20 tests it got true results with the same configurations as before (df%yyyymmdd%*).
Hm. Strange. Please, let me know if it happens again.

Regards,
Max
Back to top
View user's profile Send private message Send e-mail 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