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 NRPE checks #10

Merged
merged 1 commit into from
Sep 9, 2020
Merged

Add NRPE checks #10

merged 1 commit into from
Sep 9, 2020

Conversation

aguadoenzo
Copy link
Contributor

This commit introduces a separate library for the NRPE client which is influenced by the charmhelpers nrpe client.
Only a basic TCP check is performed at the moment to ensure nats is up and running

This commit introduces a separate library for the NRPE client which is
influenced by the charmhelpers nrpe client.
Only a basic TCP check is performed at the moment to ensure nats is up
and running
"""Publish check data on the monitors relation"""
rel = self.framework.model.get_relation(self._relation_name)
rel_data = rel.data[self.model.unit]
rel_data['version'] = '0.3'
Copy link
Collaborator

Choose a reason for hiding this comment

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

What does the version mean? Is it just static or do we have to take it from somewhere?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is the version spec. It's not really used but doesn't hurt to specify

see https://git.launchpad.net/charm-nrpe/tree/README.md#n120

@morphis morphis merged commit 0310caa into canonical:master Sep 9, 2020
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

Successfully merging this pull request may close these issues.

2 participants