GithubHelp home page GithubHelp logo

Questions about deployment about argus HOT 2 CLOSED

johnseekins avatar johnseekins commented on May 29, 2024
Questions about deployment

from argus.

Comments (2)

johnseekins avatar johnseekins commented on May 29, 2024

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.

johnseekins avatar johnseekins commented on May 29, 2024

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)

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.