Useful Links:

Multiple bars

Description

This gadget creates multiple horizontal bars from the performance data of the service connected to it. It is based on the filesystem usage bar from Richard Leitner. Where that gadget can only draw one bar, this one draws bars for all filesystems covered. Obviously it could also be used for other performance data, but I haven't tried that yet.

The gadget accepts the same options. Watch out for the scaling. Nagvis does not accept figures below 1 for the scale, so I had to make a change to accept figures above 1, which are now interpreted as percent figures (e.g. 30 = 30%).  Default bar size is 1000px * 80px, bars are separated by a gap of 10px.

The label printed into the bar is taken from the performance data and passed through a simple routine to shorten it (often the perfdata for Windows drives shows the UUID, which is very annoying in the display).

If you have any suggestions on how to improve this, feel free to contact me at wolfgangs at manticoreit dot com.

Submitted By
Wolfgang Schulze-Zachau (wolfgangs)
Submitted On
2011-11-03
File Size
2.35 Kb
Downloads
2485
License
Copyright (c) 2011 by Wolfgang Schulze-Zachau License: This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 2 as published by the Free Software Foundation. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA
File Version
1.0
Download
Rating
Total Votes1
Be the first to comment! Please sign in or register.