beta, 2014R1.0RC3
-
hanya.radwan
- Posts: 194
- Joined: Tue Feb 25, 2014 6:12 am
- Location: palestine
Re: beta, 2014R1.0RC3
hi,
I did and ok, but no email sent from Nagios
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
The last related item in your log was
Is mysqld still running?
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!Code: Select all
service mysqld status-
hanya.radwan
- Posts: 194
- Joined: Tue Feb 25, 2014 6:12 am
- Location: palestine
Re: beta, 2014R1.0RC3
ok,
[root@nms ~]# service mysqld status
mysqld (pid 10753) is running..
and the attached has maillog
[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.
Re: beta, 2014R1.0RC3
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
notification
Re: beta, 2014R1.0RC3
It sure looks like it is sending emails (through sendmail):
Did you originally use sendmail or smtp?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
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.
"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
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
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
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/
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/
Re: beta, 2014R1.0RC3
Can you describe in details, all of the steps you took?I disable the services themselves
Also, run the following command and show us the output in code wraps:
Code: Select all
ps -ef | grep bin/nagiosBe sure to check out our Knowledgebase for helpful articles and solutions!