The agent's inventory is automatically refreshed about every 24 hours of operation of the computer (it has to be turned on).
The agent is runs as a windows service and will trigger a refresh based on that schedule.
To optimize for outbound bandwidth utilization, the agents will randomize the next inventory refresh around the 24 hour timeframe so that not all agents report together at the same time.
To force an inventory refresh for a single computer through command line:
"c:\program files\samanage\ocsinventory" /force /debug /server=https://inventory.samanage.com/ocsinventory /tag=
"c:\program files (x86)\samanage\ocsinventory" /force /debug /server=https://inventory.samanage.com/ocsinventory /tag=
sudo launchctl start org.ocsng.agent
Note: Please make sure you have the latest Mac agent installed:
sudo ./ocsinventory-agent --server inventory.samanage.com --tag= ACCOUNTNAME --force --debug
Old Mac Agent Command Line:
sudo php /usr/local/sbin/ocs_mac_agent.php
This document was generated from the following discussion: The specified item was not found.