amard33p

Results 19 comments of amard33p

Your article was simply beautiful. Thank you very much for your contribution!

Can confirm there is still an extra host: ``` {"host": {"host": {"all_parameters": [], "all_puppetclasses": [], "architecture_id": 1, "architecture_name": "x86_64", "build": "True", ... ``` Which is why the foreman-hook python sample...

@nicolargo Here's an example: ``` #!/bin/bash # Example amp script which exports multiple values # /usr/local/bin/mycommand.sh nf_conntrack_count=$(sysctl net.netfilter.nf_conntrack_count | cut -d'=' -f2 | xargs) nf_conntrack_max=$(sysctl net.netfilter.nf_conntrack_max | cut -d'=' -f2...

@nicolargo Overall I do like your idea to specify the output format but wanted to point out that outputting JSON in bash is not straightforward. This is the easiest way...

@nicolargo Crash while starting glances built from develop branch: https://gist.github.com/amard33p/e68eb307e267f43b217e6725f2a04552 Dependencies List ``` defusedxml==0.7.1 Glances @ git+https://github.com/nicolargo/glances.git@9cd51fc0600a1ef738d41baff00e02b92ae516c3 packaging==24.2 psutil==7.0.0 ``` Issue is not seen in stable version with dependencies: ```...

Changing this line fixes the crash https://github.com/nicolargo/glances/blob/develop/glances/plugins/network/__init__.py#L307 ``` elif i.get('bytes_recv_rate_per_sec') is not None and i.get('bytes_sent_rate_per_sec') is not None: ```

@nicolargo Test passed. Please fix the crash and we are good to go. Thanks a lot for working on this! 🙏

Hi @Anindyadeep ...updated the PR.

Do you mean like this: `dsn_or_db_path = "./data/db/california_schools.sqlite"` ? This is not working for me...it throws error: ``` --------------------------------------------------------------------------- ArgumentError Traceback (most recent call last) in () 7 dsn_or_db_path =...