AIX Dynatrace OneAgent issue

XorMon (LPAR2RRD) AIX OS agent can coexist with the Dynatrace OneAgent except AIX 7.3 TL3 and probably even higher.

Dynatrace OneAgent somehow screws something in the AIX environment what leads to this error visible in the agent output (/var/tmp/lpar2rrd-agent.out)
...
Thu Sep 17 09:47:01 2026: Model or serial has not been found: model: serial: /opt/lpar2rrd-agent/lpar2rrd-agent.pl:1391
...

Workarounds

All worarounds work, up to you which one you use

  1. Dynatrace:
    Dynatrace does not know why this is happening under AIX 7.3 TL3, but they found a workaround by adding AIX:"ksh" AIX:"perl" to the agent block list
    This setting is not configurable by the end user and can be done only in via developer access interface to Dynatrace and by calling support

  2. XorMon/LPAR2RRD:
    • Use XorMon agent

    • Use LPAR2RRD agent v8.20+ and set this in the crontab (shell wrapper which uses /bin/ksh which is not affected)
      * * * * * /opt/lpar2rrd-agent/lpar2rrd-AIX-wrapper.sh <XorMon-server> > /var/tmp/lpar2rrd-agent.out 2>&1
      
      /opt/lpar2rrd-agent/lpar2rrd-AIX-wrapper.sh is a simple shell wrapper:
      cat  lpar2rrd-AIX-wrapper.sh
      #!/bin/ksh
      perl /opt/lpar2rrd-agent/lpar2rrd-agent.pl $@
      
    • This crontab line adjustment also fixes it:
      crontab -l
      
      * * * * * /bin/ksh -c '/usr/bin/perl /opt/lpar2rrd-agent/lpar2rrd-agent.pl <XorMon-server> > /var/tmp/lpar2rrd-agent.out 2>&1'
      

Test if you are affected

cat /tmp/test.pl
  use strict;
  my $path = $ENV{PATH}.":/sbin:/usr/sbin";
  $ENV{PATH} = "$path";
  $ENV{ENTSTAT_MODE} = "closed.ignore";
  $ENV{LANG} = "en_US";
  my $id = `uname 2>/dev/null`;

perl /tmp/test.pl
  [: 0403-057 Syntax error