Variable for the last checktime before

All questions related to installations, configurations and maintenance of Advanced Host Monitor (including additional tools such as RMA for Windows, RMA Manager, Web Servie, RCC).
Post Reply
MirkoW
Posts: 210
Joined: Tue Jul 01, 2008 6:51 am

Variable for the last checktime before

Post by MirkoW »

Hi,

i want to receive the last checktimestamp before the acutally checktimestemp. For example use a Testmethod with a 30min- interval and i want to get the timestamp 30 minutes before.
Which macrovariable contain this?

Thanks

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

Post by KS-Soft »

So you need time of the test probe performed before last probe?
There is no such option.
Why do you need this? May be we can offer some workaround....

Regards
Alex
MirkoW
Posts: 210
Joined: Tue Jul 01, 2008 6:51 am

Post by MirkoW »

i neet it because i run a sql-query and an on every request i receive a counter number.

i if i receive an higher number so HM send a SMS with follow contet:

There are [count] new Error since last Test on [time before last probe]
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

May be you can use %Interval_Min% variable instead?
Then you may send SMS message like "[count] new errors recorded within last %Interval_Min% minutes"

Also, if you start this action only when test status changes, you may use %PreviousStatusTime% variable.

Regards
Alex
MirkoW
Posts: 210
Joined: Tue Jul 01, 2008 6:51 am

Post by MirkoW »

Hi,

ok i can use %Interval_Min% but i don't have a confirmation that HM have test it 30 minutes ago (for example if the thestmethod have a wrong schedule)
Post Reply