Search found 2 matches

by GemiX
Wed Jun 09, 2021 3:24 am
Forum: Open Source Nagios Projects
Topic: Nagioc Core wrong returns $HOSTATTEMPT$.
Replies: 2
Views: 940

Re: Nagioc Core wrong returns $HOSTATTEMPT$.

How i can contact with devs about this problem?
I think $HOSTATTEMPT$ have a bug, because $SERVICEATTEMPT$ macros work correctly and return 2 when service is obtain OK status from 2 attempts.
I tested this with nagios 4.4.3 and 4.4.6.
by GemiX
Thu Jun 03, 2021 7:02 am
Forum: Open Source Nagios Projects
Topic: Nagioc Core wrong returns $HOSTATTEMPT$.
Replies: 2
Views: 940

Nagioc Core wrong returns $HOSTATTEMPT$.

Hello. I use $HOSTATTEMPT$ macro in my event handler. But this parameter not work when my host returns from soft DOWN state to soft UP state. My situation(max_check_attempts value of 3): Time=====Check #======State=====State type=====$HOSTATTEMPT$ = 0 ======== 1 ========= UP ======= HARD ========== ...