On 12/13/2010 03:01 PM, Al Amyot wrote:
Back in September I posted a question about monitoring arbitrary log
files and John M replied that the Platofrm 's Inventory->Connection
properties has an events log section.
I've just noticed that an AIX platform does not have a Log section
That's right. Today, only the Linux platform supports that. If you look
at the latest code, the superclass PosixPlatformComponent (which
LinuxPlatformComponent extends, but AIXPlatformComponent does not)
provides the syslog functionality - both reading syslog files and
listening for remote syslog messages over a socket.
I'm not familiar much with AIX anymore; I'll assume it has syslog (or
syslog like functionality). We'd just have to have someone test this
code on AIX. This would require altering the agent's platform plugin,
specifically, creating a new AIXPlatformComponent, extending
PosixPlatformComponent, and changing the descriptor:
<platform name="AIX"
class="PlatformComponent"
discovery="AixPlatformDiscoveryComponent"
description="IBM AIX Operating System">
so it refers to this new AIXPlatformComponent in the class= attribute.
Also need to make sure this modified <platform> has child metadata that
defines the new log related plugin config (essentially would need to
mimic what the <platform name="Linux"> does - which is, it adds
"&syslogEventConfigurationGroup;")