-
Notifications
You must be signed in to change notification settings - Fork 201
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
Change serialization of alarms and sensors for objects #273
base: main
Are you sure you want to change the base?
Conversation
vmware_exporter/vmware_exporter.py
Outdated
@@ -2027,6 +2100,8 @@ def main(argv=None): | |||
default=9272, help="HTTP port to expose metrics") | |||
parser.add_argument('-l', '--loglevel', dest='loglevel', | |||
default="INFO", help="Set application loglevel INFO, DEBUG") | |||
parser.add_argument('--allow-url-target', action='store_true', |
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.
This can be done via an env variable, not sure it needs to be a arg as well.
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.
This change fixes a security issue where by default you would be able to use the username/password from any section to login to any vcenter accessable from the collector.
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.
I would like a little more about this change in the description and why the changes were made. This overall is some great changes, but I want to make sure I understand it all.
So there are a few changes in there ( they likely should have been seperate MR but my boss needed a solition asap ).
I wrote this up by looking over my commits. Sorry if I missed some things it was over a year ago. Feel free to ask for more details on things. It would be awesome to get this merged in. |
|
If I understand correctly; You are proposing dropping I can likely get this done over the weekend. |
Also update docs to reflect this change.
@pryorda The url parameters |
This fixes the root cause of 'Fix for badly behaving super-micro sensor'
This is a breaking change to the return value of helpers.batch_fetch_properties.