Check antivirus installed Windows 2016

Hi…
I am new using Sensu and i whant to know how to check “x” antivirus is installed in my windows environment? I using Windows server 2016 and sensu go 6.2.7

thanks for all help…

Which antivirus program are you trying to check for?

The simplest check would probably be if the service is running, but you could also check to see that a process is running.

The antivirus could be mcafee

You know what would be the code or template to monitor?

Derekgrog, can you give me a template or reference to check if the service is running as you tell me?