-
Notifications
You must be signed in to change notification settings - Fork 758
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 Proxmox integration (ECOINT-50) #2555
base: master
Are you sure you want to change the base?
Add Proxmox integration (ECOINT-50) #2555
Conversation
b9a2904
to
efc4cec
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey @aureleoules helping push this along since there are customer requests for it. Thanks for building an integration during the hackathon! I've added comments to ensure it passes all our internal requirements. Let me know if you have any questions or concerns.
"changelog": "CHANGELOG.md", | ||
"description": "Monitor Proxmox with Datadog", | ||
"title": "Proxmox", | ||
"media": [], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can reference the image of the dashboard you end up uploading
proxmox/manifest.json
Outdated
}, | ||
"metrics": { | ||
"prefix": "proxmox.", | ||
"check": "", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there a metric that is always submitted and represents that the integration is working? If so, please specify that here
Co-authored-by: Erica Ho <[email protected]>
Thank you! I've created an editorial card for our team to review further. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
a couple small comments.
Not sure yet why the e2e tests are failing.
@aureleoules do you plan to add unit tests?
proxmox/assets/service_checks.json
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's not submit a service check. We're slowly and gently deprecating those.
|
||
def check(self, _): | ||
try: | ||
headers = {"Authorization": f"PVEAPIToken={self.token_id}={self.token_secret}"} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What happens if token_id
and token_secret
are None
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
there is a check in the init function for this
proxmox/images/IMAGES_README.md
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@eho1307 do we need this for this integration?
} | ||
}, | ||
"author": { | ||
"support_email": "[email protected]", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@aureleoules are we, Datadog, officially going to support this?
proxmox.cpu_current,gauge,60,percent,,Current CPU usage,1,proxmox,cpu_current,,host:proxmox | ||
proxmox.cpu_iowait,gauge,60,percent,,CPU iowait,1,proxmox,cpu_iowait,,host:proxmox | ||
proxmox.cpu_max,gauge,60,percent,,Max CPU usage,1,proxmox,cpu_max,,host:proxmox | ||
proxmox.disk_read,gauge,60,bytes,,Disk read,1,proxmox,disk_read,,host:proxmox |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
proxmox.disk_read,gauge,60,bytes,,Disk read,1,proxmox,disk_read,,host:proxmox | |
proxmox.disk_read,gauge,60,byte,,Disk read,1,proxmox,disk_read,,host:proxmox |
Here and elsewhere. Also seconds -> second
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Left you some suggestions
To install the Proxmox integration, run the following Agent installation command and the steps below. For more information, see the [Integration Management](https://docs.datadoghq.com/agent/guide/integration-management/?tab=linux#install) documentation. | ||
|
||
```shell | ||
datadog-agent integration install datadog-vsphere==3.6.0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is Vsphere correct?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
good catch it should be datadog-proxmox
"id": 6462887281714400, | ||
"definition": { | ||
"type": "note", | ||
"content": "**Proxmox**\n\nThis dashboard provides an overview of your Proxmox and the VMs running. ", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"content": "**Proxmox**\n\nThis dashboard provides an overview of your Proxmox and the VMs running. ", | |
"content": "**Proxmox**\n\nThis dashboard provides an overview of your Proxmox and VMs.", |
Co-authored-by: Heston Hoffman <[email protected]>
Co-authored-by: Ilia Kurenkov <[email protected]>
Co-authored-by: Heston Hoffman <[email protected]> Co-authored-by: Ilia Kurenkov <[email protected]>
What does this PR do?
This pull is an hackathon project.
It adds an agent integration for Proxmox with an integration test and a dashboard.
Review checklist
no-changelog
label attachedAdditional Notes
Anything else we should know when reviewing?