Hi - Can we copy the ocs inventory agent package on any host, run it without installing it to send just the report to server?
I tried the below command after copying the unix agent,
#./ocsinventory-agent -s
http://ocsinvserver.example.com/ocsinventory --basevardir=/var/lib/ocsinventory-agent
and got the below error
Failed to load Ocsinventory::Agent, Can't locate Ocsinventory/Agent.pm in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at (eval 1) line 1.
BEGIN failed--compilation aborted at (eval 1) line 1.
Any help is greatly appreciable!
Thanks
you can run the agent directly for its source directory with --devlib