AIX Open Source

AIX Open Source

Share your experiences and connect with fellow developers to discover how to build and manage open source software for the AIX operating system

 View Only
  • 1.  nextract_energy

    Posted Wed July 03, 2024 07:58 AM

    Hi,

    I have just implemented using nextract_plus from Nigel Griffiths.

    The nextractplus Performance part works very well. 

    But I can't get the energy part to run

    /opt/freeware/bin/python3 nextract_energy_on.py hmc_build_dcs_config.json
    Starting nextract_energy_on.py version 41
    -->Server 0 PE5-900-DCS-BUILD    capable of collecting Energy stats and enabled
    -> Finished

    /opt/freeware/bin/python3 nextract_energy.py hmc_build_dcs_config.json
    nextract_energy.py opening config file:hmc_build_dcs_config.json
    -> Logging on to IYT10245 as user hscroot
    -->Server 1 PE5-900-DCS-BUILD collecting Energy stats
    -->Summary:
    {'server': 'PE5-900-DCS-BUILD', 'mtm': '9040-MR9', 'serial': '78FA6AX', 'freq': 30, 'starttime': '2024-07-03T11:51:00+0200'}
    Energy for Influx (PE5-900-DCS-BUILD)
    Traceback (most recent call last):
      File "/export/lpp_source/sources/nextract_plus/scripts/nextractplus_v43/nextract_energy.py", line 197, in <module>
        data = data + ' "temp": %s,'%(sam['inlet'])
    KeyError: 'inlet'

    Do you know how to operate this module?

    Thanks



    ------------------------------
    Nicolas Aubert
    ------------------------------


  • 2.  RE: nextract_energy

    Posted Wed July 03, 2024 09:40 AM
    Edited by Nicolas Aubert Wed July 03, 2024 09:40 AM

    The Enterprise Servers do not appear to support the energy REST API. In particular: E880, E980, and E1080


    Am I affected?
    - Modele-Machine Type : E950 : MR9-9040



    ------------------------------
    Nicolas Aubert
    ------------------------------