aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/inc (unfollow)
Commit message (Collapse)AuthorFilesLines
2013-08-24inc/collectd.inc.php: typoPim van den Berg1-1/+1
2013-08-24inc/collectd.inc.php: don't group type instances when snmp + if_octetsPim van den Berg1-1/+4
The snmp plugin is saving if_octets this way: <host>/snmp/if_octets-<port>.rrd Where the interfaces plugin is saving if_octets with this structure: <host>/interface-<port>/if_octets.rrd
2013-06-22add viewport meta tag for better experience on mobile devicesPim van den Berg1-0/+1
2013-06-22overview: add color to load averagesPim van den Berg1-4/+11
The load average number turns: * orange When the load is higher than the number of cpu cores. * red When the load is more than twice as high as the number of cpu cores.
2013-06-22start using fieldset + legend for showing dataPim van den Berg1-3/+6
2013-05-18integrate jsrrdgraph in CGPPim van den Berg3-6/+61
2013-03-30rewrite some code of added overview_filter featurePim van den Berg1-7/+4
Use less variables, less code.
2013-03-30add feature to show a subset of graphs from a plugin on overview pageRohit Bhute1-1/+12
2013-02-09inc/collectd.inc.php: remove . and .. from scandir before foreachPim van den Berg1-2/+2
Reported-by: Reza (http://pommi.nethuis.nl/collectd-graph-panel-v0-3/#comment-26990)
2012-12-28remove arguments overview_plugins and other_plugins from plugins_list functionPim van den Berg1-11/+24
Those can be gathered within the function.
2012-12-28don't show plugins the host doesn't havePim van den Berg1-2/+4
2012-12-28resolve php warning/notices when plugin doesn't existPim van den Berg2-0/+9
For example when a non existing plugin is defined in $CONFIG['overview'] it causes a lot of php warnings/notices.
2012-12-21remove ajax js codePim van den Berg1-1/+0
This isn't needed with the new navigation menu anymore.
2012-12-21remove in-html comments by xian310Pim van den Berg1-1/+1
2012-12-21replace the ajax expand system by a navigation menuxian3101-12/+47
Signed-off-by: Pim van den Berg <pim@nethuis.nl>
2012-10-20explicitely defined undefined variablesMatthias Viehweger1-4/+4
this should keep the error.log clean
2012-10-20change whitespace, indentation or line-breaksMatthias Viehweger1-4/+4
2012-09-07add support for varnish plugin categoriesPim van den Berg2-21/+18
Since commit collectd-4.10.0-88-g02e12db the varnish plugin groups collected values in categories. The collectd filestructure used for varnish is now: <plugin>-<category>-<plugin_instance>/<type>-<type_instance> Because this isn't distinguishable from a regular plugin like df, ... df-var-tmp/df_complex-free.rrd ("var" isn't the category here) ... the category is only set with the varnish plugin. Reported-by: Jonathan Huot <jonathan.huot@gmail.com>
2011-12-03order graphs by pi, t, tiPim van den Berg1-0/+13
2011-10-08include trailing slash in config weburl variablePim van den Berg2-6/+6
When running CGP in the root, the header didn't link to the overview page because the href was empty. Reported-by: Nikoli <Nikoli@lavabit.com>
2011-07-04plugin/libvirt: collectd 5 compatibilityPim van den Berg1-2/+3
2011-07-04plugin: add libvirt pluginPim van den Berg1-1/+1
2011-06-15log unixsock errors instead of printing themPim van den Berg1-6/+6
These errors got concatenated in front of the image, which resulted in an invalid image.
2011-04-21resolve php noticesKarol Nowacki2-10/+17
Including a lot of undefined $_GET values.
2011-03-10fallback to non-annotated tags in version detectionPim van den Berg1-1/+1
2011-03-09add version information to footerPim van den Berg1-1/+15
2011-03-01add links to footerPim van den Berg1-1/+2
2010-10-04inc/collectd: improve determining which files to group in 1 graphPim van den Berg1-33/+44
Previously graphs were created by collecting and merging all PIs, Ts and TIs separately. This went wrong when a part of a plugin had a PI and another part had not (processes plugin). It also went wrong when a P-PI combination had different Ts and TIs (bind plugin). This is solved by using grouped and deduplicated plugindata. -- P = plugin, PI = plugin instance, T = type, TI = type instance
2010-09-19inc/collectd: simplify the way collectd_plugindata gathers its dataPim van den Berg1-23/+10
A couple of preg_replaces are replaced by one simple but effective preg_match.
2010-06-26default graph time range is now configurable (not only for uptime)Pim van den Berg1-3/+5
2010-06-22use the same time range for the link to the detail pagePim van den Berg1-4/+7
2010-06-22Default time range on the summary page is now configurableManuel CISSÉ1-1/+3
2010-06-05remove php gd dependencyPim van den Berg1-0/+6
Image error messages were shown using PHP GD. People who haven't installed PHP GD don't understand what is going on when an image is not shown. It is replaced by a static image referring to the error log for more information.
2010-05-29Define alternating odd/even css classes for rows in main summaryEdmondo Tommasina1-1/+7
To select different background colors for the rows in the main summary page, just uncomment the tr.odd/tr.even background definition in layout/style.css and set the color.
2010-03-06configuration option to show load averages on overview pagePim van den Berg1-14/+16
2010-02-16make rrdfiles using utf8 and spaces workJakob Haufe1-3/+6
2010-01-12add compatibility if rrdinfo doesn't work as expectedPim van den Berg1-3/+17
2010-01-12make rrdtool executable configurablePim van den Berg2-2/+13
2010-01-01show all type instances in one graphPim van den Berg1-1/+3
Planned for collectd version 5.0 is to move the type instance of plugins df and interface to the plugin instance (see source). From version 5.0 the default is to group data from a type instance OR data source in one graph. In case of version 4 there are only 2 plugins to exclude from this: df and interface. Source: http://collectd.org/wiki/index.php/Plans_for_5.0
2010-01-01better validation of possible user input (get)Pim van den Berg3-5/+37
2009-12-31rewrite of type classesPim van den Berg1-17/+0
A constructor is added to the Type_Default class. The constructor will parse GET values (such as host, plugin, pinstance, type, tinstance, seconds), create an array of all needed rrd files to generate a graph and substract identifiers from these rrd files. Because of the constructor (and related functions) it is not needed to define an array of tinstances to be grouped and shown in one graph. Also $obj->args don't have to be defined per plugin. This will result in smaller plugin files. The type classes are based on the fact that a plugin has multiple type instances OR multiple rrd data sources. This is called the source and is retrieved by rrd_get_sources in each rrd_gen_graph function. Also variables in function rrd_gen_graph have been renamed to better ones.
2009-12-28replace duplicate code by function plugin_headerPim van den Berg1-0/+16
2009-12-05load plugins on the host page via ajaxPim van den Berg1-0/+1
2009-11-04code cleanup in rrdtool classPim van den Berg1-3/+0
2009-11-04add unixsock flush supportPim van den Berg2-0/+83
Via the UnixSock plugin of Collectd it is possible to send commands to the Collectd daemon. One of the commands is the FLUSH command, which you can use to let the daemon write cached data to the rrd files. CGP uses the FLUSH command before generating a graph and before showing the load information on the main page. In this case the information shown via CGP is always up-to-date. Also when you have configured the RRDTool plugin of Collectd with a CacheTimeout setting. This commit includes code based on functions collectd_identifier and collectd_flush from php-collection by Bruno Prémont.
2009-10-25make dynamic title more detailedPim van den Berg1-4/+17
Include information in the title about the host, plugin, plugin instance, type and type instance.
2009-10-11remove code duplication from function graphs_from_pluginPim van den Berg1-21/+5
2009-10-10dynamic titlePim van den Berg1-1/+7
Show the host and plugin in the title to have a better browsing history.
2009-09-29make width and heigth of graphs configurablePim van den Berg1-2/+2
These configuration options have been added: - width - heigth - detail-width - detail-heigth
2009-09-29layout improvement based on daniel's patchPim van den Berg1-0/+9
The page is divided into a header, content and footer. It is styled better and the header links to the main page. Patch from Daniel von Fange (Leancoder): http://pommi.nethuis.nl/storage/software/cgp/leancoder-css.cgp-v-0-1.patch