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

nagios-plugins/plugins/check_dns.c #725

Closed
asepready opened this issue Aug 6, 2023 · 3 comments
Closed

nagios-plugins/plugins/check_dns.c #725

asepready opened this issue Aug 6, 2023 · 3 comments
Labels

Comments

@asepready
Copy link

Not compile with make/gcc

@sawolf
Copy link
Member

sawolf commented Aug 7, 2023

Hi @asepready, thanks for reaching out. The latest release of nagios-plugins does compile on my test systems, including check_dns. Can you tell me a bit about your build environment?

Specifically, I'd like to know 1) what distribution of linux/unix you're using, including version number (e.g. CentOS Stream 9), and 2) what the output is from make all

@asepready
Copy link
Author

terima kasih @sawolf,
saya menggunakan distribusi linux yang digunakan adalah CentOS 7

@sawolf
Copy link
Member

sawolf commented Aug 11, 2023

Okay, I see the issue now - there are no errors shown in the output of make all, but check_dns doesn't exist at the end of the process.

I was able to fix this by installing nslookup (from bind-utils) first:

yum install bind-utils -y
./tools/setup
./configure
make all
make install

Afterwards, it looks like check_dns is properly compiled.

I'll update our documentation. Let me know if this works for you or if you run into further trouble. Thank you!

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

No branches or pull requests

2 participants