Nagios installation question

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
jdalrymple
Skynet Drone
Posts: 2620
Joined: Wed Feb 11, 2015 1:56 pm

Re: Nagios installation question

Post by jdalrymple »

If you grep/search for the string "forward" you'll see where there were issues seeting sysctl variables.

I'm trying to install from the home directory to see if that recreates your problem... I'm not sure why it would - but the fullinstall script is usually pretty reliable.
jdalrymple
Skynet Drone
Posts: 2620
Joined: Wed Feb 11, 2015 1:56 pm

Re: Nagios installation question

Post by jdalrymple »

Installing from ~ worked fine...

Here is the interesting bit from my install.log where we saw problems in your sysctl adjustments.

Code: Select all

NDOUTILS-POST
net.ipv4.ip_forward = 0
net.ipv4.conf.default.rp_filter = 1
net.ipv4.conf.default.accept_source_route = 0
kernel.sysrq = 0
kernel.core_uses_pid = 1
net.ipv4.tcp_syncookies = 1
kernel.msgmnb = 131072000
kernel.msgmax = 131072000
kernel.shmmax = 4294967295
kernel.shmall = 268435456
NOTE: If prompted, enter the MySQL root password
DBD::mysql::db do failed: Table 'nagios.nagios_dbversion' doesn't exist at ./installdb line 51.
** Creating tables for version 2.0.1
     Using mysql.sql for installation...
** Updating table nagios_dbversion
Done!
You can PM myself or any of the other Nagios support folks (our names are green) your sysctl.conf and we'll share it internally only.
jvanmeter
Posts: 21
Joined: Fri Apr 03, 2015 9:10 am

Re: Nagios installation question

Post by jvanmeter »

in my sysctl.conf file, this are the only lines that are different

kernel.msgmnb = 131072000
kernel.msgmax = 131072000
kernel.shmmax = 4294967295
kernel.shmall = 268435456

I made those changes in my sysctl.conf file and ndoutils still fails to install.
jvanmeter
Posts: 21
Joined: Fri Apr 03, 2015 9:10 am

Re: Nagios installation question

Post by jvanmeter »

I also see the following in the install.log file until the title "NODUTILS-POST
error: "invalid argument" setting key "net.ipv4.ip_forward" and so on...but that line was set to the same as yours from your last post
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Nagios installation question

Post by lmiltchev »

Can you show us the whole "/etc/sysctl.conf" file?
Is there someway I can post sysctl.conf file to you with out posting it in a public forum
There is no sensitive info in this file, but if you are really concerned, and don't want to post it on a public forum, you can send it via PM to any of us on the Nagios Tech team.
Be sure to check out our Knowledgebase for helpful articles and solutions!
jdalrymple
Skynet Drone
Posts: 2620
Joined: Wed Feb 11, 2015 1:56 pm

Re: Nagios installation question

Post by jdalrymple »

Something is definitely haywire in your file /etc/sysctl.conf, please PM. You could just post it, it's very unlikely to have private info.
jvanmeter
Posts: 21
Joined: Fri Apr 03, 2015 9:10 am

Re: Nagios installation question

Post by jvanmeter »

OK here is what I found......

my sysctl.conf file is built during the kickstart process. In my sysctl.conf file I noticed that (as a example)
net.ipv4.ip_forward = 0 #set by security
the comment was making Nagiosxi installer fail with a invalid argument. When I remove the #comment from all the lines in sysctl.conf file the installer go passed that part.

Sorry I didn't notice that earlier
jdalrymple
Skynet Drone
Posts: 2620
Joined: Wed Feb 11, 2015 1:56 pm

Re: Nagios installation question

Post by jdalrymple »

Did ndoutils (and the remainder of the install) succeed?
Locked