Linux LVM and graphing filesystem utulization

Post support questions that directly relate to Linux/Unix operating systems.

Moderators: Developers, Moderators

Post Reply
kperrier
Posts: 2
Joined: Fri Nov 18, 2005 1:59 pm

Linux LVM and graphing filesystem utulization

Post by kperrier »

I am setting up cacti and one of the things I want to chart is filesystem utilization. We use the LVM and unfortunately the title of the charts get truncated on the LVM name to /dev/mapper/vg and I do not see a way to correlate the filesytem being graphed to the specific filesystem on the server. I am using the "Unix - Available Disk Space" graphing template.

I have attempted to use the search to find a post about this, but I have not had any luck in finding a post for this issue.

Can someone point me either a template change to display the name of the filesystem and not the logical volume name or a way to find out the complete name of the logical volume so I can manually edit the graph title?

Thanks!

Kent
kperrier
Posts: 2
Joined: Fri Nov 18, 2005 1:59 pm

Post by kperrier »

Wow, no one?
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

Well, because the default template doesn't support the mount point.

I know that the MIB exposes the mount point, but it will take some work on your part to modify the script server and xml resource file to expose the mount point so you can use it in the graph and data source titles.
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Please find some help for this task at the first link of my signature. Scroll down to the Script Data Query Section
Reinhard
M.D. Klapwijk
Posts: 1
Joined: Wed Jul 29, 2009 5:46 am

Post by M.D. Klapwijk »

Seems that the query_dskDevice breaks on the "-" in the lvm mapper naming convention.

/dev/mapper/vg-music results in the graph being named /dev/mapper/vg-

Still present in 0.8.7b
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

M.D. Klapwijk wrote:Still present in 0.8.7b
Please verify on 087e, which is current. If would then consider this as a bug
Reinhard
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest