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

Wrong exit code in "unknown state" #5

Open
heckradr opened this issue Sep 11, 2023 · 1 comment
Open

Wrong exit code in "unknown state" #5

heckradr opened this issue Sep 11, 2023 · 1 comment

Comments

@heckradr
Copy link

heckradr commented Sep 11, 2023

Hi,

I ran into a problem with your script check_asterisk_ami when it returned the "Unknown" state. Nagios still remained green and was in OK condition.

After a quick search in the script I found an error with the exit codes. The correct variable for the unknown state is called $STATE_UNKNOWN (instead of $STATUS_UNKNOWN, which is used in the script).

Otherwise, this is a very great script, thank you very much.

Andre

@JasonRivers
Copy link
Owner

Thank you! I hadn't noticed that one! I will fix it shortly!

J

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

No branches or pull requests

2 participants