GithubHelp home page GithubHelp logo

Custom services monitoring about butler HOT 2 CLOSED

bintocher avatar bintocher commented on June 3, 2024
Custom services monitoring

from butler.

Comments (2)

mountaindude avatar mountaindude commented on June 3, 2024

This one slipped through the cracks, sorry for slow response.

Btw, this ticket relates to the Windows service monitoring feature of Butler, not Butler SOS.
I will move the ticket to the Butler repository instead.

Seems to be two things covered in this ticket:

1. "it is necessary to specify services for monitoring for each server"

This is by design. Butler's service-monitoring feature is generic and can be used to monitor any Windows service, not only Qlik Sense services. In the config file you specify which servers/services to monitor.

For example, a configuration to monitor the QS services of a two-node Sense cluster could look like this:

  serviceMonitor:
    enable: true
    frequency: every 30 seconds         # https://bunkat.github.io/later/parsers.html
    monitor:
      - host: qs-server1
        services:
          - name: QlikSenseEngineService
            friendlyName:  QS Engine
          - name: QlikSensePrintingService
            friendlyName: QS printing
          - name: QlikSenseProxyService
            friendlyName: QS proxy
          - name: QlikSenseRepositoryService
            friendlyName: QS repository
          - name: QlikSenseSchedulerService
            friendlyName: QS scheduler
          - name: QlikSenseServiceDispatcher
            friendlyName: QS service dispatcher
      - host: qs-server2
        services:
          - name: QlikSenseEngineService
            friendlyName:  QS Engine
          - name: QlikSensePrintingService
            friendlyName: QS printing
          - name: QlikSenseProxyService
            friendlyName: QS proxy
          - name: QlikSenseRepositoryService
            friendlyName: QS repository
          - name: QlikSenseSchedulerService
            friendlyName: QS scheduler
          - name: QlikSenseServiceDispatcher
            friendlyName: QS service dispatcher
    alertDestination:
      influxDb:                     # Send service alerts to InfluxDB
        enable: true
      newRelic: 
        enable: false
      email:
        enable: true
      mqtt: 
        enable: true
      teams:
        enable: true
      slack:
        enable: true
      webhook:
        enable: false

Do note that the account running Butler itself must be a member of the local administrators group on all servers where services should be monitored! If the Butler account does not have needed permissions you will get error messages.

2. The log message you included

Just so I understand correctly, that error message shows up in the Grafana dashboard's section for error messages?
And you have deployed the XML log appender files on the Sense servers?
If so, it's an error message coming from Sense.

The effect of the XML files is that select warning and error messages (from engine, repository and proxy - if you deployed those XML files) will be forwarded to Butler SOS. The messages are then stored in InfluxDB (once again assuming you are using InfluxDB), from where they are visualised in the Grafana dashboard.

So, if all the above assumptions are correct I'd say something is not working correctly in your QS setup.
That exact error message will also be present in the log files on disk on the proxy-qs.domain.com server - after all that's where Butler gets the log message from in the first place.

The idea behind Butler's warning and log forwarding feature is exactly this: Make QS log errors and warnings more visible and easier to detect - and then act on.

from butler.

mountaindude avatar mountaindude commented on June 3, 2024

Latest version, 9.3.1, adds better support for Windows services.
Among other things there is now better logging when failing to connect to remote Windows servers where services should be monitored.

from butler.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.