Comments (2)
Things I've answered for myself by digging in to code and searching old (closed) tickets:
When running the exec.war, it appears that Arugs isn't seeing the argus.properties file I've set. Is this expected behavior?
Yes. Based on #476, there are multiple config settings we have to add to keep those warnings from firing. This is not documented. (#476 also has some basic config file examples that the rest of the documentation is sorely lacking.)
Does it matter if we use tomcat7 or tomcat8? Your internal stuff seems to imply tomcat7, but the docs don't indicate.
Everything I've found indicates we must use tomcat7. This is not documented.
How do we actually set argus.config.public.location or argus.config.private.location in tomcat? I assume something in CATALINA_OPTS?
In Debian/Ubuntu, we can edit /etc/default/tomcat7
and add something akin to JAVA_OPTS="-Djava.awt.headless=true -XX:+UseConcMarkSweepGC -Dargus.config.public.location=/etc/argus/argus.properties -Xrunjdwp:transport=dt_socket,address=5005,server=y,suspend=n"
to point to a file in /etc/argus/argus.properties
and also configure other (apparently) recommended arguments. While this is also not documented, I understand configs would differ based on deployment patterns.
Web UI
In the case of WebServices (the tomcat app) we can set tomcat configs to change the port. In the case of the web UI, we can use apache/nginx to host the compiled dist
folder and set whatever port we'd like. An example apache2 config:
LoadModule proxy_module modules/mod_proxy.so
LoadModule proxy_http_module modules/mod_proxy_http.so
<VirtualHost *:8090>
#ProxyPreserveHost Off
#ProxyRequests Off
ServerName $(hostname)
#ServerAlias example.com
DocumentRoot /var/www/argusweb
#Alias "/argusws"
Header set Access-Control-Allow-Origin "*"
ProxyPass /argusws http://localhost:8080/argusws
ProxyPassReverse /argusws http://localhost:8080/argusws
</VirtualHost>
In oder for this to work completely, we have to also proxy data for the API through apache/nginx.
from argus.
New question list:
-
Service Workers/Clients
- Again, there's no real documentation around these. What is the base expectation of service workers for a functioning system?
- There's no list I could find (without delving into source code) of what functional worker "types" might be.
-
General
- Your documentation around base properties does not clarify what settings belong in files like cache.properties, mq.properties, or argus.properties. In particular, what config options actually exist and can be set?
- Again, by reading through some examples from your docker builds, I've determined some settings that belong in argus.properties, but I'm unclear on what other settings might be there. Any guides on what nobs we can actually turn?
- Redis is mentioned frequently as recommended as a cache, and I'd love to use it, but our Redis cluster has AUTH on it, and there doesn't appear to be a way to add a password to the config for Redis. Any solution for this?
-
Kafka connection
- There's no documentation around what topics are needed for Kafka usage to function. As we don't like to enable auto topic creation, what topics are actually needed?
-
Web UI
- [This commit] (d797bf1) completely breaks access to the alerts page in the UI. Can this be reverted? Or at least can the change be explained?
from argus.
Related Issues (20)
- Trigger UI does not match the wiki
- Error message on viewmetrics page disappears automatically
- Prettify button on view metrics page changes query HOT 1
- GROUP documentation lacking example/syntax
- Querying Histograms documentation is wrong HOT 1
- Argus-SDK PutResult - get*Count() methods return String. HOT 1
- Update dependencies to address CVE/CWEs
- Automate deployment of maven artifacts
- HBaseHistoryService and AsyncHbaseSchemaService need create hbase table manually? HOT 2
- Update auth page to be only about tokens HOT 2
- Stackoverflow error when using CachedTsdbService HOT 4
- Invalid metrics expression returns 500 HOT 1
- Fix code-example formatting in FILL section HOT 1
- Error in sending emails HOT 1
- Alerts are not evaluated until client is restarted HOT 3
- Format of Callback subscriptions HOT 3
- QUESTION: Are alert definition changes used immediately? HOT 2
- Implement prometheus-style tags filters HOT 1
- "endpoint" tag may contain invalid character in PerfFilter
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 argus.