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

Add support for serving as a Nagios service check #15

Open
atc0005 opened this issue Apr 8, 2020 · 2 comments
Open

Add support for serving as a Nagios service check #15

atc0005 opened this issue Apr 8, 2020 · 2 comments
Labels
enhancement New feature or request nagios
Milestone

Comments

@atc0005
Copy link
Owner

atc0005 commented Apr 8, 2020

Perform query against all DNS servers in /etc/resolv.conf and return pass/fail result.

refs #4

@atc0005
Copy link
Owner Author

atc0005 commented Apr 11, 2020

Or, take a list of DNS servers (or config file) and have Nagios check the current host for a matching record in all specified DNS servers.

Bonus: allow a specific DNS server to return a response that the record does not exist (e.g., internal host record that should not exist in public DNS server.

@atc0005
Copy link
Owner Author

atc0005 commented Mar 8, 2021

I think the best approach here is to create a new binary instead of trying to fit a nagios-specific flag into the current cmd/dnsc binary.

If I go this route, the atc0005/check-vmware project can serve as an example of providing flags specific to a specific binary. This way the same config package can be used by both binaries, but only the flags intended for a specific binary will be exposed (while flags not specific to a binary will be seen by both).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request nagios
Projects
None yet
Development

No branches or pull requests

1 participant