Nagios XI Don't Send E-Mail

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Bone8Head
Posts: 106
Joined: Tue Nov 10, 2015 2:39 am

Re: Nagios XI Don't Send E-Mail

Post by Bone8Head »

hsmith wrote:Only the test email will send then?

Can you go to the Admin Page, and see if you have any checkmarks that are not green under system status?
Yes, and they are all green (always green).
Yes, ONLY the Test E-Mail (I receveid all of them).
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

Re: Nagios XI Don't Send E-Mail

Post by hsmith »

Can I take a look at your profile?

Go to Admin --> System Config --> System Profile
Click "Download Profile"
Save the .zip file and send it to me as a PM.
Do not attach it to this forum post, it will contain sensitive information.
Former Nagios Employee.
me.
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

Re: Nagios XI Don't Send E-Mail

Post by hsmith »

I've received the profile, I am going to take a look through it.
Former Nagios Employee.
me.
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

Re: Nagios XI Don't Send E-Mail

Post by hsmith »

Can I see the output of an ipcs -q command?
Former Nagios Employee.
me.
Bone8Head
Posts: 106
Joined: Tue Nov 10, 2015 2:39 am

Re: Nagios XI Don't Send E-Mail

Post by Bone8Head »

hsmith wrote:Can I see the output of an ipcs -q command?

Code: Select all

[root@nagiosfe /]# ipcs -q

------ Message Queues --------
key        msqid      owner      perms      used-bytes   messages
0x20000002 65536      nagios     600        131072000    128000
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

Re: Nagios XI Don't Send E-Mail

Post by hsmith »

It looks like your message queue is maxing out. Can we follow these steps taken from the Nagios XI FAQ

Open /etc/sysctl.conf with a text editor. Edit the file to match the following values:

Code: Select all

 # 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

 ## The maximum number of messages allowed in any one message queue
 kernel.msgmni = 256000
Then run this command:

Code: Select all

sysctl -p
We also should make sure we restart ndo2db.

Code: Select all

service ndo2db restart
Former Nagios Employee.
me.
Bone8Head
Posts: 106
Joined: Tue Nov 10, 2015 2:39 am

Re: Nagios XI Don't Send E-Mail

Post by Bone8Head »

hsmith wrote:It looks like your message queue is maxing out. Can we follow these steps taken from the Nagios XI FAQ

Open /etc/sysctl.conf with a text editor. Edit the file to match the following values:
Done.

Code: Select all

sysctl -p
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.msgmnb = 131072000
kernel.shmmax = 4294967295
kernel.shmall = 268435456
kernel.msgmni = 256000
[root@nagiosfe /]# service ndo2db restart
Stopping ndo2db: .done.
Starting ndo2db: done.
[root@nagiosfe /]#
E-Mail are not coming now, unfortunately :(
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

Re: Nagios XI Don't Send E-Mail

Post by hsmith »

Does your message queue look better now, at least?

Code: Select all

ipcs -q
Former Nagios Employee.
me.
Bone8Head
Posts: 106
Joined: Tue Nov 10, 2015 2:39 am

Re: Nagios XI Don't Send E-Mail

Post by Bone8Head »

hsmith wrote:Does your message queue look better now, at least?

Code: Select all

ipcs -q

Code: Select all

------ Message Queues --------
key        msqid      owner      perms      used-bytes   messages
0x20000002 65536      nagios     600        131072000    128000
0xe0000002 98305      nagios     600        131072000    128000
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

Re: Nagios XI Don't Send E-Mail

Post by hsmith »

How many CPUs do you have on this machine?
Former Nagios Employee.
me.
Locked