All I try to do, is run on my test station that connected to BigFix Console, i want to know how much space left on that station.
I’m going to Edit -> Custom Action - I choose that station, and add this relevence :
(
(
(
total space of drive of system folder
)
/
(
1024 * 1024 * 1024
)
)
-
(
(
free space of drive of system folder
)
/
(
1024 * 1024 * 1024
)
)
)
as string & " GB"
After that i try to start this action, and station return me “not relevant”
why?
is there some extra ACTION SCRIPT need to be runned? how can i get to my goal?
It looks like you need to review and understand the higher level concepts around fixlets, relevance, and action script. The documentation for this is at:
Your relevance is fine. You just need to put it in curly braces if it’s in the action script section of your custom action. The problem is that this isn’t going to do anything. Putting relevance in a custom action will evaluate, but it does not return the value of the relevance expression.
If you want computers to report back the used disk space, what you want to do is create an analysis. An analysis returns properties based on relevance statements you define. Create a new analysis. Create a custom property in the analysis with your relevance statement. Make the analysis apply to all computers. Activate the analysis and it will run on the computers and return the values of the properties.