Comments (10)
Ohh... interesting. Could it be that Qlik changed the name of the engine service in QS 2023-May?
Got to admit that I have not tested Butler with that QS version - will certainly have to do so!
from butler.
Hi Göran,
I checked the names of the services. They have remained the same. I have tried it with any service of the Windows operating system and it works. Is it a problem that Butler is running on a separate Windows computer and not directly on the Sense server?
BR,
Rumen
from butler.
Butler should be able to check service status on a remote server, assuming firewalls allow this.
First, there should be better error handling for this. Throwing an error like that is no good.
Will put that on the todo list.
Then, some questions to narrow things down:
- You are running Butler on a Windows server (server A) and Qlik Sense on another server (server B), correct?
- Can Butler monitor services on server A?
- Can Butler monitor other services (i.e. not QS engine service) on server B?
from butler.
Butler should be able to check service status on a remote server, assuming firewalls allow this.
First, there should be better error handling for this. Throwing an error like that is no good. Will put that on the todo list.
Then, some questions to narrow things down:
- You are running Butler on a Windows server (server A) and Qlik Sense on another server (server B), correct?
==> Correct.- Can Butler monitor services on server A?
==> Yes.- Can Butler monitor other services (i.e. not QS engine service) on server B?
==> Yes.
from butler.
Edit: The below is still true to the best of my knowledge, but I also found a small bug that causes remote lookup of service status to fail.
So, your only option with current Butler version is to run Butler on the same server as Sense.
Fixing the bug is easy though, so it should hopefully not be too long until a new version is out.
I had a look at this and it's most likely a permissions problem.
It can be tested by running this command on the server where Butler is running:
sc.exe \\10.11.12.13 query state= all
If the response looks like this you got a permissions problem, with the remote/Sense server blocking access to the services on the that server.
C:\temp>sc.exe \\10.11.12.13 query state= all
[SC] OpenSCManager FAILED 5:
Access is denied.
C:\temp>
If you get the same error as above this can be solved in a few different ways:
- Modify Butler itself so it authenticates with the remote server before trying to get info about its services. This requires some work, but would be a nice and clean solution.
- Disable the security mechanism preventing Butler's access to the remote server. This works, but lowering security may not be ideal/allowed. Some editing of the registry of the Sense server is needed, examples here. Some old info (but still relevant I believe) from Microsoft here.
- If the user account running Butler is member of the domain Administrators group, things should work even with today's Butler version. The question then is whether it's ok for the Butler service account to be a domain admin.
- Run Butler on the same server as Sense itself.
from butler.
Hello Göran,
This issue is not urgent for me. I will wait for the new version.
Thank you very much!
Rumen
from butler.
Version 9.3.1 adds some bug fixes and improvements to Windows service monitoring.
Among other things there is clearer log output when authentication to a remote server (on which Windows services should be monitored) fails.
from butler.
Hi Göran,
I have just installed the new version 9.3.1 and I still have the same issue. Please take a look at the screenshot.
BR,
Rumen
from butler.
Thanks for reporting it, I've noted the same on some servers, while everything works great on other servers.
Not sure yet what's going on, need to find what differs between the different server / what causes the errors.
from butler.
This issue is stale because it has been open for 30 days with no activity.
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.