AIX

AIX

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


#Power
#Power
 View Only
  • 1.  njmon / nimon

    Posted Tue December 30, 2025 06:24 AM

    Hi All,

    Has anyone successfully got njmon / nimon running on Oracle Enterprise Linux please?

    Kind regards,

    Brad



    ------------------------------
    Bradley Wells
    ------------------------------


  • 2.  RE: njmon / nimon

    Posted Fri January 02, 2026 10:47 AM

    Hi Bradley,

    Which Oracle Enterprise release are you using?

    Have you tried the most similar Red Hat Release of njmon/nimon?

    Did you recompile njmon / nimon for Oracle Enterprise Linux and try that?

    Do you really mean running the recommended InfluxDB 1.x and Grafana (latest) on Oracle Enterprise Linux?

    Cheers, N



    ------------------------------
    Nigel Griffiths - IBM retired
    London, UK
    @mr_nmon
    ------------------------------



  • 3.  RE: njmon / nimon

    Posted Sun January 11, 2026 01:25 PM

    I now have Oracle Linux Server 10 running under VirtualBox.

    After a Makefile change to take out the spaces in the NAME from /etc/*ease so "Oracle Linux Server" becomes "OracleLinux", it compiled the first time.

    More importantly, nimon works fine and sends the statistics to InfluxDB over a network.

    For the record, I am running InfluxDB 1.8 on Ubuntu 24.04 (on VirtualBox) and Grafana (latest) on Windows 11, which is hosting VirtualBox.

    Some notes:

    • In /etc/*ease Oracle Linux says: ID_LIKE="Fedora"
    • Oracle VirtualBox running Oracle Linux has bad mouse problems - ironically, as they are both from Oracle.
    • Changing the VirtualBox setting for the mouse support from PS/2 to "USB Tablet" fixes this issue


    ------------------------------
    Nigel Griffiths - IBM retired
    London, UK
    @mr_nmon
    ------------------------------



  • 4.  RE: njmon / nimon

    Posted Mon January 12, 2026 05:45 AM

    Hi Nigel,

    Thank you for your help and hard work on this.

    So here's my setup, all hosted on same vm,

    • OEL 9.7 virtual machine (VMware ESXi)
    • InfluxDB shell version: v1.11.8
    • grafana-7.3.6-1.x86_64
    • njmon_linux_v91_binaries.zip

    I modified /etc/*release files so that the 'ninstall' command would complete without errors.

    It looks like ninstall copied correct binary into /usr/loca/bin - njmon_Oracle_Linux_Server9_x86_64_v91

     nimon -s 30 -k -i localhost -p 8086 -x njmon -n -v is running 

    Grafana is up on port 3000.  Influx has db created called - njmon

    ps -ef shows processes running for influxdb and grafana.

    I can logon to http://x.x.x.x:3000   admin / admin

    Choose dashboard - njmon for AIX Simple Six v64

    Just no data is populated and no host is shown on the top left drop down on the dashboard.

    Process output from -v flag

    push complete
    push() NIMON socket influx_version=1 Data size=18672
    InfluxDB Header buffer size=84 buffer=
    ==========
    <POST /write?db=njmon&u=&p= HTTP/1.1
    Host: localhost:8086
    Content-Length: 18672

    >
    ==========
    Written=18672 bytes sent=0 total=18672
    received bytes=250 data=<HTTP/1.1 204 No Content
    Content-Type: application/json
    Request-Id: 446df773-efa3-11f0-8897-005056979145
    X-Influxdb-Build: OSS
    X-Influxdb-Version: v1.11.8
    X-Request-Id: 446df773-efa3-11f0-8897-005056979145
    Date: Mon, 12 Jan 2026 10:41:35 GMT

    Kind regards,

    Brad



    ------------------------------
    Bradley Wells
    ------------------------------



  • 5.  RE: njmon / nimon

    Posted Mon January 12, 2026 11:57 AM

    I am using InflueDB 1.8 having just checked InfluxDB 1.12 is available, so you 1.11 should be OK.

    Have you created a database for njmon inside InfluxDB?

    influx

    > show databases

    > create database njmon

    > show databases

    > exit

    So far, you are treating InfluxDB as a blackbox i.e throwing stuff into it and expecting Grafana to work.

    But it is fairly simple to have a look inside influxdb

    influx

    > show databases     

    # we are looking for a database called njmon

    > use njmon

    >show measurements

    # looking for a long list of measurements like

    • cpuinfo
    • cpus
    • disks
    • filesystems
    • . . .etc

    # lets check the data records are in there

    > select COUNT(datetime) from timstamp

    • # I get
    • # name: timestamp
    • # time count
    • # ---------
    • # 0  5066
    • # the 5066 is the number of records

    # lets look at one record

    > select LAST(*) from timestamp

    # and you should get five lines of output which covers the column names and the data, which are time stamps and some timing numbers.

    More interesting data that is used by Grafana for the graphs is

    > select LAST(*) from cpus

    > select LAST(*) from proc_meminfo

    > select LAST(*) from networks

    # Warning running

    > select * from cpus

    Will dump all the data found - in my case, many 1000's records. In your case, just a few 100 (hopefully).

    But it might take an hour or two to scroll all the lines of data.

    If there is no data = problem with njmon/nimon.

    • In which case, I will ask you to save a dozen records to a file and send it to me.

    If there is data in the InfluxDB database, then the problem is Grafana, or the Grafana Datasource definition, or the selected Grafana time range.

    Let me know how you got on.



    ------------------------------
    Nigel Griffiths - IBM retired
    London, UK
    @mr_nmon
    ------------------------------



  • 6.  RE: njmon / nimon

    Posted Mon January 12, 2026 12:01 PM

    By the way, the InfluxDB response of "<HTTP/1.1 204 No Content"

    Is very good - read that as "no comment" from InfluxDB as in: there is nothing wrong, so there is nothing to say.



    ------------------------------
    Nigel Griffiths - IBM retired
    London, UK
    @mr_nmon
    ------------------------------