Ad Widget

Collapse

how to check a services antivirus status

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • salvatoregrilletta
    Junior Member
    • Apr 2017
    • 5

    #1

    how to check a services antivirus status

    Hi all,
    I want to check if my antivirus services is installed and running.
    I have a lot of servers with zabbix agent and the discover check if an automatic service is running or not.
    So if my service is installed no problem.
    But how to check if one or more servers are without antivurs or with one other antivirus ?
    If someone in the past put my antivirus services in manual and then stop the services, when i put my zabbix agent it is all fine: the disvoery doesn't trap the status stopped status of a service in manual.

    I try to create one Item prototype on my windows template.

    service.info[{#SERVICE.NAME},state] normal item prototype
    service.info[{#SAVService}] my add item prototype

    First the error

    Cannot create item: item with the same key "service.info[{#SAVService}]" already exists

    And then if i have the item i can create the trigger for any status different form 0: 0 running, 255 not exist ...
  • batchenr
    Senior Member
    • Sep 2016
    • 440

    #2
    Originally posted by salvatoregrilletta
    Hi all,
    I want to check if my antivirus services is installed and running.
    I have a lot of servers with zabbix agent and the discover check if an automatic service is running or not.
    So if my service is installed no problem.
    But how to check if one or more servers are without antivurs or with one other antivirus ?
    If someone in the past put my antivirus services in manual and then stop the services, when i put my zabbix agent it is all fine: the disvoery doesn't trap the status stopped status of a service in manual.

    I try to create one Item prototype on my windows template.

    service.info[{#SERVICE.NAME},state] normal item prototype
    service.info[{#SAVService}] my add item prototype

    First the error

    Cannot create item: item with the same key "service.info[{#SAVService}]" already exists

    And then if i have the item i can create the trigger for any status different form 0: 0 running, 255 not exist ...
    if it gives you this error then as it said- item is already exsist
    does service info not working for you ?

    Comment

    • salvatoregrilletta
      Junior Member
      • Apr 2017
      • 5

      #3
      Thank you for your time.

      I've just change the regular expression for exclude my antivirus service and also I changed "Keep lost resources period" put to zero.
      So tomorrow, I hope, no more "already exists".

      No the discovery rules trap only the status of automatic services and not say nothing about a service that was not installed.

      Comment

      Working...