AIX/Linux Monitoring with njmon

nimon (NOT njmon) + InfluxDB + Grafana

NOTE: as of version 78, the njmon and nimon have been merged into one binary file.

Using the option -J (nimon mode) or -I (nimon mode).

njmon

Download: http://nmon.sourceforge.net/pmwiki.php?n=Site.Njmon

InfluxDB

Create a new database for njmon

create database aix_njmon with duration 180d
create user mon with password 'thisispassword'
grant ALL on aix_njmon to mon
show GRANTS for mon
Grafana

Dashboards

AIX/Linux

Cron job:

## Gathing AIX/Linux performance data with njmon
# Running forever, in case the process is killed the cron job will restart it every one hour.
# -i : the hostname of InfluxDB
# -x : the DB name in InfluxDB
# -y : the DB user
# -z : the DB password
3 * * * * /usr/local/bin/njmon -I -s 60 -k -i <ip-or-hostname-to-InfluxDB> -x <db-name> -y <db-user> -z <db-pass> > /dev/null 2>&1





Revision #14
Created 5 January 2022 07:10:12 by Admin
Updated 11 October 2022 17:14:12 by Admin