You are most likely recording a Counter. Basically what is happening is that RRD is recording the difference between the last recorded counter value and the current value and deviding it by the number of seconds that have elapsed. So if you have a 5 minute step between recording values (300 seconds) and the counter increments 1 for 1 login attempt, it records 1/300 in the RRD database, giving you a fraction of a login attempt each second.

You can either change the value recorded in the database or change the value displayed on the graph. To change the value in the database, simply add and RPN of "300,*" to convert to attempts per 5 minute period (or 60 for per minute, or 3600 for per hour). While this is easier, you are skewing the values that will be recorded if your device does not record every 5 minutes. You can write a custom RRD graph command to modify what is displayed. I have a counter that records pages per hour (but actually does it on the hour, instead of recording every five minutes.) I use the following Custom RRD command for a counter called pageCount_pagePerHour.

CDEF:totalPageCount=pageCount_pagePerHour,3600,*
AREA:totalPageCount#00cc00:Page Per Hour

If you had a data source named loginAttempts_loginAttempts, you might use:

CDEF:totalAttempts=loginAttempts_loginAttempts,60,*
AREA:totalAttempts#00cc00:Login Attempts per Minute

klinstifen wrote:
I am attempting to graph connection attempts to my server. I have the correct OID (snmpget works and Zenoss is getting data) but the graphs look a little off. If I pull up good 'ole perfmon (my server is W2k3) I see the connections spike at about 5 a second, but for the most part hover around 1-2/sec.
Now, my graphs show a different thing.  I wanted to attach a picture but can't seem to 
find the "attach file button".  They show:

cur: 14.5m
avg: 80.05m
max: 331.86m

m as in milli?  I think the math being applied to the gathered values is a tad 
off.  Perhaps my step interval is too short?  Anyone have an idea why the count 
would be so low?

The datapoint is configured as DERIVE with a minimum value of 0.  No special 
create commands or custom graph definitions. [/img]




-------------------- m2f --------------------

Read this topic online here:
http://community.zenoss.com/forums/viewtopic.php?p=13300#13300

-------------------- m2f --------------------



_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users

_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users

Reply via email to