Disk Space by Free Space

(imported topic written by Gallus2391)

Hi All,

Can you help. I’m a new user to Bigfix and I was wondering if its possible to have a report created that lists all servers fixed drives by the amount of free space remaining.

But criticlaly sorted by the free space figure to show me all the servers running low.

Something like

Server Name Disk Free

UKEDGAS01 C 950Mb

UKEDGAS02 F 1024Mb

UKEDGAS01 D 1200Mb

Is this possible…

Thanks in advance…

Mike

(imported comment written by Gallus2391)

oh… anyone ?

(imported comment written by BenKus)

Hey Mike,

This is actually a pretty straight-forward request up until you want to handle multiple values per computer and sort them. The default way the reports work is by putting multiple results from one computer together on the same line and so you can’t sort them individually. To get the exact report you want, we would need to build a custom report.

Here is some info to get you started:

There will be more work to create a custom report in the format you are looking for, but let’s start by seeing if the format above works for you…

Ben

(imported comment written by Gallus2391)

Thanks for the reply. Yes I’d seen that and we’ve been using it. As you say the trouble is I haven;t been able to get it sorted by free space.

We have 400 servers and it easy to miss a server will ow disk due to the sorting aspect. At least I know its quite tough…

Would it work if I exported in csr and did the sorting in excel…

Mike.

(imported comment written by BenKus)

Actually… Here is an idea: the power of the Fixlet will save us from needing to make complicated reports…

Create a new custom Fixlet with the following relevance:

exists drive whose (type of it = “DRIVE_FIXED” AND (free space of it * 100 / total space of it) < 5)

This will detect all computers that have less than 5% of their drivespace free on any of their drives. If this Fixlet is relevant on any computer, you can check the computers directly with the property that you made to see which drives are low…

Try it out and see if that helps,
Ben

(imported comment written by Gallus2391)

Thats a great Idea… I’ll give it a go thanks…

(imported comment written by SystemAdmin)

Here I am again. Can someone help me with this. I’m attempting to create relevance that will only return computers system with > 600MB free hard drive space?

In essence, I’m adding the minimum system requirements to some relevance to avoid software distributions to computers that do not meet the requirements.

exists drive whose (type of it = “DRIVE_FIXED” AND (free space of it / 1000 / 1000) > 600)

(imported comment written by NoahSalzman)

Looks like you got the relevance right. Are you asking “how do I use that relevance in fixlet?”

(imported comment written by SystemAdmin)

I think there is something missing because I created an automatic group with that relevance and if I sort the computers by “Free Space of System Drive” I get a range from 0MB to 708272 MB.

(imported comment written by NoahSalzman)

Is that one line of relevance the only property used to create the group or are there other parameters used to create the group? If there are other properties used are you specifying “any” or “all” in the Edit Automatic Computer Group dialog box?

If “any” is selected then you will get computers listed that do not meet the space requirement but do meet one of the other properties in the list.

(imported comment written by SystemAdmin)

I’m using the automatic group so this is the only line I’ve used. However, since I am using the automatic group the relevance becomes

(version of client >= “6.0.0.0”) and (true and exists true whose (if true then (exists drive whose (type of it = “DRIVE_FIXED” AND (free space of it / 1000 / 1000) > 600)) else false))

(imported comment written by NoahSalzman)

While I’m looking into whether that mildly convoluted boolean logic is correct (or even needed)… I would suggest you just create an Automatic Group using the simple relevance in post #7 of this thread. Don’t pick a canned item from the pop-up list, instead pick “Relevance Expression” and just paste in the simple version.

In fact, you may want to just go as simple as:

free space of drive of system folder / 1000 / 1000 > 600

(imported comment written by SystemAdmin)

That worked. Thank you so much.

(imported comment written by FITZPAW91)

How about if you want a web report to be sent based on the relevance that a system is at less than 10% available disk space.

Thanks

William

(imported comment written by BenKus)

Hey William,

You can do this:

  • make a Fixlet that is relevant when the system is low on disk space (see relevance examples above… in fact… I think we already have Fixlets like this on the support site).
  • Create “Fixlet Report” in web report that shows all computers that have this Fixlet relevant.
  • Set up an email trigger to email when the report changes.

Ben

(imported comment written by FITZPAW91)

Hi Ben,

Thanks for the answer but I am unclear on how to do this parts

  • Create “Fixlet Report” in web report that shows all computers that have this Fixlet relevant.

If I set a relevance on the Activity Triggers in Scheduled Jobs, will it know which server to compare against. it is a website, so how will it know to become relevant when another server is below the specified threshhold.

Thanks

William

(imported comment written by NoahSalzman)

FITZPAW

Thanks for the answer but I am unclear on how to do this parts

Create “Fixlet Report” in web report that shows all computers that have this Fixlet relevant.

Here are the steps:

  1. select “Create” from the main Web Reports menu

  2. Choose “Relevant Fixlets” and click Next

  3. Select the Fixlet you are interested in (you may need to use the Search tool on that page to narrow the list)

  4. In the Current Report box on the upper left-hand corner of the screen, click “Store Report”

  5. Give your report a name and click “Store Report”

You can then use the Schedule feature of Web Reports to send out an email only if the results of the report have changed.

Noah

(imported comment written by FITZPAW91)

Hi Noah

I tried what you said and keep getting this message,

Activity 5 failed with the following error message:

Background process “BESEmailer.exe” returned non-zero exit code 17: Too few arguments

Any Ideas. I am running the latest version of BigFix Server.

Thanks

William