NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.

Forum Discussion

KJ's avatar
KJ
Aspirant
Feb 05, 2007

MRTG config info

Since I have been struggling to figure this out, I thought I would share my mrtg.cfg file set up to monitor eth0 on our ReadyNAS NV+:

### Global Config Options
# to get bits instead of bytes and graphs growing to the right
# Options[_]: growright, bits

EnableIPv6: no
LoadMIBs: /home/username/www/mrtg/INFRANT.MIB
WorkDir: /home/username/www/mrtg
Options[_]: bits, growright

######################################################################
# System: ReadyNAS
# Description: Linux ReadyNAS 2.4.20-3.00c1.0 Wed Nov 29 15:20:42 PST 2006 sparc
# Contact: root
# Location: Unknown
######################################################################
Target[nas]: 3:public@192.168.1.17:
SetEnv[nas]: MRTG_INT_IP="" MRTG_INT_DESCR="public"
MaxBytes1[nas]: 1000000000
MaxBytes2[nas]: 1000000000
Title[nas]: Traffic Analysis for ReadyNAS
PageTop[nas]: <H1>Traffic Analysis for ReadyNAS at 192.168.1.17</H1>


I couple of FYIs here:
The MIB might not even be necessary for the network statistics, but you can download it from the Infrant website here:
http://www.infrant.com/download/INFRANT-MIB.txt

This was on a NetBSD box, so your path to the username directory may look different (or wherever you decide to put it). You'll have to fill in the correct path/username. The IP address will be different as well.

That all being posted... does anyone know how to set up a config to show the volume statistics? (used, free, total)

Thanks!
KJ

11 Replies

Replies have been turned off for this discussion

NETGEAR Academy

Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology! 

Join Us!

ProSupport for Business

Comprehensive support plans for maximum network uptime and business peace of mind.

 

Learn More