VMware Aria

 View Only

 Unable to discover multiple WIndows services using telegraf.conf / Aria Ops monitoring

Czarecki07's profile image
Czarecki07 posted Nov 14, 2025 06:27 AM

Hello,

We are trying to do POC with Aria Ops as a monitoring tool. Successfully installed CP and telegraf agent (product-managed) using script based install.

Now we are stuck on discovering Windows services as it seems it's not working as we would like. Only working solution is to add them manually one by one from Aria GUI. Editing telegraf.conf and adding services to the [[inputs.win_services]] plugin  + restart agent does not work: services are not appearing in the GUI, the same is where we add them to Instances in perf counter plugin [[inputs.win_perf_counters.object]]. 

Shouldn't be that agent is recognizing all services automatically and we should only exclude those we don't want to monitor?

Ultimately we would like to have at least one golden configuration for all virtual machines, so that configuration (services to monitor) would stay the same for every VM.

Aria Operations version 8.18.5 (24967118) enterprise

Cloud Proxy OVA version: 8.18.5.24967114

mannharry's profile image
mannharry

With telegraf agent, you can monitor the out of box 23 out of box application.

For monitoring the specific services from the windows VM, check the below document
https://techdocs.broadcom.com/us/en/vmware-cis/aria/aria-operations/8-18/vmware-aria-operations-configuration-guide-8-18/connect-to-data-sources/os-and-application-monitoring/steps-to-monitor-your-applications/additional-operations-from-the-manage-agents-tab/monitor-windows-services.html

vrmware's profile image
vrmware

Hi,

I manually add the Windows Services on the first vm. Then I use Swagger, https://FQDN_OPS/suite-api/doc/swagger-ui.html API to GET the configured services and POST the services to the other vms.

Authorize the session first:

GET Services under Applications

Hit the button "Try it out". Now get the Resource Identifier. Go to Operations > Applications > Manage Telegraf Agents > Hit the 3 dots beside the Telegraf Agent > Go to Details.

In the url https://FQDN_OPS/vcf-operations/ui/inventory;mode=hierarchy;resourceId=e3123344345-1234-d5f2-c1999-1e34853dfg5;tab=summary copy the hash after resourceId= This is the Resource Identifier. 

Hit the execute button. 

Under the Server Response you see now the Response body. Download this this output.

I use Visual Studio Code the modify the output json file. Here you can modify the confignames of services that you want PUT the other Telegraf agents. 

For example: In the output file you see the following service: "configName": "Remote Procedure Call (RPC) on vmtest001". I remove always the postfix "on vmtest001" where vmtest001 is the name of the source vm. The postfix is automatic added when adding a service, manual or via API. 

Now you can POST the service in Swagger to the target vm. 

POST Services under Applications

Fill in the Resource Identifier of the target vm and replace the services code (Services needed to save) with the modified json output in Visual Studio Code.

Execute and the services should now be configured on the target vm. If you now take a look at the Telegraf Agent services you see the new configured services. It may take up to 20/25 minutes before Aria Operations fully displays all services.

Perhaps this will help you get started.