NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
KJ
Feb 05, 2007Aspirant
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...
saxofon
Aug 12, 2007Aspirant
Hi Gurutek,
Well, you say you can monitor som PC's using MRTG.
Good, then you are almost home!
Cut&paste my mrtg "code" into a file (i call it raid1.inc)
You need to tweak it a little bit to match your setup,
at least the "target" rules needs to be redefined for your host
[root@mms mrtg]# grep Target raid1/raid1.inc
Target[raid1_eth]: 3:public@raid1
Target[raid1_fan]: .1.3.6.1.4.1.11500.1.4.1.2.0&.1.3.6.1.4.1.11500.1.4.1.2.0:public@raid1
Target[raid1_temp]: .1.3.6.1.4.1.11500.1.5.1.2.0&.1.3.6.1.4.1.11500.1.5.1.2.0:public@raid1
Target[raid1_vol]: .1.3.6.1.4.1.11500.1.7.1.5.1&.1.3.6.1.4.1.11500.1.7.1.6.1:public@raid1
[root@mms mrtg]#
The last "raid1" word in above lines should be the IP (or hostname if your dns things are
ok) that points to your ReadyNAS box.
I don't think you need to use the infrant MIB since the snmp variable is numerically
specified instead of via symbols.
In your top mrtg config file (usually /etc/mrtg/mrtg.cfg) you can
include this file like:
include: raid1.inc
Thereafter, you just issue the commands to generate html/mrtg files as you've done before.
It aint difficult at all :roll:
Well, you say you can monitor som PC's using MRTG.
Good, then you are almost home!
Cut&paste my mrtg "code" into a file (i call it raid1.inc)
You need to tweak it a little bit to match your setup,
at least the "target" rules needs to be redefined for your host
[root@mms mrtg]# grep Target raid1/raid1.inc
Target[raid1_eth]: 3:public@raid1
Target[raid1_fan]: .1.3.6.1.4.1.11500.1.4.1.2.0&.1.3.6.1.4.1.11500.1.4.1.2.0:public@raid1
Target[raid1_temp]: .1.3.6.1.4.1.11500.1.5.1.2.0&.1.3.6.1.4.1.11500.1.5.1.2.0:public@raid1
Target[raid1_vol]: .1.3.6.1.4.1.11500.1.7.1.5.1&.1.3.6.1.4.1.11500.1.7.1.6.1:public@raid1
[root@mms mrtg]#
The last "raid1" word in above lines should be the IP (or hostname if your dns things are
ok) that points to your ReadyNAS box.
I don't think you need to use the infrant MIB since the snmp variable is numerically
specified instead of via symbols.
In your top mrtg config file (usually /etc/mrtg/mrtg.cfg) you can
include this file like:
include: raid1.inc
Thereafter, you just issue the commands to generate html/mrtg files as you've done before.
It aint difficult at all :roll:
Related Content
NETGEAR Academy
Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!