Code

Collectd::Graph::Common.pm: Include Collectd::Unixsock.
authorSebastian Harl <sh@tokkee.org>
Wed, 21 Jan 2009 14:43:45 +0000 (15:43 +0100)
committerSebastian Harl <sh@tokkee.org>
Wed, 28 Jan 2009 18:34:00 +0000 (19:34 +0100)
This module is required to send the "FLUSH" command to collectd using the UNIX
domain socket provided by the "unixsock" plugin.

contrib/collection3/lib/Collectd/Graph/Common.pm

index 6f26fd826b164dec5ade1fc70d56873a90a97dcb..fd1f7b72f447cc69d7957b47e102967ab51a5456 100644 (file)
@@ -5,6 +5,8 @@ use warnings;
 
 use vars (qw($ColorCanvas $ColorFullBlue $ColorHalfBlue));
 
+use Collectd::Unixsock;
+
 use Carp (qw(confess cluck));
 use CGI (':cgi');
 use Exporter;