aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/plugin/snmp.php (unfollow)
Commit message (Collapse)AuthorFilesLines
2012-09-05plugin/snmp: add support for if_octetsPim van den Berg1-4/+22
The types used in the SNMP plugin aren't user defined, but defined in types.db. Because of the assumption that they were user defined, the patch supplied by Neptune Ning wasn't accepted. His patch has now been merged with this commit. A little fallback has been added to catch types that aren't defined in our code yet. Reference: https://github.com/pommi/CGP/pull/1 Contributed-by: Neptune Ning (Plan) <frostyplanet@gmail.com>
2012-08-12plugin: add snmp pluginPim van den Berg1-2/+3
This is a very basic SNMP plugin.
2012-08-10plugin/tail: change to default graph typePim van den Berg1-2/+2
When measuring multiple things, they don't need to be stacked in most cases. Reported-by: Philipp Hellmich <Philipp.Hellmich@Bertelsmann.de>
2011-04-10plugin: add tail pluginPim van den Berg1-2/+2
2011-02-05replace function generate_colors by rainbow_colorsPim van den Berg1-1/+0
When no colors are defined they will be generated by function rainbow_colors.
2010-10-10plugin: remove php close tagsPim van den Berg1-1/+0
2010-10-04plugin: add bind pluginPim van den Berg1-8/+3
Very basic support for bind.
2010-03-01automatically generate colors for graphs (irq plugin)Pim van den Berg1-0/+1
2010-01-12make rrdtool executable configurablePim van den Berg1-1/+1
2009-12-31rewrite of type classesPim van den Berg1-20/+3
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-31always show 'on $host' in the rrd titlePim van den Berg1-1/+1
'on $host' doesn't have to be added manually to rrd_title anymore.
2009-11-04add unixsock flush supportPim van den Berg1-0/+2
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-11-04remove path_format from pluginsPim van den Berg1-1/+0
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.
2009-09-28change webdir/weburl and include/require usagePim van den Berg1-3/+3
- Don't depend on includes from files that are included. - Don't use webdir with includes/requires (also because webdir couldn't be available in some cases). - Use common.inc.php instead of config.php in all plugins to have all configuration settings available.