thanks for your reply. What you are saying is very interesting. Is what I am seeing the difference between OCS Inventory and OCS Inventory-NG??? I had been wondering about that a few times, but never saw any hint confirming this.
Anyhow, the code I use is ocsinventory-agent-1.1.2.1, I got the source rpm from the EPEL repositories for RHEL4/5/6-like distros (we are using SLC). We have modified the rpm to add a collector for very site specific parameters. But we had not modified the way the config is done. That change is mentioned in the changelog by:
* Sun Feb 17 2008 Remi Collet <email address hidden> 0.0.8.1-0.1.20080217
- update to 0.0.8.1 from CVS
- change config file used
from /etc/ocsinventory-agent/ocsinv.conf
to /etc/ocsinventory/ocsinventory-agent.cfg
The code I quoted is from Agent.pm.
Thanks for your patch, I will check whether it applies, and what it does exactly. I will also have to check whether at the time being I get all parameters from /etc/sysconfig, or whether some are taken from there and some from /etc/ocsinventory.
Hi Guillaume,
thanks for your reply. What you are saying is very interesting. Is what I am seeing the difference between OCS Inventory and OCS Inventory-NG??? I had been wondering about that a few times, but never saw any hint confirming this.
Anyhow, the code I use is ocsinventory- agent-1. 1.2.1, I got the source rpm from the EPEL repositories for RHEL4/5/6-like distros (we are using SLC). We have modified the rpm to add a collector for very site specific parameters. But we had not modified the way the config is done. That change is mentioned in the changelog by:
* Sun Feb 17 2008 Remi Collet <email address hidden> 0.0.8.1- 0.1.20080217 ry-agent/ ocsinv. conf ry/ocsinventory -agent. cfg
- update to 0.0.8.1 from CVS
- change config file used
from /etc/ocsinvento
to /etc/ocsinvento
The code I quoted is from Agent.pm.
Thanks for your patch, I will check whether it applies, and what it does exactly. I will also have to check whether at the time being I get all parameters from /etc/sysconfig, or whether some are taken from there and some from /etc/ocsinventory.
Cheers,
Matthias