[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Hobbit Graphs



All,
I have been working on setting up graphs in Hobbit for router cpu 
utilization. I am retrieving the data from a MS SQL Server database and 
then sending it along to hobbit directly to the TCP port. The messages are 
in the following format:

inerrors:39
outerrors:61
mbps:4.125
percentutil:47.214

For certain devices, it will create a graph while others it doesn't work. 
I have three devices, and only one works. However, the data is sent 
exactly the same way for all three. Also, I can't figure out how to create 
the graph so that it displays the current, max, min and avg numbers on the 
bottom and draws a line for the current value. I have the following in 
hobbitgraph.cfg:

[wanbwutil]
        TITLE WAN Bandwidth Utilization
        YAXIS Value
        DEF:in=wanbwutil.rrd:inerrors:AVERAGE
        DEF:out=wanbwutil.rrd:outerrors:AVERAGE
        DEF:mb=wanbwutil.rrd:mbps:AVERAGE
        DEF:pct=wanbwutil.rrd:percentutil:AVERAGE
        LINE2:in#00CCCC:In Errors
        LINE2:out#FF0000:Out Errors
        LINE2:mb#FF0000:Mbps
        LINE2:pct#FF0000:Percent Utilization
        -u 100
        COMMENT:\n
        GPRINT:in:LAST:In Errors \: %5.1lf%s (cur)
        GPRINT:in:MAX: \: %5.1lf%s (max)
        GPRINT:in:MIN: \: %5.1lf%s (min)
        GPRINT:in:AVERAGE: \: %5.1lf%s (avg)\n
        GPRINT:out:LAST:Out Errors \: %5.1lf%s (cur)
        GPRINT:out:MAX: \: %5.1lf%s (max)
        GPRINT:out:MIN: \: %5.1lf%s (min)
        GPRINT:out:AVERAGE: \: %5.1lf%s (avg)\n
        GPRINT:mb:LAST:Mbps \: %5.1lf%s (cur)
        GPRINT:mb:MAX: \: %5.1lf%s (max)
        GPRINT:mb:MIN: \: %5.1lf%s (min)
        GPRINT:mb:AVERAGE: \: %5.1lf%s (avg)\n
        GPRINT:pct:LAST:Percent Utilization \: %5.1lf%s (cur)
        GPRINT:pct:MAX: \: %5.1lf%s (max)
        GPRINT:pct:MIN: \: %5.1lf%s (min)
        GPRINT:pct:AVERAGE: \: %5.1lf%s (avg)\n

I derived this from the example included in the installation. 
One other question: While sending the alerts to Hobbit, where is the time 
stamp derived from? (i.e. x-axis). Ideally, I would like to supply this in 
the actual message because the data I am receiving could be minutes or 
hours old and shouldn't use the current time. It might contain the cpu 
utilization for the last three hours for every hour.

Any help is greatly appreciated.

Thanks,


Mark Nazzaro
Deutsche Bank AG, 100 Plaza Two, Jersey City, NJ, 07311-3901, USA
 
 
 electronic trading services


 

---
This communication may contain confidential and/or privileged information.
If you are not the intended recipient (or have received this communication
in error) please notify the sender immediately and destroy this
communication. Any unauthorized copying, disclosure or distribution of the
material in this communication is strictly forbidden.

Deutsche Bank does not render legal or tax advice, and the information
contained in this communication should not be regarded as such.