From: Buchan M. <bg...@st...> - 2007-12-31 11:33:14
|
On Friday 14 December 2007 20:01:05 Stewart, Tom L. wrote: > Here are some additional details. If we can get a TABLE with nohtml and > no ":" then I can use the standard "disk" column in Hobbit to graph by > setting the message file to output and look like a normal disk column in > Hobbit. I tried it like this, by adding a "plain" option for TABLE (see attached patch against current svn), however this doesn't do what we need, as Hobbit expects exact spacing. I'll see if it is easy enough to run it through a printf instead (and, maybe change the option name, or add another one), so that we can easily format the output. (I'm currently testing against a WRT45GL running OpenWRT, which, until I get hobbit built for OpenWRT, would benefit from a template like this). > The problem is that I don't know any way to display branch data without > a "TABLE:" > > Here is the oids file: > NSDiskName : .1.3.6.1.4.1.5951.4.1.1.41.8.1.1 : branch > NSDiskSize : .1.3.6.1.4.1.5951.4.1.1.41.8.1.2 : branch > NSDiskAvail : .1.3.6.1.4.1.5951.4.1.1.41.8.1.3 : branch > NSDiskUsed : .1.3.6.1.4.1.5951.4.1.1.41.8.1.4 : branch > NSDiskPerUse : .1.3.6.1.4.1.5951.4.1.1.41.8.1.5 : branch > > > Here is the message file: > > TABLE: > Filesystem|Size|Used|Available|Percent Used > {NSDiskName}|{NSDiskSize} MB|{NSDiskUsed} MB|{NSDiskAvail} > MB|{NSDiskPerUse.color} {NSDiskPerUse}% > [...] > > -----Original Message----- > From: dev...@li... > [mailto:dev...@li...] On Behalf Of > Buchan Milne > Sent: Thursday, December 13, 2007 10:41 AM > To: dev...@li... > Cc: Stewart, Tom L. > Subject: Re: [Devmon] Devmon enhancement request > > On Monday 10 December 2007 19:14:15 Stewart, Tom L. wrote: > > I have created a template for the NetScaler 9000. One of the things > > that > > > would be nice is to present the file systems in the same manner as > > disk > > > usage from a system. > > > > I need to specify "TABLE:" in message to get the information from a > > branch. (unless someone knows a different way) > > > > However, what I need is a nonhtml format without the ":". That way I > > can > > > use the message file to present the data just like a normal hobbit > > client report. > > Can you provide your messages file, and the format of the data that > devmon is > sending (from view->source on the hobbit page for the test)? |