UD-Monitor seems to be broken in v 2.9.1

@adam

Am testing migrating from ud 2.9.0 to PSU 1.3.0 with UD 2.9.1 and it seems that udmonitor is broken
below is the screenshot of cpu processor time

no colors and the column keep going to the end of the page.

code below

New-UdColumn -Size 6 -Content {
                        New-UdMonitor -Title "CPU (% processor time)" -Type 'Line' -DataPointHistory 20 -RefreshInterval 5 -ChartBackgroundColor '#80FF6B63' -ChartBorderColor '#FFFF6B63'  -Endpoint {
						    try {
								Get-Counter '\Processor(_Total)\% Processor Time' -ErrorAction SilentlyContinue | Select-Object -ExpandProperty CounterSamples | Select-Object -ExpandProperty CookedValue | Out-UDMonitorData
							}
                            catch {
								0 | Out-UDMonitorData
							}
                        }
                    }

I have the same problem. Charts will keep stretching vertically forever.

I’ve opened a bug for this. I’ll have to look into what’s going on there. https://github.com/ironmansoftware/powershell-universal/issues/23

This is resolved in tonight’s nighty build and will be in 1.3.1 (UDv2.9.2)

Thank you Adam

Is there anything similar to UDMonitor in UD3?

Not yet. You could achieve something like this with New-UDDynamic and New-UDNivoChart. That said, I hope to move UDChart and UDMonitor out of the v2 framework and into the charts component library so it works with both frameworks.

1 Like

That would be great! Then I can migrate my VMWare and Citrix Monitorring dashboards to V3 :slight_smile:
Nevertheless, I will give your idea a try

@adam

Nightly releases shows wed july 29, have not seen any new nightly with these fixes.

Hmmm. Yep. Something is messed up with that page.

Latest nightly build number is: 195486107

But when I sort, I don’t see that. Only when I search. Also, Linux build is missing. Blarg.

EDIT: Should be fixed now

Any update on UD monitor and why the colors not working?