proxtop icon indicating copy to clipboard operation
proxtop copied to clipboard

Proxmox resource monitor -- list top resource users of your proxmox VM platform

Results 11 proxtop issues
Sort by recently updated
recently updated
newest added

``` ERROR: IGNORED DATA: 1/160 ------------------ Traceback (most recent call last): File "/usr/local/bin/proxtop", line 517, in main() File "/usr/local/bin/proxtop", line 511, in __call__ print_ignored(vms, crap, top=args.top) File "/usr/local/bin/proxtop", line 352,...

Hello, proxtop crashes if my cluster have 2 containers with the same hostname (but different domain name). i get this error: ``` Traceback (most recent call last): File "/usr/local/bin/proxtop", line...

``` $ pip uninstall proxtop Uninstalling proxtop-0.3.1: /usr/local/LICENSE.txt /usr/local/README.rst /usr/local/bin/proxtop /usr/local/lib/python2.7/dist-packages/proxtop-0.3.1.egg-info ```

``` Traceback (most recent call last): File "/usr/local/bin/proxtop", line 404, in main() File "/usr/local/bin/proxtop", line 395, in __call__ only_vms=args.only_vms, partial_match=args.partial_match) File "/usr/local/bin/proxtop", line 140, in get_rrddata smbios1 = container.config.get().get('smbios1', '')...

``` def checking_foreach(data, item): """For some reason, the Proxmox API hands us crazy large values from time to time when we use the month-timeframe.""" too_large = 0xffffffff # 4 GiB/s.....

Apparently the help descriptions should start with a lowercase.

SpringCleaning

Splitting up get_rrdata into smaller functions is a good start. Secondly, using setters like 'set_timeframe()' on the Collector lets us pass fewer arguments to the get_rrdata() function directly.

SpringCleaning

- get_proxtoprc_defaults() - get_argumentparser() - parse_arguments() - get_password() - collector = ProxtopCollector(args) - formatter = ProxtopFormatter() - formatter.format(collector.get_data())

SpringCleaning

We probably also want the humanize functions in there too.

SpringCleaning

If there is one test we can easily create more. And it's nicer to develop against test data than to keep running it against a live server.

SpringCleaning