We're Hiring!
Take the next step in your career and work on diverse technology projects with cross-functional teams.
LEARN MORE
Mountain West Farm Bureau Insurance
office workers empowered by business technology solutions
BLOG
3
4
2019

Writing to the Windows Application Log During a Beekeeper Execution Job

Last updated:
9.16.2020
No items found.

Using a PowerShell validation during any of the Beekeeper Execution Job phases, you can write information to the Windows Application Log. This helps enable discovery for SCOM. The Event Log Validation Pack is a collection of PowerShell validations that you can customize in your environment.

Learn how to implement this, including downloadable Validation Pack and code snippets, in this blog post. For more information about Beekeeper patching automation software, view the product page.

This snippet of code illustrates how a new event log source is created and writing an event using that source:

Using custom event IDs, event type, and message text, each of the validation task phases can be set. Remember to use the "#!nodename!#" mnemonic in your scripts to get the name of the node during the Beekeeper execution job – discussed in the Beekeeper v5 Manual on page 87.

You can download this Validation Pack here.

To import the Validation Pack, you can use the Import-ValidationTask.ps1 in the Scripts directory of the Beekeeper v5.1.0 zip file.

From a PowerShell prompt (replace bkprdev03 with the name of your Beekeeper server in the URI parameter):

Adding the event log validations to your Application Groups, DAGs, or Windows Failover Cluster is done from the Servers and Clusters tab. Select the appropriate group type and the click the Edit button near the middle of the screen for your server group.  The pencil icon will edit the definition of the specific group.

To select the appropriate validation task from the Available area, you click the green “+” and it will add it to the Configured area.  Select the correct phase and you are done when you click.

Once the events are in the Windows Application Log, you can use SCOM to alert to these events using the custom event source – “Beekeeper”.  You would need to create an event collection rule for these events.  You may want to create an event view as well.

Recent Blog Posts

lunavi logo alternate white and yellow
3.13.2025
3
.
12
.
2025
Unlocking the Power of Azure Managed Services with Lunavi

Cloud computing has become the backbone of modern business, offering agility, scalability, and cost efficiency. But managing cloud environments while keeping costs under control and security airtight? That’s a challenge. Azure Managed Services streamline cloud operations, helping businesses optimize spending, enhance security, and future-proof applications. Lunavi provides the expertise and tools to make it happen—so you can focus on growth instead of IT headaches.

Learn more
lunavi logo alternate white and yellow
2.11.2025
2
.
7
.
2025
The Future of Test Automation: Key Trends Shaping 2025 and Beyond

Software testing has gone from a chore to a game-changer, thanks to automation. But in 2025, sticking to old methods means falling behind. Stay ahead by embracing the future of test automation—let’s explore the key trends shaping what’s next.

Learn more
lunavi logo alternate white and yellow
2.11.2025
1
.
23
.
2025
The Importance of Cross Browser Testing

Making sure users have a smooth experience across all these platforms is crucial for businesses to stay competitive. Cross-browser testing is now a key part of modern development. It helps teams find and fix problems like layout issues, broken features, or slow performance before users are affected. Let’s look at why cross-browser testing matters and explore tools that make it easier to get the job done.

Learn more