Ad Widget

Collapse

Monitoring all Windows services set to automatic start

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • erikl
    Junior Member
    • Mar 2019
    • 10

    #1

    Monitoring all Windows services set to automatic start

    I want to monitor all Windows services set to automatic start, with the ability to exclude some services.
    The Item looks like this:
    Type: Zabbix agent
    Key: services[automatic, stopped, "service1,service2,service3"]
    Type of information: Numeric (unsigned)

    The Trigger looks like this:
    {Template OS Windows:services[automatic, stopped, "service1,service2,service3"].last()}>0

    Obviously something is wrong here and I've tested a few things but can't get it to work.

    The monitoring part seem to work since Zabbix can see when a service is down, but I get the error message in the Configuration --> Hosts --> [hostname] --> Triggers page that says:
    Cannot evaluate expression: expected numeric token at "MapsBroker
    RemoteRegistry
    Spooler
    sppsvc
    WbioSrvc)>0".

    See complete Item and Trigger config in attached pictures
    Click image for larger version

Name:	Item.png
Views:	3971
Size:	108.3 KB
ID:	376608Click image for larger version

Name:	Trigger.png
Views:	3982
Size:	98.9 KB
ID:	376609
  • erikl
    Junior Member
    • Mar 2019
    • 10

    #2
    No one?

    Let me rephrase... How would you do to monitor all services set to automatic start (with the ability to exclude specific services) and get notifications when a service is not running?

    Comment

    • fwilhelmsson
      Junior Member
      • Jan 2020
      • 4

      #3
      Hi Erikl,

      Did you solve this? I'm looking for something similar.

      BR
      Fredrik

      Comment

      • RO-nIn
        Junior Member
        • Jan 2020
        • 6

        #4
        Hi,

        which Zabbix Version are you using? I've updated from 4.0 to 4.4 and it discovered all the automatic and delayed services on its own, I just had to disable the triggers I didnt need. It's mostly Windows Server 2016 Servers and a couple of 2012R2s. I'm using the Templates Zabbix Agent, OS Windows Server Baseline (from the downloadable templates site from Zabbix) and VMWare Guest. I hope this helps!

        BR
        Chris

        Comment


        • fwilhelmsson
          fwilhelmsson commented
          Editing a comment
          Hi,

          Yes I saw that later when adding the Zabbix Agent. Thanks for the feedback!

          BR
          Fredrik
      Working...