To confirm that devices you manage have a specific application installed, create a Custom Device Fact that checks for it — once added to a policy, you'll see at a glance which devices have the app and which don't, without checking each one manually.
How to Create the Custom Fact
-
Create a custom fact using the following script, replacing
Your path herewith the path of the application to check:if [ ! -d "Your path here" ]; then echo "Not Installed" else echo "Installed" fi
How to Add the Fact to a Policy
- Navigate to the Policies page and select a policy to test your new fact against.
- Select the Custom Facts section.
- Select your new custom fact.
- Add the fact to the policy.
- Confirm the addition.
How to View Results on the Devices Page
- Go to the Devices page and filter by the policy you selected above.
- In the toolbar, open the Columns menu and select the device fact.
The custom fact's column appears to the right of all other columns, showing results for every device in the policy.
Frequently Asked Questions
Why does a device show "n/a" for this fact?
Either the fact hasn't checked that device yet, or the device isn't in a policy that implements this custom fact.
Do I need to add the fact to every policy separately?
Yes. The fact only reports on devices in policies where it's been added — adding it to one policy won't surface results for devices in a different policy.