NagVis Installation CentOS 8 Step by Step Guide | ArkIT

blank

ARK

My Name is ARK. Expert in grasping any new technology, Interested in Sharing the knowledge. Learn more & Earn More

2 Responses

  1. blank Gildasio Sousa says:

    I did installation by ./install.sh but I can’t access nagvis to Redhat 8.
    But present 403 error
    Forbidden
    You don’t have permission to access this resource.
    Error log httpd:
    [Wed Jan 19 14:07:10.085106 2022] [authz_core:error] [pid 1176149:tid 140031888971520] [client 192.168.22.45:62262] AH01630: client denied by server configuration: /nagvis/nagvis/share/frontend/nagvis-js/index.php
    My httpd conf looks like this:

    Alias /nagvis/ “/nagvis/nagvis/share/”

    Options FollowSymLinks
    AllowOverride none
    #Order allow,deny
    #Allow from all
    Require all granted

    # Apache >= 2.4
    Require all granted

    # Apache < 2.4
    Order allow,deny
    Allow from all

    # To enable Nagios basic auth on NagVis use the following options
    # Just uncomment it. Maybe you need to adjust the path to the
    # Auth user file.
    #
    # If you use the NagVis internal auth mechanism based on the web
    # for you won’t need this.
    #
    #AuthName “NagVis Access”
    #AuthType Basic
    #AuthUserFile /nagios/etc/htpasswd.users
    #Require valid-user

    # With installed and enabled mod_rewrite there are several redirections
    # available to fix deprecated and/or wrong urls. None of those rules is
    # mandatory to get NagVis working.

    RewriteEngine On
    RewriteBase /nagvis/nagvis

    # Use mod_rewrite for old url redirection even if there are php files which
    # redirect the queries itselfs. In some cases the mod_rewrite redirect
    # is better than the php redirect.
    #
    # Using the php redirect seems to be better in some cases where https/http servers
    # are mixed. For example in OMD setups where using apache own mode and https in the
    # frontend and http in the backend apache servers.
    #
    # Disabling this redirect by default in the hope that the php direct works better.
    #RewriteCond %{REQUEST_URI} ^/nagvis/nagvis(/config\.php|/index\.php|/|)(\?.*|)$
    #RewriteRule ^(.*)$ /nagvis/nagvis/frontend/nagvis-js/%1%2 [R=301,L]

    # Redirect old regular map links
    RewriteCond %{REQUEST_URI} ^/nagvis/nagvis/frontend/(wui|nagvis-js)
    RewriteCond %{QUERY_STRING} map=(.*)
    RewriteRule ^(.*)$ /nagvis/nagvis/frontend/nagvis-js/index.php?mod=Map&act=view&show=%1 [R=301,L]

    # Without map= param
    RewriteCond %{REQUEST_URI} ^/nagvis/nagvis/frontend(/wui)?/?(index.php)?$
    RewriteRule ^(.*)$ /nagvis/nagvis/frontend/nagvis-js/index.php [R=301,L]
    # Redirect old rotation calls
    RewriteCond %{REQUEST_URI} ^/nagvis/nagvis/frontend/nagvis-js
    RewriteCond %{QUERY_STRING} !mod
    RewriteCond %{QUERY_STRING} rotation=(.*)
    RewriteRule ^(.*)$ /nagvis/nagvis/frontend/nagvis-js/index.php?mod=Rotation&act=view&show=%1 [R=301,L]

  2. I did installation by ./install.sh but I can’t access nagvis to Redhat 8.
    But present 500 error httpd server.

Leave a Reply

Your email address will not be published. Required fields are marked *