Active Host , Active Service, Notifications Disabled after

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
JasonMagee
Posts: 31
Joined: Thu Jan 26, 2012 1:12 pm

Active Host , Active Service, Notifications Disabled after

Post 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.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Active Host , Active Service, Notifications Disabled aft

Post 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?
Be sure to check out our Knowledgebase for helpful articles and solutions!
JasonMagee
Posts: 31
Joined: Thu Jan 26, 2012 1:12 pm

Re: Active Host , Active Service, Notifications Disabled aft

Post 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.
You do not have the required permissions to view the files attached to this post.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Active Host , Active Service, Notifications Disabled aft

Post 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
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
JasonMagee
Posts: 31
Joined: Thu Jan 26, 2012 1:12 pm

Re: Active Host , Active Service, Notifications Disabled aft

Post 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?
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Active Host , Active Service, Notifications Disabled aft

Post by lmiltchev »

Yes, make these additions, run:

Code: Select all

sysctl -p
then reboot your server.

Let us know how it went.
Be sure to check out our Knowledgebase for helpful articles and solutions!
JasonMagee
Posts: 31
Joined: Thu Jan 26, 2012 1:12 pm

Re: Active Host , Active Service, Notifications Disabled aft

Post by JasonMagee »

Wow. Much better! Thank you for your assistance on this.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Active Host , Active Service, Notifications Disabled aft

Post by lmiltchev »

Glad we could help!
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked