Hi All,
Is this possible to monitor the Real time Alerts which are sent to User's email id.
Real time Alerts monitoring
Re: Real time Alerts monitoring
You may want to clarify what you mean by monitor them.
On the service or host though you can click the "View Service Notifications" icon (looks like a little cell phone) and this will show you all the notifications that have been sent out for that service or host in your defined time period.
On the service or host though you can click the "View Service Notifications" icon (looks like a little cell phone) and this will show you all the notifications that have been sent out for that service or host in your defined time period.
Prod XI: Debian 12 - Nagios XI 2026R1.2
Dev XI: Debian 12 - Nagios XI 2026R1.2
Dev XI: Debian 12 - Nagios XI 2026R1.2
Re: Real time Alerts monitoring
Rupender, did GldRush98 answer your question?
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Real time Alerts monitoring
Actually i just want to monitor all Alerts which are sent to User's or Contact's Email id.
Is this possible with below command:
tailf /var/log/maillog
Is this possible with below command:
tailf /var/log/maillog
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: Real time Alerts monitoring
Sure, you could tail and grep for the email address, or something unique to the contact.
Re: Real time Alerts monitoring
When i traced the Sendmail log as well as Nagios log which is
NAGIOS LOG
#cat /usr/local/nagios/var/archives/nagios-09-01-2013-00.log |grep RADshare 27
#cat /usr/local/nagios/var/archives/nagios-09-01-2013-00.log |grep 172.25.24.27 Outpout is nothing
SENDMAIL LOG
Sep 1 20:47:47 localusarad sendmail[28874]: r820llQi028874:
ocalhost.localdomain>, proto=ESMTP, daemon=MTA, relay=localhost.localdomain [127.0.0.1]
ler=relay, pri=31354, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (r820llQi028874 Message accepted for delivery)
lrivertech.com. [169.131.130.19], dsn=2.0.0, stat=Sent (Ok: queued as AD2CE12C065)
-f
alhost.localdomain>, relay=nagios@localhost
Sep 1 21:52:37 localusarad sendmail[16003]: r821qbtb016003:
ocalhost.localdomain>, proto=ESMTP, daemon=MTA, relay=localhost.localdomain [127.0.0.1]
ler=relay, pri=31354, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (r821qbtb016003 Message accepted for delivery)
lrivertech.com. [169.131.130.19], dsn=2.0.0, stat=Sent (Ok: queued as F3FF512C065)
f
lhost.localdomain>, relay=nagios@localhost
Sep 1 22:52:46 localusarad sendmail[1599]: r822qkmG001599:
calhost.localdomain>, proto=ESMTP, daemon=MTA, relay=localhost.localdomain [127.0.0.1]
er=relay, pri=31354, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (r822qkmG001599 Message accepted for delivery)
rivertech.com. [169.131.130.19], dsn=2.0.0, stat=Sent (Ok: queued as 4F39F12C065)
but i am surprised how this Alert come at Date/Time: 2013-09-01 21:59:36 while in mail log there is no any mail dilevered:
To: <[email protected]>
Subject: PROBLEM Host Alert - RADshare 27 is DOWN
Reply-To: Nagios XI <[email protected]>
***** Nagios XI Alert *****
Notification Type: PROBLEM
Host: RADshare 27
State: DOWN
Address: 172.25.24.27
Info: CRITICAL - 172.25.24.27: rta nan, lost 100%
Date/Time: 2013-09-01 21:59:36
Nagios URL: http://169.131.130.107/nagiosxi/
How this Alerts sent while there is no existence of this Alerts in Sendmail log, Is this possible email sent without Sendmail MTA?
Please help me as soon as possible.
Thanks
NAGIOS LOG
#cat /usr/local/nagios/var/archives/nagios-09-01-2013-00.log |grep RADshare 27
#cat /usr/local/nagios/var/archives/nagios-09-01-2013-00.log |grep 172.25.24.27 Outpout is nothing
SENDMAIL LOG
Sep 1 20:47:47 localusarad sendmail[28874]: r820llQi028874:
ocalhost.localdomain>, proto=ESMTP, daemon=MTA, relay=localhost.localdomain [127.0.0.1]
ler=relay, pri=31354, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (r820llQi028874 Message accepted for delivery)
lrivertech.com. [169.131.130.19], dsn=2.0.0, stat=Sent (Ok: queued as AD2CE12C065)
-f
alhost.localdomain>, relay=nagios@localhost
Sep 1 21:52:37 localusarad sendmail[16003]: r821qbtb016003:
ocalhost.localdomain>, proto=ESMTP, daemon=MTA, relay=localhost.localdomain [127.0.0.1]
ler=relay, pri=31354, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (r821qbtb016003 Message accepted for delivery)
lrivertech.com. [169.131.130.19], dsn=2.0.0, stat=Sent (Ok: queued as F3FF512C065)
f
lhost.localdomain>, relay=nagios@localhost
Sep 1 22:52:46 localusarad sendmail[1599]: r822qkmG001599:
calhost.localdomain>, proto=ESMTP, daemon=MTA, relay=localhost.localdomain [127.0.0.1]
er=relay, pri=31354, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (r822qkmG001599 Message accepted for delivery)
rivertech.com. [169.131.130.19], dsn=2.0.0, stat=Sent (Ok: queued as 4F39F12C065)
but i am surprised how this Alert come at Date/Time: 2013-09-01 21:59:36 while in mail log there is no any mail dilevered:
To: <[email protected]>
Subject: PROBLEM Host Alert - RADshare 27 is DOWN
Reply-To: Nagios XI <[email protected]>
***** Nagios XI Alert *****
Notification Type: PROBLEM
Host: RADshare 27
State: DOWN
Address: 172.25.24.27
Info: CRITICAL - 172.25.24.27: rta nan, lost 100%
Date/Time: 2013-09-01 21:59:36
Nagios URL: http://169.131.130.107/nagiosxi/
How this Alerts sent while there is no existence of this Alerts in Sendmail log, Is this possible email sent without Sendmail MTA?
Please help me as soon as possible.
Thanks
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: Real time Alerts monitoring
Okay you are running into notification problems now too? Do you have anything closer to "Spet 1, 21:59:36" in your mail log?
Re: Real time Alerts monitoring
No, that is only whatever i post before...
Can anyone confirm me that Is this possible email is sent without Sendmail MTA?
Can anyone confirm me that Is this possible email is sent without Sendmail MTA?
Re: Real time Alerts monitoring
What is the mail method that you are using - Sendmail or SMTP?
Code: Select all
Admin->Manage Email SettingsBe sure to check out our Knowledgebase for helpful articles and solutions!
Re: Real time Alerts monitoring
Definitely Sendmail..