We are running SolarWinds Observability Self-Hosted Advanced version 2024.2.1. We host virtual machines for customers in our environment on VMware and Hyper-V hypervisors. We charged based on the amount of time the virtual machine is running, then bill the customer at the end of the month. We have a manual process to check these now, but it would be a lot nicer if we could just run a report in SolarWinds that reports the runtime for any virtual machine.
I have been testing with our VMware environment and I'm capturing logs in SolarWinds Log Viewer. I have also created a rule that looks for specific events and triggers an informational alert on these. Now I just need to figure out how to capture these events/alerts in a report, that includes the date, timestamp, and VM name for the month.
The information I'm capturing is the following:
In Log Viewer, a power-on message looks like this, including the tag I created for the rule:
OpenVAS Vulnerability Scanner - MB 20250620 on 192.168.1.10 in 65_Datacenter is starting
The details of this event is the following:
9/10/2025 8:34:31 AM
OpenVAS Vulnerability Scanner - MB 20250620 on 192.168.1.10 in 65_Datacenter is starting
Source Time
9/10/2025 8:34:30 AM
Machine Type
VMware vCenter Server
ChainId
89279005
I'm also getting proper Informational alerts for this with the following:
Alert Name: VM PowerOn PowerOff
Message: VM PowerOn PowerOff was triggered
The details for this alert contains all of the information, such as the event it was triggered on: OpenVAS Vulnerability Scanner - MB 20250620 on 192.168.1.10 in 65_Datacenter is starting, as well as the time and date.
I can also create two alerts if that works better, one for VM PowerOn and a separate alert for VM PowerOff, if that makes it easier to pull the events from.