Page 1 of 1

install nagios 4.4.5 in OpenSuse 15.1 Leap

Posted: Mon Dec 23, 2019 3:50 pm
by h2user
Hi

The apache2 service is not starting after the Nagios.conf is created in /etc/apache2/conf.d.
When I remove the file apache is starting. The error states line 14 on /etc/apache.conf/conf.d/Nagios.conf and says invalid command <ifVersion > is misspelt or defined by a module not configured in the server configuration.

I am a huge fan of Nagios and this is the first time I can not get it to work with this version. I used this guide:

https://assets.nagios.com/downloads/nag ... nsuse.html

Any (short) guidance would really be appreciated.

Kind regards,, h2user

Re: install nagios 4.4.5 in OpenSuse 15.1 Leap

Posted: Mon Dec 23, 2019 4:25 pm
by benjaminsmith
Hello,

We have an updated guide on your knowledgebase with OpenSuse 15.x directions. Can you try once more following the guide below and let us know if you have any issues.

Nagios Core - Installing Nagios Core From Source

Re: install nagios 4.4.5 in OpenSuse 15.1 Leap

Posted: Tue Dec 24, 2019 6:36 am
by h2user
Hi

Thanks ,,, This worked like a charm... Everything up and running now!
Thanks again for the mega quick response. Enjoy the holidays

kind regards,

Olivier

Re: install nagios 4.4.5 in OpenSuse 15.1 Leap

Posted: Tue Dec 24, 2019 9:41 am
by h2user
1 more question ! I receive error check_mrtgtraf: Unable to open MRTG log file . Is there a guide available for openSUSE to get this also working ?

Re: install nagios 4.4.5 in OpenSuse 15.1 Leap

Posted: Thu Dec 26, 2019 1:00 pm
by tgriep
The plugin requires an application installed on the server called MRTG which will gather the data the plugin requires.

The following link from openSUSE says "There is no official package available for openSUSE Leap 15.1: but you can try the Experiential Download to install it.
https://software.opensuse.org/package/mrtg

If you need help using and configuring MRTG, the MRTG web site has some details on configuring it and running it.
https://oss.oetiker.ch/mrtg/doc/index.en.html

Re: install nagios 4.4.5 in OpenSuse 15.1 Leap

Posted: Mon Dec 30, 2019 10:25 am
by h2user
Thanks Again ! I have got It working. I have been looking but have not found it ,... Is there a way to show the output .png in the Nagios core dashboard or in a custom dashboard of some sort ?

Kind regards,

Olivier

Re: install nagios 4.4.5 in OpenSuse 15.1 Leap

Posted: Mon Dec 30, 2019 2:05 pm
by tgriep
The following link is the Nagios Exchange site you can search for addons for Nagios.
https://exchange.nagios.org/

Search it to see if you can find what you are looking to display in the Nagios interface.

But, I am guessing that since you are working on getting Bandwidth information running on the server, you want to graph that.
Is that so?

If so, there is a 3rd party tool called PNP4Nagios which you can use to display performance data for Bandwidth and other plugings that output performance data.
See this site for that.
http://docs.pnp4nagios.org/start

Re: install nagios 4.4.5 in OpenSuse 15.1 Leap

Posted: Tue Dec 31, 2019 5:57 am
by h2user
Thanks again.. this is great and working very nice

I used YAST to install
RRD Tool and RRDs Perl Modules

Then I used this guide for openSUSE 15.1 leap

https://support.nagios.com/kb/article/n ... s-801.html

I installed the missing modules when starting the page the first time using YAST

Then had to modify both lines containing

application/models/data.php

solution:
change
if(sizeof($pages) > 0 ){
to
if(is_array($pages) && sizeof($pages) > 0 ){

Thanks again and have a great new year...realy appreciate all the help.. Case closed I think !

Re: install nagios 4.4.5 in OpenSuse 15.1 Leap

Posted: Thu Jan 02, 2020 8:13 am
by scottwilkerson
h2user wrote:Thanks again.. this is great and working very nice

I used YAST to install
RRD Tool and RRDs Perl Modules

Then I used this guide for openSUSE 15.1 leap

https://support.nagios.com/kb/article/n ... s-801.html

I installed the missing modules when starting the page the first time using YAST

Then had to modify both lines containing

application/models/data.php

solution:
change
if(sizeof($pages) > 0 ){
to
if(is_array($pages) && sizeof($pages) > 0 ){

Thanks again and have a great new year...realy appreciate all the help.. Case closed I think !
Great!

Locking thread