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

Remove dependencies on live nagios instance #6

Open
dannywarren opened this issue Sep 3, 2016 · 0 comments
Open

Remove dependencies on live nagios instance #6

dannywarren opened this issue Sep 3, 2016 · 0 comments

Comments

@dannywarren
Copy link
Owner

Several of the build steps require a live running nagios instance to determine which version number to use.

This is only used to hardcode which status.dat parser cnagios should use at build time.

We should remove this dependency and instead make cnagios more of an on-demand nagios status file parsing utility.

This would require doing the following:

  • Removing --with-nagios-data and NAGIOS_STATUS_DATA_VERSION from configure
  • Remove NAGIOS_VERSION from headers
  • Add on-demand version parsing that can be used to determine when to call read_v1_status() vs read_v23_status()
  • Add command line flag for specifying the status.dat to parse (but still default to STATUS_DAT_FILE)
  • Add command line flag for overriding version parsing

See:
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=212102

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

1 participant