cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

MAC OS software usage or metering?

We have a deployed agent on a few MAC's.  inventory reported is good.  But we are not getting any software usage or software metering data.  I would at least expect to see something reported on Safari since its used almost 100% of the time.  My due diligence has pointed me to the following 

https://docs.flexera.com/fnms/EN/GatherFNInv/index.html#SysRef/FlexNetInventoryAgent/tasks/FA3-InstallUNIX.html complex and I found references to deploying but nothing about MAC OS metering.  There are references to editing the Config.ini file but only generally how to edit, no info on edit as it pertains to targeting software usage.

https://community.flexera.com/t5/FlexNet-Manager-Forum/Application-usage-on-Linux/td-p/154703
this question was asked and answered with https://community.flexera.com/t5/FlexNet-Manager-Blog/Application-usage-metering-using-the-FlexNet-inventory-agent/ba-p/146015

which has an entry "On Unix-like operating systems, usage can be metered for any process that is running an executable included in the list of files installed by the native packaging technology for the operating system (RPM for Linux, llp for AIX, etc.)"  

wow,  what a great answer that is.  well  still dont have any, zip zero  software usage data. 

We even set up a targeted inventory for those machines.  

has anyone had any success with usage on MAC?  did anything special?

 

(1) Solution
mag00_75
By Level 8 Champion
Level 8 Champion

We run a post-installation script on our MAC

 

#!/bin/bash

CURRENT_USER=`/bin/ls -l /dev/console | /usr/bin/awk '{ print $3 }'`

/bin/cat <<EOF > /var/tmp/tempconfig.ini
[ManageSoft\Usage Agent\CurrentVersion]
Disabled=False
StartupDelay=600
Lowprofile=True

[ManageSoft\Tracker\CurrentVersion]
Lowprofile=True
EOF

/opt/managesoft/bin/mgsconfig -i /var/tmp/tempconfig.ini

View solution in original post

(9) Replies
mag00_75
By Level 8 Champion
Level 8 Champion

We run a post-installation script on our MAC

 

#!/bin/bash

CURRENT_USER=`/bin/ls -l /dev/console | /usr/bin/awk '{ print $3 }'`

/bin/cat <<EOF > /var/tmp/tempconfig.ini
[ManageSoft\Usage Agent\CurrentVersion]
Disabled=False
StartupDelay=600
Lowprofile=True

[ManageSoft\Tracker\CurrentVersion]
Lowprofile=True
EOF

/opt/managesoft/bin/mgsconfig -i /var/tmp/tempconfig.ini

follow up question if possible.  any way to just include this as part of the deployment file?

The settings that @mag00_75 has noted cannot be set using the mgsft_rollout_response file. Configuring them using a post-installation script like described is the typical approach I've seen for doing installation-time setup.

(Did my reply solve the question? Click "ACCEPT AS SOLUTION" to help others find answers faster. Liked something? Click "KUDO". Anything expressed here is my own view and not necessarily that of my employer, Flexera.)

is this still the case or has this been updated in the newer releases?  also is this the same with unix and linux or just Mac?

 

@joshua_neadow - the notes in my previous post apply to all FlexNet inventory agent releases on all Unix-like operating systems (MacOS, Linux, etc).

The approach described by @mag00_75 of running /opt/managesoft/bin/mgsconfig is the normal approach to apply general agent configuration settings on these operating systems.

(Did my reply solve the question? Click "ACCEPT AS SOLUTION" to help others find answers faster. Liked something? Click "KUDO". Anything expressed here is my own view and not necessarily that of my employer, Flexera.)

is this not something we can do in the webui under discovery and inventory rules?  

Yes, usage gathering can also be enabled through a target configured in the Discovery and Inventory rules area of the UI:

image.png

With that said, be aware the UI can only be used to configure some agent settings. For example, the post-installation script given as an example earlier in this thread illustrations the configuration of StartupDelay and LowProfile settings that can't be managed through the UI.

(Did my reply solve the question? Click "ACCEPT AS SOLUTION" to help others find answers faster. Liked something? Click "KUDO". Anything expressed here is my own view and not necessarily that of my employer, Flexera.)

ok perfect.  one more question i swear.  If we already have the agent running as low profile in the config for the agent itself,... does the usage agent operate the same or does it have to be set for each individual child agent as well?

I believe usage component processes do run with a low priority (i.e. LowProfile=true) by default, just like the inventory component processes.

You can configure the LowProfile preference setting for each component individually (for example, if you wanted to override the default and run one of these components with higher priority) - but that would be a very unusual thing to do.

(Did my reply solve the question? Click "ACCEPT AS SOLUTION" to help others find answers faster. Liked something? Click "KUDO". Anything expressed here is my own view and not necessarily that of my employer, Flexera.)