Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request for 2 new Macros called $LASTHARDSERVICESTATE$ and $LASTHARDHOSTSTATE$ to be added to Core. #619

Open
tgriep opened this issue Feb 4, 2019 · 8 comments
Milestone

Comments

@tgriep
Copy link

tgriep commented Feb 4, 2019

I am looking to get 2 new macros added to Nagios Core.
They would be called
$LASTHARDSERVICESTATE$
A description if what it is.
A string indicating the last Hard state of the service ("OK", "WARNING", "UNKNOWN", or "CRITICAL").

$LASTHARDHOSTSTATE$
A description if what it is.
A string indicating the last Hard state of the host ("UP", "DOWN", or "UNREACHABLE") .

They are slightly different from the existing macros as they will only have the Hard stare information in them and not the Soft state.

@gesnus
Copy link

gesnus commented May 6, 2019

Hi,

Three months ago we made the request for this development and we do not have any kind of news. Could you update us the state in which the development of this solution is?

Many thanks for your work.

@jomann09
Copy link
Contributor

jomann09 commented May 6, 2019

This won't be added until one of the next minor releases (such as Core 4.5) which isn't likely to be out until later this year.

@gesnus
Copy link

gesnus commented May 20, 2020

Hi,

Is there a provision to fix this bug?

Thank you.

@sawolf sawolf added this to the 4.5.0 milestone May 20, 2020
@sawolf
Copy link
Contributor

sawolf commented May 20, 2020

Hi @gesnus,

I don't consider this a bug, but I've added the task to the 4.5 milestone.

@gesnus
Copy link

gesnus commented Oct 27, 2020

Hi,

I still have this problem, is there any foresight for the development of the solution?

Thank you very much

@smccambly
Copy link

Hello,

I just asked this exact question to Nagios XI support and they pointed me to this 2 year old pending feature request.
So I would also like to add my vote that this very useful feature be added as soon as possible.

Thank you.

@gesnus
Copy link

gesnus commented Dec 2, 2021

We will wait for them to include it in their roadmap.

Thank you.

@gesnus
Copy link

gesnus commented May 31, 2022

Good afternoon.

Is there any news about this topic by any chance? We've been trying to do something like this while is not implemented, but is not working as we would like.

Please, if you can give us any information of when will this feature be released, we would appreciate it.

Thank you kindly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants