Ad Widget

Collapse

Notification when Windows service does not exists

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • msl0
    Junior Member
    • Apr 2021
    • 2

    #1

    Notification when Windows service does not exists

    Hi everyone,

    I need to check if there is a specific Windows service on the hosts monitored by Zabbix 2 Agent. The problem is that I cannot create an item with a nonexistent service using the service.info key (eg service.info["my_service_name",state].
    As far as I can see in the documentation, it should work and return code 255, but I get the error "The specified service does not exist as an installed service." in the UI.

    I need to make sure all Windows hosts have the specified service installed and if the service is not on the host Zabbix should run the install command as an action.
    Could you advise on how to achieve it?
  • msl0
    Junior Member
    • Apr 2021
    • 2

    #2
    I opened ticket to Zabbix Support and them confirmed that it is bug in Zabbix Agent2 [ZBX-19276] Agent2 for "service.info[]" key returns not supported instead of value 255 - ZABBIX SUPPORT

    Comment

    Working...