Email is not getting generated for some cases

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Email is not getting generated for some cases

Post by scottwilkerson »

It never went into a HARD state.

Looking at this I suspect you are hitting a bug that existed in Nagios Core 4.4.1 and should be resolved in Core 4.4.3
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
amitgupta19
Posts: 286
Joined: Fri Sep 08, 2017 5:53 am

Re: Email is not getting generated for some cases

Post by amitgupta19 »

But this is not happening in all the cases. Only in some cases i could found it.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Email is not getting generated for some cases

Post by scottwilkerson »

amitgupta19 wrote:But this is not happening in all the cases. Only in some cases i could found it.
That was part of the bug, it would only happen in some case.
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
amitgupta19
Posts: 286
Joined: Fri Sep 08, 2017 5:53 am

Re: Email is not getting generated for some cases

Post by amitgupta19 »

When a host goes down, it does not generate the email alert.
Is it also due to the Bug that you are talking about.

If yes can you guide me how to get rid of this bug.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Email is not getting generated for some cases

Post by scottwilkerson »

amitgupta19 wrote:When a host goes down, it does not generate the email alert.
Is it also due to the Bug that you are talking about.

If yes can you guide me how to get rid of this bug.
Very possible

Follow this guide to upgrade Core, to 4.4.3 from source making sure you make a backup before proceeding

https://support.nagios.com/kb/article/n ... e-797.html
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
amitgupta19
Posts: 286
Joined: Fri Sep 08, 2017 5:53 am

Re: Email is not getting generated for some cases

Post by amitgupta19 »

Please refer to the screenshot attached.
In this screenshot you will see the Current Attempt as: 2/2 and still it is in Soft State.
Hope this will also be covered by this?
amitgupta19
Posts: 286
Joined: Fri Sep 08, 2017 5:53 am

Re: Email is not getting generated for some cases

Post by amitgupta19 »

Forgot to attach in my previous message.
Attachments
Soft State.JPG
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Email is not getting generated for some cases

Post by scottwilkerson »

amitgupta19 wrote:Hope this will also be covered by this?
Yes, this is all part of the same bug
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
amitgupta19
Posts: 286
Joined: Fri Sep 08, 2017 5:53 am

Re: Email is not getting generated for some cases

Post by amitgupta19 »

I have upgraded the Nagios to the version 4.4.3.
I will monitor it for some time and will see how it behaves.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Email is not getting generated for some cases

Post by scottwilkerson »

amitgupta19 wrote:I have upgraded the Nagios to the version 4.4.3.
I will monitor it for some time and will see how it behaves.
Sounds good
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
Locked