Welcome to Pandora FMS Community › Forums › Community support › Server stops parseing generic_data_inc
-
Server stops parseing generic_data_inc
Posted by rmann714 on September 2, 2007 at 05:00The files look fine that end up on the server…when I remove the generic_data_inc types from the agent and delete the files on the server, the server starts to process the new files again.
Any thoughts?
Thanks,
Ralfmanu replied 17 years, 5 months ago 4 Members · 12 Replies -
12 Replies
-
-
::
ok…
When I “tail -f” the pandora_server.log file, I see the server parsing and updating data for all modules that are of type “generic_data”. When the server gets to the data from a module that is of type “generic_data_inc” it stops. There is nothing in the error log file.
I look at the XML file that the agent has sent to the server and look at the code and everything appears identical for both generic_data and generic_data_inc except for the data type field.
The agent is successfully sending files to the server and the files appear to be complete.
I would post samples from each of the files, but the forum rules won’t allow me to give you that data.
Ralf
-
::
ok…
When I “tail -f” the pandora_server.log file, I see the server parsing and updating data for all modules that are of type “generic_data”. When the server gets to the data from a module that is of type “generic_data_inc” it stops. There is nothing in the error log file.
I look at the XML file that the agent has sent to the server and look at the code and everything appears identical for both generic_data and generic_data_inc except for the data type field.
The agent is successfully sending files to the server and the files appear to be complete.
I would post samples from each of the files, but the forum rules won’t allow me to give you that data.
Ralf
Due the nature of generic_data_inc data, you need at least two packets to see data, because it stores differentes between last one and actual packet, another cause would be to have the SAME name in module. Check that.
-
::
The error is in your parseing of the time stamp in the XML file sent to the server.
When the server encounters a tiemstamp with a single digit for the seconds, it hangs.
timestamp=”2007-9-5 16:36:3″
Adding another digit to the seconds such as this…
timestamp=”2007-9-5 16:36:31″
and restarting the server…causes the file to be parsed correctly.
windows agent on XP, server on ubuntu.
thank you,
Ralf -
-
::
The error is in your parseing of the time stamp in the XML file sent to the server.
When the server encounters a tiemstamp with a single digit for the seconds, it hangs.
timestamp=”2007-9-5 16:36:3″
Adding another digit to the seconds such as this…
timestamp=”2007-9-5 16:36:31″
and restarting the server…causes the file to be parsed correctly.
windows agent on XP, server on ubuntu.
thank you,
RalfCould you cut/paste here contents of pandora_server.log.err file after you try to parse a bad XML ?
-
::
rtman, please try this new version of the agent, and please, let us know if this one solves the problem with the hours.
-
-
-
-
-