[Xymon] XymonPowershellClient RRD collect graphing long mountpoint names

Ang, Denver Denver.Ang at tamucc.edu
Fri Feb 27 20:19:40 CET 2015


The latest commit is working as intended. Thanks for the update.

Denver

From: zak.beck at accenture.com [mailto:zak.beck at accenture.com]
Sent: Thursday, February 26, 2015 3:25 AM
To: g.stone-tolcher at its.uq.edu.au; Ang, Denver
Cc: xymon at xymon.com
Subject: RE: XymonPowershellClient RRD collect graphing long mountpoint names

Hi

Yes, I had anticipated this and you can see I attempted to deal with it via truncation and the ellipsis (...). However, I can see how this wasn't the greatest idea :)

I do quite like going back to the BBWin source in these situations and trying to work out how it did it. What I think it does in this case, at least for some of the columns, is adjust the column width to the widest value. This makes sense - it means the formatting does not look really odd when you have short values.

I have committed a change that does similar - the Filesystem, Mountpoint and Label fields will be sized to fit the largest data. Seems to work with my test mountpoint. Because the full text is now reported in, the mountpoints are now unique and I'm hoping this will fix the graphing.

As I see it, the problem with just using the label is that it doesn't always reflect the actual path - which may be OK if you are familiar with the system in question, but if you have on-call staff who do not frequently work on your environment but are there just in case, I can imagine it could get confusing when they get called out on the back of an alert.
Zak

From: Gavin Stone-Tolcher [mailto:g.stone-tolcher at its.uq.edu.au]
Sent: 26 February 2015 01:10
To: 'Ang, Denver'; Beck, Zak
Cc: xymon at xymon.com<mailto:xymon at xymon.com>
Subject: RE: XymonPowershellClient RRD collect graphing long mountpoint names

I think what to do with very long mount point names is going to be an issue.

I have a suggestion for Zak that he might consider.
You could use the "Label" in the "Mounted" field rather than the Filesystem, if the Filesystem is not a single letter driveletter (i.e not a mount point).

It seems that most people, like the example below, use short unique Labels for their mount points. This could make RRD collection/graphing work more reliably?


Cheers
Gavin Stone-Tolcher, IT Support Officer, Network Operations and Incident Response
Information Technology Services
The University of Queensland
Level 4, Prentice Building, St Lucia 4072
T: +61 7 334 66645, M: +61 401 140 838
E: g.stone-tolcher at its.uq.edu.au<mailto:g.stone-tolcher at its.uq.edu.au> W: www.its.uq.edu.au<http://www.its.uq.edu.au>

ITS: Service. Team. Accountability. Results.

IMPORTANT: This email and any attachments are intended solely for the addressee(s), contain copyright material and are confidential. We do not waive any legal privilege or rights in respect of copyright or confidentiality. Except as intended addressees are otherwise permitted, you do not have permission to use, disclose, reproduce or communicate any part of this email or its attachments. Statements, opinions and information not related to the official business of The University of Queensland are neither given nor endorsed by us. By using this email (including accessing any attachments or links) you agree we are not liable for any loss or damage of any kind arising in connection with any electronic defect, virus or other malicious code we did not intentionally include.

Please consider the environment before printing this email.

CRICOS Code 00025B

From: Xymon [mailto:xymon-bounces at xymon.com] On Behalf Of Ang, Denver
Sent: Thursday, 26 February 2015 7:11 AM
To: zak.beck at accenture.com<mailto:zak.beck at accenture.com>
Cc: xymon at xymon.com<mailto:xymon at xymon.com>
Subject: Re: [Xymon] XymonPowershellClient

Yes! It is showing the Mountpoint but not all of them appear in the graph. Nevertheless, it's a great improvement.
Below is a screenshot:

[cid:image001.jpg at 01D0519F.32A4B790]

Again, thank you!

Denver

From: zak.beck at accenture.com<mailto:zak.beck at accenture.com> [mailto:zak.beck at accenture.com]
Sent: Wednesday, February 25, 2015 3:38 AM
To: Ang, Denver
Cc: xymon at xymon.com<mailto:xymon at xymon.com>
Subject: RE: XymonPowershellClient

Hi

The latest commit includes Windows mountpoints in the disk list - does this do what you're expecting?

Thanks
Zak

From: Ang, Denver [mailto:Denver.Ang at tamucc.edu]
Sent: 24 February 2015 15:53
To: Beck, Zak
Cc: xymon at xymon.com<mailto:xymon at xymon.com>
Subject: RE: XymonPowershellClient

Thanks! Looking forward to it.

Denver

From: zak.beck at accenture.com<mailto:zak.beck at accenture.com> [mailto:zak.beck at accenture.com]
Sent: Monday, February 23, 2015 2:43 AM
To: Ang, Denver
Cc: xymon at xymon.com<mailto:xymon at xymon.com>
Subject: RE: XymonPowershellClient

Hi

Windows mountpoints are on the todo list.

Thanks

Zak

From: Ang, Denver [mailto:Denver.Ang at tamucc.edu]
Sent: 19 February 2015 21:23
To: Beck, Zak
Subject: XymonPowershellClient

Hi Zak,

Can you revise the code so that it will show the LUNS in the mountpoints?

Denver Ang
Systems Administrator II
Information Technology
Texas A&M University - Corpus Christi
(361) 825-2854

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20150227/6d2f0aea/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.jpg
Type: image/jpeg
Size: 95678 bytes
Desc: image001.jpg
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20150227/6d2f0aea/attachment.jpg>


More information about the Xymon mailing list