Original Message:
Sent: Wed July 26, 2023 01:33 PM
From: Marcell Rafael Pinto
Subject: Nextract plus error
Hello Nigel, I used the new version V43, but a new error occurred !
/opt/hmc/nextract_plus2.py opening config file:hmc_conf_2.json
Traceback (most recent call last):
File "/opt/hmc/nextract_plus2.py", line 131, in <module>
client = InfluxDBClient(iurl, str(iorg), itoken)
File "/usr/local/lib/python3.6/site-packages/influxdb/client.py", line 115, in __init__
self.__port = int(port)
ValueError: invalid literal for int() with base 10: 'asset'
------------------------------
Marcell Rafael Pinto
Original Message:
Sent: Sun July 16, 2023 11:48 AM
From: Nigel Griffiths
Subject: Nextract plus error
Marcell Rafael Pinto Thanks for reporting this.
Just added nextract_plus_v43.py to Source Forge with the fix.
Find it at https://sourceforge.net/projects/nmon/files/
Let me know if that worked. You can also email me at nigelargriffiths@hotmail.com
------------------------------
Nigel Griffiths
Original Message:
Sent: Tue July 11, 2023 12:36 PM
From: Marcell Rafael Pinto
Subject: Nextract plus error
Hi, I used a nextrac 41 with influxdb version1, now I've a update for version 2, and I received this message of error:
Traceback (most recent call last):
File "/opt/hmc/nextract_plus.py", line 110, in <module>
client = InfluxDBClient(iurl, iorg, itoken)
NameError: name 'iurl' is not defined
This is a part of the conf:
"comment1": "Valid setting for output_influx = 0 (off), 1 or 2",
"output_influx": 2,
"comment3": "InfluxDB 2.x options",
"iurl": "http://10.0.0.17:8086",
"ibucket": "hmc",
"iorg": "hmc",
"itoken": "WWT5QNUKdYE7CcFv_IPcrIEyrvMqw_K0akg1MA==",
"comment4": "other parameters are ignored"
------------------------------
Marcell Rafael Pinto
Original Message:
Sent: Tue January 24, 2023 03:26 PM
From: Nigel Griffiths
Subject: Nextract plus error
Hi,
Hopefully, you got this working and Sanket is right.
hmc_pcm.py comes with nextract_plus.
Put it in the same directory as nextract_plus
Actually, I have them both in the same directory and run netract_plus.py from that directory.
Please upgrade to nextract plus version 41 - it is much better.
Downloadable from here: https://www.ibm.com/support/pages/nextract-plus-hmc-rest-api-performance-statistics
Cheers, Nigel
------------------------------
Nigel Griffiths
Original Message:
Sent: Mon November 22, 2021 03:08 PM
From: OUSSAMA NAZIH
Subject: Nextract plus error
Hello ,
I have nextract_plus script (from Mr nmon) , with python 3 installed (on Aix) with requests packages.
I also configure influxdb and Grafana.
When i run the script on hmc config , i got this message .
Any suggestions ?
------------------------------
OUSSAMA NAZIH
------------------------------