Nagios setup failing connect via web Error 403

for clarification so it can be repo’d

After the machine was fully built and patched. I opened software management and searched for nagios. Selected “All in this List” and Install. To install all relevant files to Nagios. I will try and grab a list of what was selected this evening. Was less than 15 packages I believe.

I will also go home and rebuild my VM, add the nagiosadmin user account, and make the change to the apache2 nagios config file and see if thats all what the problem is and report back.

John

Hi
So I see on my test setup;


zypper se -i nagios

S  | Name           | Summary                                                      | Type   
---+----------------+--------------------------------------------------------------+--------
i+ | nagios         | The Nagios Network Monitor                                   | package
i+ | nagios-contrib | Files from the contrib directory                             | package
i  | nagios-www     | Provides the HTML and CGI files for the Nagios web interface | package

ls /usr/share/nagios/ind*

/usr/share/nagios/index.php

No html, I’m guessing it comes from the themes packages.

So i am assuming that zypper se -i will show me all installed packages regarding nagios??? I have never used it, but it looks like what software management showed me.

linux-fkcd:~ # zypper se -i nagios
Loading repository data…
Reading installed packages…

S | Name | Summary | Type
—±--------------------------±--------------------------------------------------------------±-------
i+ | ghc-nagios-check | Package for writing monitoring plugins | package
i+ | ghc-nagios-check-devel | Haskell nagios-check library development files | package
i+ | logwarn-nagios-plugin | Nagios plugin based on the logwarn(1) utility | package
i+ | monitoring-plugins-nagios | Check nagios server | package
i+ | nagios | The Nagios Network Monitor | package
i+ | nagios-contrib | Files from the contrib directory | package
i+ | nagios-devel | Development files for Nagios | package
i+ | nagios-rpm-macros | RPM Macros for Nagios based packages | package
i+ | nagios-theme-exfoliation | Nagios Core web interface | package
i+ | nagios-theme-switcher | Simple Theme Switcher for Nagios Webfrontend | package
i+ | nagios-www | Provides the HTML and CGI files for the Nagios web interface | package
i+ | nagios-www-dch | HTML and CGI files that do not call home | package
i+ | perl-Nagios-Plugin | A family of perl modules to streamline writing Nagios plugins | package

linux-fkcd:~ # ls -1 /usr/share/nagios/ind*
/usr/share/nagios/index.html
/usr/share/nagios/index.php

On Tue 04 Dec 2018 11:26:03 PM CST, Johnfm3 wrote:

malcolmlewis;2888030 Wrote:
> Hi
> So I see on my test setup;
> >
Code:

> >
> zypper se -i nagios
>
> S | Name |
Summary | Type >
—±---------------±-------------------------------------------------------------±-------
> i+ | nagios | The Nagios Network
> Monitor | package > i+ |
> nagios-contrib | Files from the contrib
> directory | package
> i | nagios-www | Provides the HTML and CGI files for the
Nagios web interface | package >
> ls /usr/share/nagios/ind*
>
> /usr/share/nagios/index.php
>

> >
>
> No html, I’m guessing it comes from the themes packages.

So i am assuming that zypper se -i will show me all installed packages
regarding nagios??? I have never used it, but it looks like what
software management showed me.

linux-fkcd:~ # zypper se -i nagios
Loading repository data…
Reading installed packages…

S | Name | Summary
| Type
—±--------------------------±--------------------------------------------------------------±-------
i+ | ghc-nagios-check | Package for writing monitoring plugins
| package
i+ | ghc-nagios-check-devel | Haskell nagios-check library
development files | package
i+ | logwarn-nagios-plugin | Nagios plugin based on the logwarn(1)
utility | package
i+ | monitoring-plugins-nagios | Check nagios server
| package
i+ | nagios | The Nagios Network Monitor
| package
i+ | nagios-contrib | Files from the contrib directory
| package
i+ | nagios-devel | Development files for Nagios
| package
i+ | nagios-rpm-macros | RPM Macros for Nagios based packages
| package
i+ | nagios-theme-exfoliation | Nagios Core web interface
| package
i+ | nagios-theme-switcher | Simple Theme Switcher for Nagios
Webfrontend | package
i+ | nagios-www | Provides the HTML and CGI files for the
Nagios web interface | package
i+ | nagios-www-dch | HTML and CGI files that do not call
home | package
i+ | perl-Nagios-Plugin | A family of perl modules to streamline
writing Nagios plugins | package

linux-fkcd:~ # ls -1 /usr/share/nagios/ind*
/usr/share/nagios/index.html
/usr/share/nagios/index.php

Hi
Unless you need the themes and other bits, just keep those three and
enable php7.


Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
SLES 15 | GNOME Shell 3.26.2 | 4.12.14-25.25-default
If you find this post helpful and are logged into the web interface,
please show your appreciation and click on the star below… Thanks!