Ad Widget

Collapse

Discover windows service with manual start

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • pdacka
    Junior Member
    • Mar 2024
    • 2

    #1

    Discover windows service with manual start

    Hi everyone.
    I am new to Zabbix.
    I've been trying to find a solution on the forum and on the Internet but to no avail.
    I am monitoring two servers using Windows Zabbix Agent2.
    The servers are running MS Failovercluster with the MSSQL role running on them.
    The peculiarity of the role is that the SQL service has a startup type set to 'manual', which makes the service undetected by discover.

    How to force Zabbix to detect such a service ?
  • pdacka
    Junior Member
    • Mar 2024
    • 2

    #2
    Success

    For anyone who runs into a similar problem as mine.

    You need to modify the filters in the service discovery template at the host level.
    monitoring->hosts-><host>->discovery->windows service discovery->Filters
    1. add another item (Add), e.g. "E"
    2. in the Label Macro field, type {#SERVICE.NAME}
    3. in the combo box, we select "matches"
    4. in the Regular Expression field, we type a regular expression that will match the name of our service to be searched for discovery.

    Important:
    In the calculation type, we select Custom expression and type:
    (A and B) and (C and D) or E

    That's it.
    The service, despite the type of start manual, will be discovered
    Last edited by pdacka; 20-03-2024, 13:17.

    Comment

    Working...