Giter Club home page Giter Club logo

cgp's People

Contributors

beorn- avatar chihchun avatar erikgrinaker avatar hungerburg avatar jrottenberg avatar kronn avatar poil avatar pommi avatar rvbhute avatar stapelberg avatar sur5r avatar tgharold avatar tomgco avatar xian310 avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

cgp's Issues

host page dynamic refresh of graphs

Need to take the code used on the detail pages to auto-refresh the graphs and bring it over to the hosts page. The aggressiveness value on the host page should probably be a different one then the detail page since a host page might list dozens of graphs.

(Depends on jQuery in order to work.)

snmp-fix branch, interface traffic no longer shows mirrored graph

Prior to coding the snmp-fix branch, interface traffic graphs showed recived/sent bytes/packets with one graph above the zero axis and the other graph below the zero axis.

This bug probably also affects any disk graphs.

Need to fix graph generation to display the old-style graphs with xmit/recv above/below the y-axis zero point.

host page - quick filtering of graphs by identifier

Add a text box which can be used to quickly filter the list of graphs in a particular which are displayed. The best approach will probably be to create and assign multiple classes to each div or img on the page. One class for the p= argument, one for the t= argument and one for the pi=argument.

Possibly include checkboxes which control whether the p=, t= or pi= arguments are searched.

Will require the use of jQuery.

jquery - detail graph dynamic refresh rate

The refresh rate of the graph on the detail page should be calculated on the fly based on an aggressiveness value in the config file along with a true/false flag for turning on auto-refresh.

The aggressiveness value should be range 1..1000, with higher numbers resulting in faster refresh rates. The number of seconds between refreshes can be calculated as (graph width) / (aggressiveness). A default of 200 for the aggressiveness value will probably be fine.

86400 / 200 = 432 seconds between refreshes
7200 / 200 = 36 seconds
28800 / 200 = 144 seconds

For a 1 hour graph (3600 sec), the maximum refresh rate would be 3.6 seconds.

df plugin does not handle df_complex vs df_inodes difference

In collectd 5.3, the df plugin creates (2) sets of files. One is prefixed with "df_complex" the other is prefixed with "df_inodes" (created by "ReportInodes true" setting).

CGP displays both of these as "Free space (device-name)" in the graph headers and uses "Bytes" as the Y-axis label on both. The inodes chart needs to have the y-axis changed and the graph title changed.

Sample filenames:

df_complex-free.rrd
df_complex-reserved.rrd
df_complex-used.rrd
df_inodes-free.rrd
df_inodes-reserved.rrd
df_inodes-used.rrd

snmp plugin fails on complex RRD filenames

CGP cannot graph RRD files for the snmp plugin which have complex filenames (spaces and other characters).

Sample filenames (from different devices, parent directory is always snmp):

if_octets-traffic-PORT-ID#8.rrd
if_packets-packets-discards-PORT-ID#1.rrd

if_packets-packets-errors-3Com Baseline Switch 2948 Plus, Port pommi#9.rrd
if_packets-packets-errors-3Com Baseline Switch 2948 Plus, TRUNK ID 1.rrd
if_packets-packets-errors-3Com Baseline Switch 2948 Plus, Trunk Member Por.rrd
if_packets-packets-errors-3Com Baseline Switch 2948 Plus, VLAN ID 1.rrd
if_octets-traffic-3Com Baseline Switch 2948 Plus, Port #6.rrd
if_octets-traffic-3Com Baseline Switch 2948 Plus, Port #7.rrd
if_octets-traffic-3Com Baseline Switch 2948 Plus, Port #8.rrd
if_octets-traffic-3Com Baseline Switch 2948 Plus, Port pommi#9.rrd
if_octets-traffic-3Com Baseline Switch 2948 Plus, TRUNK ID 1.rrd
if_octets-traffic-3Com Baseline Switch 2948 Plus, Trunk Member Port on Tr.rrd
if_octets-traffic-3Com Baseline Switch 2948 Plus, VLAN ID 1.rrd

