Skip to content

monit: Support declaring dependencies#3001

Merged
AdSchellevis merged 1 commit intoopnsense:masterfrom
awerner:monit_deps
Jan 16, 2019
Merged

monit: Support declaring dependencies#3001
AdSchellevis merged 1 commit intoopnsense:masterfrom
awerner:monit_deps

Conversation

@awerner
Copy link
Contributor

@awerner awerner commented Dec 3, 2018

This PR allows setting dependencies in the UI. This allows advanced check behaviour, e.g. VPN <- hosts behind VPN <- service behind VPN on host.

At the moment, the selection of the service as its own dependency is possible, monit shows a dependency loop error in that case with a helpful message. I'm unsure how to restrict the available services to exclude itself from the dependency list.

Copy link
Member

@fbrendel fbrendel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. 😃
Only the model version must be increased.

@fichtner
If you merge this PR I'd change the version in #3119
and fix the service loop problem.

@fichtner
Copy link
Member

@fbrendel thanks for review. version bump sounds good. Ideall both should hit 19.1, though I yield to @AdSchellevis on this topic

@AdSchellevis AdSchellevis merged commit 105462b into opnsense:master Jan 16, 2019
AdSchellevis added a commit that referenced this pull request Jan 16, 2019
@AdSchellevis
Copy link
Member

@awerner thanks, I clarified the help message a bit, just let me know if it should be different.

@awerner awerner deleted the monit_deps branch February 26, 2019 13:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

4 participants