beta, 2014R1.0RC3

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
hanya.radwan
Posts: 194
Joined: Tue Feb 25, 2014 6:12 am
Location: palestine

Re: beta, 2014R1.0RC3

Post by hanya.radwan »

hi,

I did and ok, but no email sent from Nagios
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: beta, 2014R1.0RC3

Post by scottwilkerson »

The last related item in your log was

Code: Select all

Jun  5 10:40:07 nms1 ndo2db: mysql_error: 'MySQL server has gone away'
Jun  5 10:40:07 nms1 ndo2db: Error: Connection to MySQL database has been lost!
Is mysqld still running?

Code: Select all

service mysqld status
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
hanya.radwan
Posts: 194
Joined: Tue Feb 25, 2014 6:12 am
Location: palestine

Re: beta, 2014R1.0RC3

Post by hanya.radwan »

ok,
[root@nms ~]# service mysqld status
mysqld (pid 10753) is running..

and the attached has maillog
You do not have the required permissions to view the files attached to this post.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: beta, 2014R1.0RC3

Post by lmiltchev »

Let's clarify - are you having an issue with restoring from a backup, or you are having an issue with notifications? Which one do you want us to troubleshoot?
Be sure to check out our Knowledgebase for helpful articles and solutions!
hanya.radwan
Posts: 194
Joined: Tue Feb 25, 2014 6:12 am
Location: palestine

Re: beta, 2014R1.0RC3

Post by hanya.radwan »

notification
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: beta, 2014R1.0RC3

Post by abrist »

It sure looks like it is sending emails (through sendmail):
Jun 5 16:00:23 nms1 sendmail[48223]: s55D0Cfb048223: from=root, size=3130, class=0, nrcpts=1, msgid=<[email protected]>, relay=root@localhost
Jun 5 16:00:23 nms1 postfix/smtpd[49363]: connect from localhost[127.0.0.1]
Jun 5 16:00:23 nms1 postfix/smtpd[49363]: A8005283778: client=localhost[127.0.0.1]
Jun 5 16:00:23 nms1 postfix/cleanup[49369]: A8005283778: message-id=<[email protected]>
Jun 5 16:00:23 nms1 sendmail[48223]: s55D0Cfb048223: to=root, ctladdr=root (0/0), delay=00:00:11, xdelay=00:00:00, mailer=relay, pri=33130, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (Ok: queued as A8005283778)
Jun 5 16:00:23 nms1 postfix/qmgr[1827]: A8005283778: from=<[email protected]>, size=3618, nrcpt=1 (queue active)
Jun 5 16:00:23 nms1 postfix/smtpd[49363]: disconnect from localhost[127.0.0.1]
Jun 5 16:00:23 nms1 postfix/local[49376]: A8005283778: to=<[email protected]>, relay=local, delay=0.17, delays=0.1/0.05/0/0.02, dsn=2.0.0, status=sent (delivered to mailbox)
Jun 5 16:00:23 nms1 postfix/qmgr[1827]: A8005283778: removed
Did you originally use sendmail or smtp?
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
hanya.radwan
Posts: 194
Joined: Tue Feb 25, 2014 6:12 am
Location: palestine

Re: beta, 2014R1.0RC3

Post by hanya.radwan »

I used sendemail. now it is Ok, but I still received emails and sms for services I disabled them before four hours
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: beta, 2014R1.0RC3

Post by slansing »

Did you disable the services themselves or did you acknowledge/disable notifications on them? Can you provide an example of one of your emails along with the details page of that host/service which you have had "disabled" for four hours?
hanya.radwan
Posts: 194
Joined: Tue Feb 25, 2014 6:12 am
Location: palestine

Re: beta, 2014R1.0RC3

Post by hanya.radwan »

I disable the services themselves,
this one email:

***** Nagios XI Alert *****

Nagios has detected a problem with this service.

Notification Type: PROBLEM

Service: CPU Load
Host: localhost
Address: 127.0.0.1
State: CRITICAL
Info:
Connection refused
Date/Time: 2014-06-06 20:00:12

Respond: http://10.102.4.10/nagiosxi//rr.php?uid ... 31a1f87b4c
Nagios URL: http://10.102.4.10/nagiosxi/
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: beta, 2014R1.0RC3

Post by lmiltchev »

I disable the services themselves
Can you describe in details, all of the steps you took?

Also, run the following command and show us the output in code wraps:

Code: Select all

ps -ef | grep bin/nagios
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked