install nagios 4.4.5 in OpenSuse 15.1 Leap

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
h2user
Posts: 7
Joined: Mon Dec 23, 2019 3:33 pm

install nagios 4.4.5 in OpenSuse 15.1 Leap

Post 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
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: install nagios 4.4.5 in OpenSuse 15.1 Leap

Post 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
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
h2user
Posts: 7
Joined: Mon Dec 23, 2019 3:33 pm

Re: install nagios 4.4.5 in OpenSuse 15.1 Leap

Post 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
h2user
Posts: 7
Joined: Mon Dec 23, 2019 3:33 pm

Re: install nagios 4.4.5 in OpenSuse 15.1 Leap

Post 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 ?
User avatar
tgriep
Madmin
Posts: 9177
Joined: Thu Oct 30, 2014 9:02 am

Re: install nagios 4.4.5 in OpenSuse 15.1 Leap

Post 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
Be sure to check out our Knowledgebase for helpful articles and solutions!
h2user
Posts: 7
Joined: Mon Dec 23, 2019 3:33 pm

Re: install nagios 4.4.5 in OpenSuse 15.1 Leap

Post 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
User avatar
tgriep
Madmin
Posts: 9177
Joined: Thu Oct 30, 2014 9:02 am

Re: install nagios 4.4.5 in OpenSuse 15.1 Leap

Post 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
Be sure to check out our Knowledgebase for helpful articles and solutions!
h2user
Posts: 7
Joined: Mon Dec 23, 2019 3:33 pm

Re: install nagios 4.4.5 in OpenSuse 15.1 Leap

Post 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 !
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: install nagios 4.4.5 in OpenSuse 15.1 Leap

Post 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
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
Locked