if_packets-packets-errors-RMON Port 19 on unit 1.rrd
if_packets-packets-errors-RMON Port 20 on unit 1.rrd
if_packets-packets-errors-Stack Aggregated Link 01.rrd
if_packets-packets-errors-VLAN 00001.rrd
if_packets-packets-multicast-Console Port.rrd
if_packets-packets-multicast-RMON Port 00 on unit 1.rrd
if_packets-packets-multicast-RMON Port 01 on unit 1.rrd

if_octets-traffic-GigabitEthernet1_0_8.rrd
if_octets-traffic-GigabitEthernet1_0_9.rrd
if_octets-traffic-NULL0.rrd
if_octets-traffic-Vlan-interface1.rrd

if_packets-packets-discards-GigabitEthernet1_0_10.rrd
if_packets-packets-discards-GigabitEthernet1_0_11.rrd
if_packets-packets-discards-GigabitEthernet1_0_12.rrd

if_octets-traffic-br0.rrd
if_octets-traffic-eth0.rrd
if_octets-traffic-lo.rrd
if_octets-traffic-ra0.rrd
if_octets-traffic-ra1.rrd
if_octets-traffic-ra2.rrd
if_octets-traffic-ra3.rrd
if_octets-traffic-ra4.rrd
if_packets-packets-discards-br0.rrd
if_packets-packets-discards-eth0.rrd
if_packets-packets-discards-lo.rrd
if_packets-packets-discards-ra0.rrd
if_packets-packets-discards-ra1.rrd
if_packets-packets-discards-ra2.rrd
if_packets-packets-discards-ra3.rrd
if_packets-packets-discards-ra4.rrd
if_packets-packets-errors-br0.rrd
if_packets-packets-errors-eth0.rrd
if_packets-packets-errors-lo.rrd
if_packets-packets-errors-ra0.rrd
if_packets-packets-errors-ra1.rrd
if_packets-packets-errors-ra2.rrd
if_packets-packets-errors-ra3.rrd
if_packets-packets-errors-ra4.rrd
if_packets-packets-multicast-br0.rrd
if_packets-packets-multicast-eth0.rrd
if_packets-packets-multicast-lo.rrd
if_packets-packets-multicast-ra0.rrd
if_packets-packets-multicast-ra1.rrd
if_packets-packets-multicast-ra2.rrd
if_packets-packets-multicast-ra3.rrd
if_packets-packets-multicast-ra4.rrd
if_packets-packets-unicast-br0.rrd
if_packets-packets-unicast-eth0.rrd
if_packets-packets-unicast-lo.rrd
if_packets-packets-unicast-ra0.rrd
if_packets-packets-unicast-ra1.rrd
if_packets-packets-unicast-ra2.rrd
if_packets-packets-unicast-ra3.rrd
if_packets-packets-unicast-ra4.rrd

Possibly confused by the configuration of the snmp plugin:

<Data "traffic">
# The total number of octets received on the interface,
# including framing characters.
Type "if_octets"
Table true
InstancePrefix "traffic-"
Instance "IF-MIB::ifDescr"
Values "IF-MIB::ifInOctets" "IF-MIB::ifOutOctets"

Except that the following devices does at least graph the traffic correctly:

if_octets-traffic-HP ETHERNET MULTI-ENVIRONMENT,ROM G.07.02,JETDIRECT,JD3.rrd
if_packets-packets-discards-HP ETHERNET MULTI-ENVIRONMENT,ROM G.07.02,JETD.rrd
if_packets-packets-errors-HP ETHERNET MULTI-ENVIRONMENT,ROM G.07.02,JETDIR.rrd
if_packets-packets-multicast-HP ETHERNET MULTI-ENVIRONMENT,ROM G.07.02,JET.rrd
if_packets-packets-unicast-HP ETHERNET MULTI-ENVIRONMENT,ROM G.07.02,JETDI.rrd

network plugin ReportStats true not suppored in CGP

If the network plugin is configured with "ReportStats true", then it creates RRD files named:

if_octets.rrd
if_packets.rrd
queue_length.rrd
total_values-dispatch-accepted.rrd
total_values-dispatch-rejected.rrd
total_values-send-accepted.rrd
total_values-send-rejected.rrd

CGP does not support the network plugin.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.