How to send reports to clients and reset statistics monthly?

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
xcentric
Posts: 176
Joined: Sat Oct 23, 2010 4:30 pm

How to send reports to clients and reset statistics monthly?

Post by xcentric »

I have been trying but keep coming up short.

Here is what I understand thus far.

Every client has a root folder in hm.
In the root folder a report is being generated per client and is placed on the file system as c:\hostmonitor\reports\CLIENT\CLIENT - Monthly Statistics.htm.

Here is where I'm stuck.
I want to reset statistics but not until after I send the report to the client on the first of the month.
The only way I see to do this is to use the "execute action profile before reset". Then use "good action" and "Send e-mail to Client". Then specify "Attach file" with the clients report.

So my question is how can I do this for every client without creating an "action profile to execute" before resetting statistics?

Regards
KS-Soft Europe
Posts: 2832
Joined: Tue May 16, 2006 4:41 am
Contact:

Post by KS-Soft Europe »

First of all, "execute action profile before reset" should contain two actions: Generate Reports and Send E-mail (SMTP) action.
Then use "good action" and "Send e-mail to Client"
For "execute action profile before reset" option you may use only scheduled action (Condition to start action: on the schedule). Such action can't be "good" or "bad".
Also, attached file can contain folder related variables (like %fvar_clientname%).
Finally, you may have only one action profile for all clients.
So my question is how can I do this for every client without creating an "action profile to execute" before resetting statistics?

Why don't you want to use "execute action profile before reset" option ?
xcentric
Posts: 176
Joined: Sat Oct 23, 2010 4:30 pm

Post by xcentric »

Also, attached file can contain folder related variables (like %fvar_clientname%).
This is the part I was missing. Thanks.

So I could use folder comment macros also? Like %FCommentLine1%?

Regards
xcentric
Posts: 176
Joined: Sat Oct 23, 2010 4:30 pm

Post by xcentric »

Slight issue with testing from the statistics tab.

If the action to reset the statistics has already fired for the current day, you cannot get it to fire until the next day. Even changing the time for the current day to a future time will not fire the action. :roll:

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

Post by KS-Soft »

This is correct behavior.
And its not very good idea to change system date, statistics will not be accurate.

Regards
Alex
Post Reply