Macro Calculation

General chat about HostMonitor (all messages posted before March 07, 2003 available here).
Locked
bhugh
Posts: 25
Joined: Sun Jun 23, 2002 6:00 pm

Post by bhugh »

Alex,
Couldn't find in forum or documentation. Is it possible to use a calculation with a macro. I'm trying to monitor a log file that has MMDDYY.log. But this log file is created at 4 am for the previous day. So I would need to be able to be something like %MM(DD-1)YY%.log.

Is there anyway to accomplish something like this?

Thanks
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

Sorry, that is impossible.

Regards
Alex
bhugh
Posts: 25
Joined: Sun Jun 23, 2002 6:00 pm

Post by bhugh »

Can you think of any way to accomplish what I am trying to do, without setting up 31 different tests. I have over 100 devices I need to monitor for, so this would take a very long time. :sad:

Thanks.
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

Ok, I added this task into "to do" list. But I don't think it will be implemented soon.

Regards
Alex
User avatar
Marcus
Posts: 367
Joined: Mon Nov 18, 2002 6:00 pm

Post by Marcus »

If you can perform the test using a script file, you will be able to set variables at the script level
Locked