Comments (2)
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.
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)
- Empty list of webooks in config file cause error
- New Relic has to be enabled as win-service monitoring for ANY such monitoring to work.
- Refactor code for sending messages to MS Teams
- Make startup logging more consistent wrt indentations etc
- Change to new solution for signing Windows binaries
- Make UDP message handling more robust HOT 1
- Add new udp message type for testing connectivity between Sense and Butler HOT 1
- Enhance existing UDP client to become standalone pre-compiled binary, with predefined test messages that can be sent to Butler HOT 1
- Remove Node.js warnings on startup from pre-compiled binaries
- Update Butler docs site wrt possible actions upon reload task failure
- The new feature to use https in outgoing webhook fails in some occasions HOT 1
- Refactor naming of fields and license type names used in InfluxDB to better ones
- Incorrect tag names written to InfluxDB for QS license info
- Error on startup if webhook array(s) in config file is/are empty HOT 1
- Make startup checks of config file better wrt arrays
- License release logic uses incorrect names for license types
- Determine which QS access licenses to release in a more effective way than today HOT 1
- Missing config entries in template/sample config file
- Incorrect startup check of config file entry Butler.incidentTool.newRelic.reloadTaskFailure.destination.log.attribute.static
- Errors when starting Butler in create-API-docs-mode
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from butler.