Page 1 of 1
Active Host , Active Service, Notifications Disabled after
Posted: Thu Jun 21, 2012 1:45 pm
by JasonMagee
After Applying Configuration, Active Host checks , Active Service checks and Notifications remain disabled for at least 5 or 6 Minutes. Is this normal operation for the 32 bit version of Nagios XI? I am currently running the 32 bit VM with 506 active hosts so far and 1,515 Services. I am planning to enter at least 500 more hosts and 5000 more Services.
Re: Active Host , Active Service, Notifications Disabled aft
Posted: Thu Jun 21, 2012 3:27 pm
by lmiltchev
What version of Nagios XI are you running?
What are your hardware specs (HDD, CPU, RAM)? Did you follow
our general guidelines on the hardware requirements needed to run Nagios XI?
Can you show what you have in the "/etc/php.ini" under the "Resource Limits" section?
Re: Active Host , Active Service, Notifications Disabled aft
Posted: Thu Jun 21, 2012 3:59 pm
by JasonMagee
We are running Nagios XI 2011R3.1.
Hardware Specs
CPU= 2 Virtual Sockets and 1 Core each Socket
Memory = 4096 MB
HDD = 10 GB
Utilizing precanned Nagios XI VM running on Centos 6.
Contents of the php.ini file are located in attachment.
Re: Active Host , Active Service, Notifications Disabled aft
Posted: Thu Jun 21, 2012 4:38 pm
by scottwilkerson
I think I know the problem, there was a bug in 3.x releases with a fix outlined here
http://support.nagios.com/wiki/index.ph ... 3.x_Issues
Re: Active Host , Active Service, Notifications Disabled aft
Posted: Thu Jun 21, 2012 4:51 pm
by JasonMagee
Am I to replace the contents of the sysctl.conf file or make the addition of the other entries?
Here is my current sysctl.conf file:
# Kernel sysctl configuration file for Red Hat Linux
#
# For binary values, 0 is disabled, 1 is enabled. See sysctl(8) and
# sysctl.conf(5) for more details.
# Controls IP packet forwarding
net.ipv4.ip_forward = 0
# Controls source route verification
net.ipv4.conf.default.rp_filter = 1
# Do not accept source routing
net.ipv4.conf.default.accept_source_route = 0
# Controls the System Request debugging functionality of the kernel
kernel.sysrq = 0
# Controls whether core dumps will append the PID to the core filename.
# Useful for debugging multi-threaded applications.
kernel.core_uses_pid = 1
# Controls the use of TCP syncookies
net.ipv4.tcp_syncookies = 1
# Disable netfilter on bridges.
net.bridge.bridge-nf-call-ip6tables = 0
net.bridge.bridge-nf-call-iptables = 0
net.bridge.bridge-nf-call-arptables = 0
If I am thinking right I would just make the addition of the other entries as follows:
# Kernel sysctl configuration file for Red Hat Linux
#
# For binary values, 0 is disabled, 1 is enabled. See sysctl(8) and
# sysctl.conf(5) for more details.
# Controls IP packet forwarding
net.ipv4.ip_forward = 0
# Controls source route verification
net.ipv4.conf.default.rp_filter = 1
# Do not accept source routing
net.ipv4.conf.default.accept_source_route = 0
# Controls the System Request debugging functionality of the kernel
kernel.sysrq = 0
# Controls whether core dumps will append the PID to the core filename.
# Useful for debugging multi-threaded applications.
kernel.core_uses_pid = 1
# Controls the use of TCP syncookies
net.ipv4.tcp_syncookies = 1
# Disable netfilter on bridges.
net.bridge.bridge-nf-call-ip6tables = 0
net.bridge.bridge-nf-call-iptables = 0
net.bridge.bridge-nf-call-arptables = 0
# Controls the maximum size of a message, in bytes
kernel.msgmnb = 131072000
# Controls the default maxmimum size of a mesage queue
kernel.msgmax = 131072000
# Controls the maximum shared segment size, in bytes
kernel.shmmax = 4294967295
# Controls the maximum number of shared memory segments, in pages
kernel.shmall = 268435456
after which I would run sysctl -p
Is this correct?
Re: Active Host , Active Service, Notifications Disabled aft
Posted: Fri Jun 22, 2012 8:32 am
by lmiltchev
Yes, make these additions, run:
then reboot your server.
Let us know how it went.
Re: Active Host , Active Service, Notifications Disabled aft
Posted: Fri Jun 22, 2012 9:06 am
by JasonMagee
Wow. Much better! Thank you for your assistance on this.
Re: Active Host , Active Service, Notifications Disabled aft
Posted: Fri Jun 22, 2012 9:36 am
by lmiltchev
Glad we could help!