[Solved] Data Query Frequency and Graphs  

  RSS

 Anonymous
Joined: 49 years ago
Posts: 0
2015-11-04 19:48  

Hi,

I've configured the scheduler.exe.xml to query the data every hour as per my config below but, my graph seems to apply all of these data points on the graph at 00:00 each day as per the image underneath.

<setting name="Exchange_RetrieveDatabaseSizes" serializeAs="String">
<value>120</value>
</setting>
<setting name="Exchange_RetrieveMailboxSizes" serializeAs="String">
<value>60</value>
</setting>
<setting name="Settings_Path" serializeAs="String">
<value>C:Program Files (x86)Know More ITCloudPanelConfigsettings.xml</value>
</setting>
<setting name="History_Statistics" serializeAs="String">
<value>60</value>
</setting>
<setting name="Exchange_RetrieveMessageCounts" serializeAs="String">
<value>60</value>
</setting>

EmailTracking
also available at

The log file shows the data being gathered hourly as i would expect, but the ajax query for the data for the graph from the /CloudPanel/exchange/messagelogs/7 url gives all the timestamps as 00:00;

114: {retrieved: "2015-11-04T00:00:00.0000000+00:00", totalSent: 1, totalReceived: 63,?}
retrieved: "2015-11-04T00:00:00.0000000+00:00"
totalBytesReceived: 2536913
totalBytesSent: 94523
totalGBReceived: 0.0023626843467354774
totalGBSent: 0.00008803140372037888
totalMBReceived: 2.419388771057129
totalMBSent: 0.09014415740966797
totalReceived: 63
totalSent: 1
115: {retrieved: "2015-11-05T00:00:00.0000000+00:00", totalSent: 1, totalReceived: 60,?}
retrieved: "2015-11-05T00:00:00.0000000+00:00"
totalBytesReceived: 2497460
totalBytesSent: 94523
totalGBReceived: 0.002325940877199173
totalGBSent: 0.00008803140372037888
totalMBReceived: 2.381763458251953
totalMBSent: 0.09014415740966797
totalReceived: 60
totalSent: 1

If i check the SQL database, i can see the datetime entries are stored with the correct times and not 00:00.

Is there a tweak i can make to show the data points at their respective times?


ReplyQuote
Jacob Dixon
(@jdixon)
Prominent Member Admin
Joined: 4 years ago
Posts: 906
2015-11-11 09:24  

Sorry I missed this post and not seeing it until now...

What version of CloudPanel Scheduler are you running? There is a version that comes with each version of CloudPanel. I just want to make sure you are not using an older version of the scheduler. You can look in Programs and Features for the version number


ReplyQuote
Jacob Dixon
(@jdixon)
Prominent Member Admin
Joined: 4 years ago
Posts: 906
2015-11-12 17:36  

Rob, just checking up to see if you got my post. Please let me know!


ReplyQuote
Share:
  
Working

Please Login or Register