Closed jackburton79 closed 5 years ago
Commit 490f20a841274de9c23f8e87b3280c153c0b752f adds the option to specify a custom agent string. What's still missing is the ability to add the application version to the agent string.
The default agent string will stay as is, for the moment, since changing it would make the default OCSInventory installation not working with this agent.
Added an option to use the new version string (--new-agent-string), which someday could become the default. This option will include the application version in the agent string.
Change the agent version string to be unique. It should identify the specific agent and should contain the agent version.
To be able to use a custom version string, one would then need to modify the ocsinventory server configuration, like this:
`# ===== EXTERNAL USERAGENTS =====
Path for external useragents reference file
!! WARNING !! : external agents may not be supported by OCS NG Community !
PerlSetEnv OCS_OPT_EXT_USERAGENTS_FILE_PATH /tmp/yourfile.txt
Ref: https://github.com/OCSInventory-NG/OCSInventory-Server/issues/69