XymonPowershellClient RRD collect graphing long mountpoint names
The latest commit is working as intended. Thanks for the update. Denver From: user-aada0fa38bf8@xymon.invalid [mailto:user-aada0fa38bf8@xymon.invalid] Sent: Thursday, February 26, 2015 3:25 AM To: user-6e44775a32e5@xymon.invalid; 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:user-6e44775a32e5@xymon.invalid] 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: user-6e44775a32e5@xymon.invalid<mailto:user-6e44775a32e5@xymon.invalid> 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: user-aada0fa38bf8@xymon.invalid<mailto:user-aada0fa38bf8@xymon.invalid> 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: user-aada0fa38bf8@xymon.invalid<mailto:user-aada0fa38bf8@xymon.invalid> [mailto:user-aada0fa38bf8@xymon.invalid] 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:user-177598da304a@xymon.invalid] 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: user-aada0fa38bf8@xymon.invalid<mailto:user-aada0fa38bf8@xymon.invalid> [mailto:user-aada0fa38bf8@xymon.invalid] 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:user-177598da304a@xymon.invalid] 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 (XXX) XXX-XXXX
Attachments (1)
attachment.jpg