WMI test method help

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
doniphon
Posts: 26
Joined: Wed Feb 13, 2008 4:38 am

WMI test method help

Post by doniphon »

Dear friends,
I've the following WMI test query:

"select User from Win32_DiskQuota where Status = 1"

(Alert if row count is > 0)

to check the quota warnings of my file server.

This query works fine and i can send the result in a mail to the manager. But i need include in this mail the output "User" resulting from the query to identify the user that needs to enlarge their quota. How i can do that?
Exist any macro or something similar?

Many thanks in advance.
KS-Soft Europe
Posts: 2832
Joined: Tue May 16, 2006 4:41 am
Contact:

Post by KS-Soft Europe »

Actually, "WMI" test method does not have any specific macro variables. I think, you should slightly change some options and use %Reply% variable.
For instance, you may use following settings:

Code: Select all

Alert if any User <> ''
Regards,
Max
doniphon
Posts: 26
Joined: Wed Feb 13, 2008 4:38 am

(more) WMI test method help

Post by doniphon »

Thanks for your help Max, but

when i use the Alert if any User <> '' formula , in the %Reply% variable only the first of the output results (from the first row) of the query are loaded. How can i load the rest of the results (from the next rows) for to send they in my e-mail to the manager?

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

Post by KS-Soft »

Sorry, there is no such option. May be can add some %WMIAllRows% macro variable in future version...
I have added this task into "to do" list. Medium priority

Regards
Alex
doniphon
Posts: 26
Joined: Wed Feb 13, 2008 4:38 am

Post by doniphon »

Thanks for your help.

Tom Doniphon.
Post Reply