Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

zabbix web UI conflicts with Striker Web UI #755

Open
amanjot01 opened this issue Oct 24, 2024 · 5 comments
Open

zabbix web UI conflicts with Striker Web UI #755

amanjot01 opened this issue Oct 24, 2024 · 5 comments
Assignees
Labels
bug High To be resolved once all urgent issues are clear

Comments

@amanjot01
Copy link
Collaborator

amanjot01 commented Oct 24, 2024

Check for the file name :- /etc/zabbix/zabbix_server.conf (which means zabbix server is installed)
Now edit the file to avoid port mismatch. So, that striker and zabbix web UI to work at :- /etc/httpd/conf/httpd.conf
Look for Listen if its :- Listen 80 then change it to Listen 8080

Thank you
Screenshot from 2024-10-24 12-38-34

@amanjot01 amanjot01 added bug High To be resolved once all urgent issues are clear 3.1 Priorities labels Oct 24, 2024
@amanjot01 amanjot01 added this to the 3.1 Beta - blockers milestone Oct 24, 2024
digimer pushed a commit that referenced this issue Oct 25, 2024
@digimer
Copy link
Member

digimer commented Nov 18, 2024

Tested successfully.

@digimer digimer closed this as completed Nov 18, 2024
@fabbione fabbione reopened this Dec 10, 2024
@digimer
Copy link
Member

digimer commented Jan 1, 2025

@fabbione - We spoke about this before the holidays... Do you recall what the suggested approach should be?

@digimer
Copy link
Member

digimer commented Jan 6, 2025

Deal with this using apache reverse proxy; link / example to follow.

@fabbione
Copy link
Member

fabbione commented Jan 6, 2025

<VirtualHost *:80>
    ServerName  ci.kronosnet.org
    CustomLog   logs/ci-kronosnet-org-access_log combined
    ErrorLog    logs/ci-kronosnet-org-error_log

    RewriteEngine on
    RewriteCond %{SERVER_NAME} =ci.kronosnet.org
    RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent]
</VirtualHost>

<VirtualHost *:443>
    ServerName  ci.kronosnet.org
    CustomLog   logs/ci-kronosnet-org-access_log combined
    ErrorLog    logs/ci-kronosnet-org-error_log

    Include conf.d/ssl-cert-ci-kronosnet-org.inc
    Include conf.d/shared.inc

    # Required for Let's Encrypt
    DocumentRoot /var/www/ci.kronosnet.org
    <Directory /var/www/ci.kronosnet.org>
        Options +Includes
    </Directory>

    <Directory /var/www/ci.kronosnet.org/builds>
        Options +Indexes +MultiViews +FollowSymlinks
        IndexOptions NameWidth=* FancyIndexing FoldersFirst
    </Directory>

    <Directory /var/www/ci.kronosnet.org/coverity>
        Options +Indexes +MultiViews +FollowSymlinks
        IndexOptions NameWidth=* FancyIndexing FoldersFirst
    </Directory>

    # To put this site in maintenance, comment out all remaining lines,
    # ensure "apachectl configtest" says OK, then "systemctl reload httpd"

    ProxyRequests     Off
    ProxyPreserveHost On
    RequestHeader set X-Forwarded-Proto "https"
    AllowEncodedSlashes NoDecode

    # Don't proxy challenge URL needed by Let's Encrypt
    ProxyPass         /.well-known/acme-challenge !

    # Don't proxy things required by Jenkins to distribute sources
    ProxyPass         /builds !
    ProxyPass         /coverity !
    ProxyPass         /icons !

    ProxyPass         /  http://jenkins:8080/ nocanon
    ProxyPassReverse  /  http://jenkins:8080/
    ProxyPassReverse  /  http://ci.kronosnet.org/
    <Proxy http://jenkins:8080/*>
        Order allow,deny
        Allow from all
    </Proxy>
</VirtualHost>

@digimer
Copy link
Member

digimer commented Jan 6, 2025

Coordinate with @ylei-tsubame to have Striker detect Zabbix install and add an icon in Striker to link to Zabbix. Perhaps use NextJS for the 8080 reverse proxy.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug High To be resolved once all urgent issues are clear
Projects
None yet
Development

No branches or pull requests

3 participants