How can I avoid losing sensor data when restarting PRTG?

Votes:

0

Your Vote:

Up

Down

We have found that we very often lose sensor data when restarting the PRTG Server and Probe services. For instance, we recently noticed that PRTG was performing a little sluggishly. We restarted the services and found that around 12 hours of sensor data just disappeared on ALL sensors. I was working in it just before restarting and I'm fairly certain the data was there before. We've had this happen to us a number of times now and would like to find out why so we can avoid losing valuable data. Has anyone else experienced this? Any suggestions or solutions?

lost prtg sensor-data sensor-history

Created on May 28, 2010 8:02:24 PM by  Scott K (60) 1 1

Last change on May 31, 2010 1:46:53 PM by  Daniel Zobel [Paessler Support] (21,383) 3 3



1 Reply

Accepted Answer

Votes:

0

Your Vote:

Up

Down

The data is probably there—you only need to recalculate it.

For a faster startup of the software during shut down of the services data is written to a cache file. During startup that cache file is loaded to present the graphs.

If writing the cache file does not work properly for some reason the existing "old" cache file is used and that does not show the most recent data, of course. But the monitoring data is constantly written to the database and from there it can be recalculated.

Please try the following:

  • Stop both PRTG services (core and probe).
  • Head to your data folder (can be discerned from the PRTG Server Administrator tool, under the "Core Server" tab)
  • Delete the "PRTG Graph Data Cache.dat" file
  • Restart the PRTG services
  • Log in to the PRTG web interface
  • There, go to Setup | System Status and check the background tasks. It should state that it is calculating historic data.

Then,

  • Refresh the System Status page from time to time (is the number being reduced?)
  • Let it run until it is done and then take a look at the historic data of your sensors—it should now be available.

Created on May 31, 2010 11:14:06 AM by  Aurelio Lombardi [Paessler Support] (7,239) 3 1

Last change on May 31, 2010 1:46:00 PM by  Daniel Zobel [Paessler Support] (21,383) 3 3



Please log in or register to enter your reply.


Disclaimer: The information in the Paessler Knowledge Base comes without warranty of any kind. Use at your own risk. Before applying any instructions please exercise proper system administrator housekeeping. You must make sure that a proper backup of all your data is available.

PRTG
Network Monitor
Intuitive to Use.
Easy to manage.

150.000 administrators have chosen PRTG to monitor their network. Find out how you can reduce cost, increase QoS and ease planning, as well.

Visit
www.paessler.com

What is this?

This knowledgebase contains questions and answers about PRTG Network Monitor and network monitoring in general. You are invited to get involved by asking and answering questions!

Learn more

Top Tags


View all Tags