Bug #34352 Agent should spool DC data to disk file when disconnected from service manager
Submitted: 6 Feb 2008 16:52
Reporter: Mark Leith
Status: Verified
Category:Monitoring: Agent Severity:S4 (Feature request)
Version: OS:Any
Assigned to: Kay Roepke Target Version:future version
Triage: D5 (Feature request)

[6 Feb 2008 16:52] Mark Leith
Description:
Currently when the agent disconnects from the service manager (such as the service
manager going down), it collects data up to backlog-threshold minutes, and then discards
data older than that period whilst disconnected. 

To save losing this data, it would be far better to spool this data to an (XML) file on
the agent machines filesystem instead, and then push the contents of that file back to
the service manager once reconnected. 

This will also completely cut down on any memory growth issues, as the data would be
spooled to disk rather than stored within memory. 

How to repeat:
N/A

Suggested fix:
Spool data collection to the disk instead of keeping it in memory and discarding older
data.
[6 Feb 2008 16:55] Darren Oldag
how about making it "optional" of course... with all the bells and whistles

memory backlog
disk backlog
etc

my fear is that if we default to unlimited disk backlog, someone will forget about it and
we'll eat up all the disk.