Welcome to OCS Inventory NG community support, where you can ask questions and receive answers from other members of the community.

Please ask questions only in English or French.

Release 2.8 available

The official documentation can be found on http://wiki.ocsinventory-ng.org. Read it before asking your question.

change frequency of execution of the ocs agent

Hello,

I would like to change the frequency of execution of the agent Ocsinventory-ng on a machine under mac os X, but I would like to be able to do it once the agent is already installed and launched and without having to access the graphical interface of the software.
How is it possible to modify the frequency (by default every 5 hours I think) to reduce it to 1 hour?
Which files should be edited for this? What are the parameters to modify / add?

Best regards
in OCS Inventory NG agent for MacOS X by (220 points)

4 Answers

0 votes
Have you looked at configuring a "Custom inventory frequency" in the server configuration? Menu "Configuration > General Configuration"

You can also create groups, Menu "Inventory > Groups" and create a custom inventory frequency and PROLOG periods for different groups.
You DO NOT have to configure a package for deployment for this to work.

~ J
by (870 points)
0 votes

As I cannot access the parameters of the server, I seek to carry out this configuration from the client, and in command mode. Is this possible? Where, for example, is the information that indicates by default on the customer that the inventory escalation is done every 5 hours?

by (220 points)
0 votes
Bonjour,

C'est possible de changer la fréquence d'inventaire sur le client mais le serveur aura toujours prépondérance sur le client.

Pour changer il faut éditer le fichier ocsinv.conf.

Cordialement

Frank
by (79.6k points)
0 votes
Merci pour vos réponses, mais en fait ce que je cherchais c'était plutôt :

modifier le fichier /Library/LaunchDaemons/org.ocsng.agent.plist
remplacer
    <key>StartInterval</key>
    <integer>18000</integer>
par
    <key>StartInterval</key>
    <integer>3600</integer>
by (220 points)
 
Powered by Question2Answer
...