Hi,
Im trying to set up Nfsen on openbsd. when i try installing by running ./install.pl etc/nfsen.conf i get the following error. i guess i am missing out something. Any ideas please
Code:
# ./install.pl etc/nfsen.conf
Can't locate RRDs.pm in @INC (@INC contains: ./libexec ./installer-items /usr/libdata/perl5/i386-openbsd/5.10.0 /usr/local/libdata/perl5/i386-openbsd/5.10.0 /usr/libdata/perl5 /usr/local/libdata/perl5 /usr/local/libdata/perl5/site_perl/i386-openbsd /usr/libdata/perl5/site_perl/i386-openbsd /usr/local/libdata/perl5/site_perl /usr/libdata/perl5/site_perl .) at libexec/NfSenRRD.pm line 38.
BEGIN failed--compilation aborted at libexec/NfSenRRD.pm line 38.
Compilation failed in require at libexec/NfSen.pm line 43.
BEGIN failed--compilation aborted at libexec/NfSen.pm line 43.
Compilation failed in require at ./install.pl line 44.
BEGIN failed--compilation aborted at ./install.pl line 44.
my nfsen.conf is
Code:
$BASEDIR = "/data/nfsen-1.3";
$HTMLDIR = "/var/www/nfsen/";
$PROFILEDATADIR=${BASEDIR}/profiles-stat";
$USER = "netflow";
$WWWUSER = "www";
$WWWGROUP = "www";
%sources = (
'01' => { 'port' => '9999', 'col' => '#ff0000', 'type' => 'netflow' },
);
and i guess i have all the required programs
Code:
# pkg_info
gettext-0.17p0 GNU gettext
libart-2.3.20p0 high-performance 2D graphics library
libiconv-1.12 character set conversion library
libxml-2.6.32p2 XML parsing library
nfdump-1.5.7 tools to collect and process netflow data
p5-Mail-Tools-2.04 modules for handling mail with perl
p5-Time-TimeDate-1.16p0 library for parsing and formatting dates and times
php5-core-5.2.8p0 server-side HTML-embedded scripting language
png-1.2.33 library for manipulating PNG images
rrdtool-1.2.30 system to store and display time-series data
wget-1.11.4 retrieve files from the web via HTTP, HTTPS and FTP