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.11.1 available

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

Tag doesn't match the defined in the agent config

Dear, I have ocsinventory-agent 2.8.1 in e Red Hat server.

This server is a clon from a original one, with tag=FIRST.

This server has tag=SECOND.

When I run the command "ocsinventory-agent --force", all the data is sent to OCS Inventory server 2.5, but in the web interface this server appears with Tag=FIRST (not SECOND).

In the ocsinventory-agent.log file from the server with agent, I can see:

<KEYVALUE>FIRST</KEYVALUE>

What is the reason for this behavior? The agent doesn't take into account the defined tag in /etc/ocsinventory/ocsinventory-agent.log.

Special thanks !!!
in OCS Inventory NG agent for Unix by (340 points)

1 Answer

0 votes
Does it change if you run the agent with --local option ? Could you try ocsinventory-agent --local /tmp --debug command ?

Regards
by (88.5k points)
 
Powered by Question2Answer
...