You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am not that familiar with the setup of RPM packages, but I find the setup of the RPM package kind of confusing.
It creates a /etc/ocsinventory/ocsinventory-agent.cfg file.
As it lies under /etc it is the default place where I would look for the configuration for any software that is installed globally on a system.
Then there is the /etc/sysconfig/ocsinventory-agent which partially duplicates the /etc file.
It seems to only be used by /usr/libexec/ocsinventory-agent/ocsinventory-agent.cron which is used in the systemd service ocsinventory-agent.service.
Why are they two different sets of configs that I have to configure AND find in order to get the agent to work?
As far as I see the cron does not even work if the MODE is not set to cron, which is not really document. At least I did not find anything in the documentation about it (https://wiki.ocsinventory-ng.org/search.html?q=OCSMODE).
The whole package is a guessing game. (The whole client configuration is :P)
Could you shine some light on this, please?
The text was updated successfully, but these errors were encountered:
I am not that familiar with the setup of RPM packages, but I find the setup of the RPM package kind of confusing.
It creates a
/etc/ocsinventory/ocsinventory-agent.cfg
file.As it lies under
/etc
it is the default place where I would look for the configuration for any software that is installed globally on a system.Then there is the
/etc/sysconfig/ocsinventory-agent
which partially duplicates the/etc
file.It seems to only be used by
/usr/libexec/ocsinventory-agent/ocsinventory-agent.cron
which is used in thesystemd
serviceocsinventory-agent.service
.Why are they two different sets of configs that I have to configure AND find in order to get the agent to work?
As far as I see the cron does not even work if the
MODE
is not set tocron
, which is not really document. At least I did not find anything in the documentation about it (https://wiki.ocsinventory-ng.org/search.html?q=OCSMODE).The whole package is a guessing game. (The whole client configuration is :P)
Could you shine some light on this, please?
The text was updated successfully, but these errors were encountered: