Its pretty straight forward if you read the readme but heres a step by step.
Make sure you have 10gb space free
for the rrd data.
Make sure you compiled in porttracker when you installed nfsen you should have
set
--enable-nftrack flag when creating makefile. And nftrack binary is created
where you installed nfsen.
Edit porttracker perl module and change directory whre you want porttrack data.
sed -i 's/data/ports-db/where/you/create/portracker/directory/g'
contrib/PortTracker/PortTracker.pm
Copy frontend and backend from contrib folder of nfsen installation to where
nfsen plugins is installed.
cp contrib/PortTracker/PortTracker.pm /where/your/nfsen/backend/resides
cp contrib/PortTracker/PortTracker.php /whre/your/nfsen/fronted/resides
Create a directory where you want porttracker data.
mkdir /where/you/want/porttracker/data (same as porttracker.pm data path)
chown nfsenuser:nfsengroup /where/you/created/porttracker/data/path
chmod 775 /where/you/created/porttracker/data/path
Then edit nfsen.conf and add the plugin paramaters in the plugin section.
@plugins = (
[ 'live', 'PortTracker'],
;
Now create the rrds this creates the files and eats up 10gb space
sudo -u nfsenuser nftrack -I -d /where/porttracker/directery/now/resides
Check for errors is logs( look for nfsen and porttracker errors)
grep -i nfsen /var/log/messages| less
grep -i porttracker /var/log/messages| less
________________________________
Fra: Satish Dulipudi [d2.sat...@gmail.com]
Sendt: 5. oktober 2012 05:04
To: nfsen-discuss@lists.sourceforge.net
Emne: [Nfsen-discuss] Need help in port tracking plugin
Hi,
I need to include port tracker in nfsen. can anyone please assist me how to
install port tracker in nfsen...
Please give me step-by-step assistance.
Thanks in advance.
Satish
------------------------------------------------------------------------------
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
_______________________________________________
Nfsen-discuss mailing list
Nfsen-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfsen-discuss