klinstifen wrote:
Yes, since I was keeping track of printed pages on printers, an hourly step seemed more appropriate. Since I was looking for a longer time period, I can still let zenperfsnmp run every 5 minutes, I used a manual "rrdtool create" command to set the heartbeat and associated data source step times to my liking.What's your step value? 3600? Wouldn't I also need to change my step value from 300 (5 minutes) to 60 (1 minute)?example: step 300 10 logins in 10 minutes (1 login/min) 10/3000 * 60 != 1 login/min however... step 60 10 logins in 10 minutes 10/600 * 60 = 1 login/min Right? By default, Zenoss rrdcreates with a step of 300 (rrdtool info logonAttempts_logonAttempts.rrd show's step = 300). So...I think I'd need to change this step to have truly accurate numbers. No? However, regardless of your step time, the calculation is: (Login attempts in 10 minutes = 10)/(number of seconds in 10 minutes = 600) * (60 seconds in a minute) = 1 login/minute The number of seconds in an 10 minutes does not change depending on the step. ; ) The default graph displays the following calculation: (Login attempts in 10 minutes = 10)/(number of seconds in 10 minutes = 600) = .016 login/second So really we are just converting the value from seconds to minutes. I probably should not have used the term "step" as it implies a relationship between the recording time period and the time period displayed. I think RRD introduces this confusion, by listing the heartbeat as the "step" in "rrdtool info" instead of as heartbeat. If you use a custom create command for creating your RRD file, then you need the goofy calculations are used to calculate the different RRA time periods. however, when graphing is concerned, the step command refers to the round-robin archive (RRA) that the data is collected from in the round-robin database. We aren't really concerned with the "step", so much as with the scaling the calculation to display in a time period we are more comfortable with, since we let the tool decide which RRA to choose from based on the width of the graph and the time period we display. (You want to have approximately the same number of data points returned as the number of pixels displayed in your graph, which is 500 pixels wide by default.) |
_______________________________________________ zenoss-users mailing list [email protected] http://lists.zenoss.org/mailman/listinfo/zenoss-users
