AIX

AIX

Connect with fellow AIX users and experts to gain knowledge, share insights, and solve problems.


#Operatingsystems
#Servers
#AIX
#AIX
#AIX
#AIX
#AppPerformanceManagement
#Power
 View Only
  • 1.  njmon / nimon or file and stream in once

    Posted Wed November 08, 2023 08:58 AM

    Dear community, dear Nigel,

    we have the need to collect the data with njmon and write it into a json file to upload it with filebeat against Elastic (Kafka => Logstash => and so on...) and on the same time, we want to have the data in a stream to njmond to influxDB.

    The data that goes to Elastic will be filtered out to a minimum by logstash, so we as admins want to use influxDB and Grafana for our purpose. 

    Is that possible? If yes, how???

    Many thanks in advance.

    kind regards



    ------------------------------
    Joerg Kauke
    Unix Administrator
    COOP Switzerland
    ------------------------------


  • 2.  RE: njmon / nimon or file and stream in once

    Posted Thu November 09, 2023 04:16 AM

    Hi Joerg,

    I am not Nigel, but I think it could be possible to do with Telegraf. It can take one stream of data and convert and send it to several destinations.



    ------------------------------
    Andrey Klyachkin

    https://www.power-devops.com
    ------------------------------



  • 3.  RE: njmon / nimon or file and stream in once

    Posted Thu November 09, 2023 07:02 AM

    Thanks Andrey. I didn't know that tool...
    I looked into it shortly, but it looks it is not supported for AIX and even more in the forum they recommend to use nmon / njmon 

    kind regards



    ------------------------------
    Joerg Kauke
    Unix Administrator
    COOP Switzerland
    ------------------------------



  • 4.  RE: njmon / nimon or file and stream in once

    Posted Thu November 09, 2023 07:08 AM

    The version for AIX you can find here. Not the latest one, but I hope it can do what you need. If you will need a newer version, let me know.



    ------------------------------
    Andrey Klyachkin

    https://www.power-devops.com
    ------------------------------



  • 5.  RE: njmon / nimon or file and stream in once

    Posted Thu November 09, 2023 07:19 AM

    Here is btw old Nigel's documentation how to configure njmon + telegraf + prometheus. I hope it helps you to configure your environment.



    ------------------------------
    Andrey Klyachkin

    https://www.power-devops.com
    ------------------------------



  • 6.  RE: njmon / nimon or file and stream in once

    Posted Mon November 13, 2023 03:59 AM

    Hello Andrey,

    this is great, thanks for the links, we will definitely test it...

    kind regards



    ------------------------------
    Joerg Kauke
    Unix Administrator
    COOP Switzerland
    ------------------------------



  • 7.  RE: njmon / nimon or file and stream in once

    Posted Sun November 12, 2023 04:11 PM

    I think Andrey has answer perfectly.

    njmon is fairly light weight in CPU cycles so you may consider running two copies to keep it simple i.e. KISS.
    telegraf can do the one input and two outputs for you and even the filtering (or so I am told, not tried that myself).
    If you would like a conversation about this me know.  Telephone of Webex/zoom or your choice o tool.

    cheers, Nigel

    ps: thanks Andrey.



    ------------------------------
    nigel griffiths
    nigelgriffiths
    ------------------------------



  • 8.  RE: njmon / nimon or file and stream in once

    Posted Mon November 13, 2023 04:07 AM

    Hello Nigel,

    many thanks for the answer and your opinion. We also considered to run njmon and nimon at the same time and it would be an option. Now we will start testing telegraf and check what the cpu / memory overhead is. In case of any questions, I would like to come back to you and / or Andrey.

    kind regards



    ------------------------------
    Joerg Kauke
    Unix Administrator
    COOP Switzerland
    ------------------------------