Check antivirus installed Windows 2016

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?

You’re probably looking at something like this plugin collection: nagiosfoundation versions. Rather than just seeing if an application is installed, you could see if the service is running.