Hello all,
I've got a strange thing and i'm a bit lost. I'm trying to catch the event ID 15004 - 15007 on an Exchange server to get when the server consider itself as pressured. (Application - Source : MSExchangeTransport)
I use the command :
Write-EventLog -LogName Application -EntryType Error -Source MSExchangeTransport -EventId 15006 -Message "Test error event - ignore"
to generate false event. My PRTG sensor catch it, the "state" trigger send an email... wonderful !
But, when i try to simulate a real pressure on the server (by filling one of the drive with data) : Exchange see it, raise a 15006 (Error) event... and PRTG doesn't see it.
Sensor is quite simple, just caching any events in Applications with ID 15004 to 15007 with an "include filtering", nothing else.
If i use the powershell command to raise a new one a few minutes after : PRTG "works" and send the alert.
I've tried by changing the type for my fake events (warning, info), etc... each time : PRTG catch them perfectly but never see when Exchange creates a real one. (Nothing detected, the live data graph shows nothing)
Does someone understand what's going on ?
Article Comments
Hello Felix,
Thank you for your answer, but it seems there's a misunderstanding
I'm not trying to do a custom powershell sensor. I'm trying to catch standard Windows event with PRTG. But, it catch my fake event (created using powershell) but doens't catch the one created by Exchange. (despite having the exact same ID)
I will try the option to "Write Results to disk" but it may not give more info as the "live" data.
Best regards
Jan, 2021 - Permalink
Hi Lenny,
Sorry for the misunderstanding. I would kindly invite you to send us your files to support@paessler.com. Please include PAE2068950 in your subject line. With this I can link the ticket to this topic and we can check in more detail the issue.
Kind regards
Felix Wiesneth - Team Tech Support
Jan, 2021 - Permalink
Hi Stuart,
I'm afraid this was not resolved, since we didn't get a response.
Kind regards
Felix Wiesneth - Team Tech Support
Mar, 2021 - Permalink
Hello guys,
No, it wasn't resolved on my side. I've managed by using another sensor if i'm not wrong and i didn't opened a support case when i've got the issue. But i'm not sure, i may have put that "under the carpet"
I will recheck soon the status
Mar, 2021 - Permalink
Hi Lenny,
For troubleshooting I would recommend to enable the option Write results to disk in the sensor settings. With these logs you can check which data PRTG receives in detail. In addition I would recommend to take a look here about our guide for PowerShell based sensors.
Kind regards
Felix Wiesneth - Team Tech Support
Jan, 2021 - Permalink