A user asked for help running a script from ControlUp Edge DX, which was not producing any output. It was suggested to check the JSON output and the website link was shared for more info. It was also clarified that when running the script manually, the output showed Unhealthy – BSOD found. Finally, the new BSOD dashboard was mentioned and it is expected to go into production this weekend, which the user was excited to hear.
Read the entire ‘How to View Logs from BlueScreenViewer in ControlUp Edge DX?’ thread below:
Good day
Happy Monday
Need some help please , buildings script to see the Logs from a app called BlueScreenViewer
Running the script within Powershell, no issues , and get the correct output that i want
now running from Contrilup (EDGE DX ) i get nothing
I have rewritten this , adding anything and everything that could possible give me the output that i want , {Please Help}
can you share the json output (remember, the json can only be 1 level deep max!)
There is no output
no when you run it manually
Unhealthy – BSOD found. Check Diagnostics
Dumpfile : 082323-11703-01.dmp
Timestamp : 8/23/2023 4:04:16 PM
Reason :
Errorcode : 0x00000139
Parameter1 : 00000000`00000003
Parameter2 : ffffdf88`2cc0b170
Parameter3 : ffffdf88`2cc0b0c8
Parameter4 : 00000000`00000000
CausedByDriver : ntoskrnl.exe
that’s not json
to send data to edge dx it needs to be json
https://support.controlup.com/docs/scripting-guide#creating-json-formatted-output
Thats weied , ive done other scripts and the data that i want shows under Device Events and i did not add that
ConvertTo-Json
Creating JSON Formatted Output
If you want to send data that can be viewed in a report
@member
I want to data to be viewed within Device Events , do i still need to use Convert to json?
i do not want to right to report
in that case not
btw we have improved bsod handling and will be adding a built in analysis soon
thanks , Yes spoke to Blair and a few other people , but we are getting bluescreen and VIP’s that get them , i need to get the info to assist them
You are using SIP EVENT tags here and not SIP DATA tags. The output of this script will not be in an index, it will be in the device events tab. Also this one does not need to be JSON.
If you want the data in an index for a report you need to change the tags in the script and convert to JSON.
https://support.controlup.com/docs/scripting-guide#data-collection
that’s what @member said but it’s not showing up in the device events
Also the ### SIP EVENT BEGINS ### don’t need to be in the write-host.
Its a comment not output.
This " Write-Output("### SIP EVENT BEGINS ###")" should be replaced with "### SIP EVENT BEGINS ###" without quotes.
ok will try.
can you have multiple ### SIP EVENT BEGINS ### and end to show the stages your script is in ?
I think you can but it needs to be the "end" of the script. Like if you have a try/catch you can put a SIP EVENT in each but not two within one side…
Ran the script , all i get is
Run script as System: ShowBlueScreenViewLogs
Nothing else
What is the output if you run it manually?
on my device, as i dont have any Bluescreens
Healthy – No BSODs found in the last 72 hours
On a users device we got
Unhealthy – BSOD found. Check Diagnostics
Dumpfile : 082323-11703-01.dmp
Timestamp : 8/23/2023 4:04:16 PM
Reason :
Errorcode : 0x00000139
Parameter1 : 00000000`00000003
Parameter2 : ffffdf88`2cc0b170
Parameter3 : ffffdf88`2cc0b0c8
Parameter4 : 00000000`00000000
CausedByDriver : ntoskrnl.exe
I know I asked to remove the Write-Host before the SIP EVENT tags but can you throw that back in and rerun it? Post the output?
Windows Admin has left for the day and he needs to sign the scripts
this is the last one i tried now
Interesting that your not seeing the SIP tags in your output. Thats certainly needed for this to work.
Also don’t know what is going on
btw this is one of the new bsod dashboards, going into prod soon hopefully
Oh WOW
we need to work on the tooltip in dark mode for the top devices with bsod dashboard
When can we help testing that. ?
it’s in our demo environments now, already asked when going into prod (want it for another customer as well) but usually that doesn’t take long
awesome , cat wait
cant *
should be going into production coming weekend.
That is create news , thank you
Continue reading and comment on the thread ‘How to View Logs from BlueScreenViewer in ControlUp Edge DX?’. Not a member? Join Here!
Categories: All Archives, ControlUp for Desktops, ControlUp Scripts & Triggers