Open the configuration file. vi /etc/ocsinventory/ocsinventory-agent.cfg
Uncomment the following lines. Set a tag for the current server and the address of your OCS server. server = http://your.ocs.server/ocsinventory tag = your_tag
Restart agent service ocsinventory-agent restart
To force the sending of inventory execute the following /usr/sbin/ocsinventory-agent
How to check if ocsinventory-agent is installed or not rpm -qa | grep ocsinventory-agent
Published by Navdeep Singh
I'm working as Linux Administrator since 2017 and Redhat certified since 2016 in RHCSA, RHCE.
I have a blog where i post solution and i started YouTube channel as well to help people in their Linux,Windows related stuff. View all posts by Navdeep Singh