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

Using python-apt in checks #77

Open
directionless opened this issue May 9, 2016 · 1 comment
Open

Using python-apt in checks #77

directionless opened this issue May 9, 2016 · 1 comment

Comments

@directionless
Copy link

Hi! I'd like to write an agent check that uses the apt python library.

I know that on debian and ubuntu host, this is part of the python-apt package. Whose source is git://anonscm.debian.org/apt/python-apt.git But I don't know if that ties into omnibus.

I see https://pypi.python.org/pypi/apt/ but that looks surprisingly out of date.

Do you have any advice?

@olivielpeau
Copy link
Member

Hi @directionless! Since the pip pkg looks outdated you can try using the python-apt source and build it into the agent embedded python env with the setup.py script of python-apt.

You can have a look at the software definition of pip for an example of this.

Let us know if that works!

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

2 participants