1. Home
  2. Knowledge Base
  3. Problems (EN)
  4. Several modules without data

Several modules without data

We have not received data from several agents for some time. According to the debugging log, the XML files are sent. I have checked that in the directory /var/spool/pandora/data_in there are 24675 files of type *.data, it is normal?

It is a clear case of XML queuing that the server is not able to process, it could have happened for several reasons, the most common ones are:

  1. Pandora FMS server has stopped, from this moment it doesn’t process any XML.
    • Solution: Re-establish service /etc/init.d/pandora_server start .
  2. The Pandora FMS server processes the slowest XML of the amount of these new ones coming in.
    • Solution: Spin up the number of threads to PFMS Data server, in the file /etc/pandora/pandora_serve.conf , modify the parameter dataserver_threads (increase threads).
  3.  One or several agents have sent an important amount of XML in a short time, this is because the agents in their configuration file /etc/pandora/pandora_agent.conf have the parameter xml_buffer configured to 1, what does this parameter do?


What it does is to accumulate in the /tmp directory of the agent all the XML that it is NOT able to send to the pandora server due to, for example, server-agent connectivity problems. When this connectivity is recovered, it sends as many XML as it has generated in that time, so if this happens during a long time or with several agents at the same time, it could be that the Pandora FMS server receives an important amount of XML in a short time, and from there the queuing.

    • Solution: move the XML from the /var/spool/pandora/data_in of the server to a temporary directory, for example /tmp, and later put them little by little again in the /var/spool/pandora/data_in of the server to process them little by little.
Was this article helpful?

Related Articles

Need Support?

Can't find the answer you're looking for?
Contact Support