| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
| |
Like mentioned in the comment on the website below, I think there is no
problem a source contains dots. For now, this line is removed.
http://pommi.nethuis.nl/2010/01/collectd-graph-panel-v0-2/#comment-177
|
|
|
|
|
|
|
|
|
| |
Since I'm using a non standard installation of rrdtool, I always
have to define the --font options when colling the rrdtool binary.
I tried to implement this change in a general way to define locally
rrdtool options in the config.local.php.
Signed-off-by: Edmondo Tommasina <edmondo@eriadon.com>
|
|
|
|
|
|
| |
Solaris uses 3 memory states: free, locked and used.
Reported by: Edmondo Tommasina
|
|
|
|
|
|
| |
Since commit 95c70c919 [rewrite of type classes] cpu graphs of hosts running
a 2.4 Linux kernel or Solaris were not displayed. Function rrd_get_sources
must return an array with a consecutive index of numbers.
|
| |
|
|
|
|
|
|
|
| |
The identifier is needed to send the FLUSH command to the UnixSock plugin.
Partly revert of commit:
596dd7d41 [make rrdfiles using utf8 and spaces work]
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Types GenenericIO and GenericStacked were not included in commit:
596dd7d414 [make rrdfiles using utf8 and spaces work]
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
'on $host' doesn't have to be added manually to rrd_title anymore.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
| |
The relative path to an rrd file can be generated based on host, plugin,
plugin instance, type and type instance. In this case path_format is not
needed anymore.
This commit includes code based on the collectd_identifier function from
php-collection by Bruno Prémont.
|
|
|
|
|
| |
Include information in the title about the host, plugin,
plugin instance, type and type instance.
|
| |
|
| |
|
| |
|
| |
|