summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: c8b285e)
raw | patch | inline | side by side (parent: c8b285e)
author | Florian Forster <octo@huhu.verplant.org> | |
Wed, 9 Dec 2009 07:53:07 +0000 (08:53 +0100) | ||
committer | Florian Forster <octo@huhu.verplant.org> | |
Wed, 9 Dec 2009 07:53:07 +0000 (08:53 +0100) |
bindings/perl/lib/Collectd/Plugins/Monitorus.pm | patch | blob | history |
diff --git a/bindings/perl/lib/Collectd/Plugins/Monitorus.pm b/bindings/perl/lib/Collectd/Plugins/Monitorus.pm
index 2493e36cda9f6528c5d15e5336a44e4f333316a2..1f6c9dac89c4febd8d9d40de146e071c002a5f16 100644 (file)
$prev_value=0;
plugin_register (TYPE_READ, "monitorus", "monitorus_read");
-plugin_register (TYPE_LOG, "monitorus", "monitorus_log");
sub monitorus_read
{
return 1;
}
-# This function is called when plugin_log () has been used.
-sub monitorus_log
-{
- my $level = shift;
- my $msg = shift;
-
- print "LOG: $level - $msg\n";
- return 1;
-} # monitorus_log ()
-
1;