lists.netmrg.net lists.netmrg.net
NetMRG discussion and support
 
FAQ :: Search :: Memberlist :: Usergroups :: Register
Profile :: Log in to check your private messages :: Log in

Disk monitoring problem

 
Post new topic   Reply to topic    lists.netmrg.net Forum Index -> Support
Author Message
ras1
Beginner


Joined: 31 Aug 2003
Posts: 9

PostPosted: Mon Sep 01, 2003 7:05 pm    Post subject: Disk monitoring problem Reply with quote

Everything is working great here, but for some reason I can't monitor the hard disks on any of my linux hosts. For 2 hosts it recognizes the / partition, but doesn't seem to get any information in the graphs. I played with it quite a bit and can't seem to get it to work properly.

Thanks for you time,

ras1
Back to top
balleman
Site Admin


Joined: 20 Jan 2003
Posts: 282

PostPosted: Thu Sep 04, 2003 1:17 am    Post subject: Disk Graphing Reply with quote

NetMRG's disk graphing uses the UCD disk MIB (as opposed to the Host disk MIB which is sometimes used). The snmpd.conf on the monitored host needs go have lines like this for each partition:
Code:
disk /


When this is done, you should be able to get information from snmpwalk:
Code:
[balleman@pine balleman]$ snmpwalk -v1 -cpublic oak dskPath
UCD-SNMP-MIB::dskPath.1 = STRING: /
UCD-SNMP-MIB::dskPath.2 = STRING: /storage


This information (and a bit more) should be present in View Disk Cache (on the Devices page). If the info there isn't correct or complete, or the link is disabled (meaning the cache is empty), click Recache Disks to have NetMRG poll them again.

The current NetMRG doesn't have a "Monitor/Graph Disk" option as it does for network interfaces (laziness on my part). For now, you'll have to do it manually. For each disk you want to monitor, create a new subdevice ("disk" type). For indexing purposes, you'll need to add a parameter to this subdevice. A parameter with name "dskPath" and value "/storage" will monitor a partition mounted on "/storage" but you can also use "dskDevice" if you know the device (i.e. "/dev/hda1") or "dskIndex" if you want to match it with a fixed index. After the parameter has been added, you can add the monitors to the subdevice (Disk - Used and Disk - Available are what I normally use).

If you've already done all of that, we can look over the output of the gatherer to see what's wrong. Please let us know if you get it working or have more problems.
Back to top
ras1
Beginner


Joined: 31 Aug 2003
Posts: 9

PostPosted: Thu Sep 04, 2003 8:18 pm    Post subject: Thanks that did it. Reply with quote

Thanks for the help. I was able to get that to work no problem, however when I make a custom graph I am able to change the multiplier to 1000 so it shows MB instead of kb, but I don't see a place to change this for the mini graphs. It's not really a big deal for me, but for other people they may think it's lying to them :) Keep up the good work folks!

thanks again for all the help,

ras1
Back to top
balleman
Site Admin


Joined: 20 Jan 2003
Posts: 282

PostPosted: Fri Sep 05, 2003 3:02 am    Post subject: disk graphing Reply with quote

Yeah, I forgot to mention that "gotcha." Seems strange to me that they'd pick a non-base unit for reporting disk sizes, but the Host MIB is worse (uses block counts, I believe).

Of course, these issues are trivial compared to the DS1-MIB which has nothing in it which can be graphed as a gauge or counter with any meaning... thanks AT&T!

Anyhow, I'm glad you've got it working. Disk graphing should be as 'one-click' easy as interfaces in pre2 (mid- to late-month, hopefully). Thanks for helping us get the bugs worked out!
Back to top
Display posts from previous:   
Post new topic   Reply to topic    lists.netmrg.net Forum Index -> Support All times are GMT
Page 1 of 1

 



smartBlue Style © 2002 Smartor
Powered by phpBB © 2001, 2002 phpBB Group