I have tried setting up both the WINAPI and WMI event log to look for "success" backup entries in the event log.
I want to monitor Cloudberry Online Backup which logs a single event when it's successful.
http://screencast.com/t/SEh9KdMx
http://screencast.com/t/CzWg9wxHwW
http://screencast.com/t/fckxrO651aU
It's been running for a few days now and has been in the errored state the whole time, despite event logs being logged.
What am I missing?
Article Comments
Thanks, I have seen that, but I was hoping to use the built-in sensors that has a UI to configure. Is there a reason they are not working?
Jun, 2016 - Permalink
Further to my last reply, I have two requirements that I don't think are addressed by the script:
- Need to search events based on the "message"
- Need to raise an error state if there are 0 events (as opposed to raising an error state when an event ID does occur)
These were both detailed in my screenshots.
Jun, 2016 - Permalink
The reason I would recommend the script is that it is easier to troubleshoot since you can test the code in powershell. As for the Event Log sensors, you can test it following the documentation available here:
Best Regards,
Jun, 2016 - Permalink
Hello Ryan,
thank you for your post.
Please consider employing this custom-script sensor instead, since it's a powershell script it is not a black-box and it's easier to troubleshoot.
Best Regards,
Jun, 2016 - Permalink