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
Al Amyot | Consultant Sierra Systems
(eHealth): 204-926-4257 (T): 204-942-2575 (F): 204-942-2047 444 St. Mary Avenue, Suite 1050 Winnipeg, MB R3C 3T1
Management Consulting | System Integration | Managed Services website: www.SierraSystems.com http://www.sierrasystems.com/
This email and/or any documents in this transmission is intended for the addressee(s) only and may contain legally privileged or confidential information. Any unauthorized use, disclosure, distribution, copying or dissemination is strictly prohibited. If you receive this transmission in error, please notify the sender immediately and return the original.
Ce courriel et tout document dans cette transmission est destiné à la personne ou aux personnes à qui il est adressé. Il peut contenir des informations privilégiées ou confidentielles. Toute utilisation, divulgation, distribution, copie, ou diffusion non autorisée est strictement défendue. Si vous n'êtes pas le destinataire de ce message, veuillez en informer l'expéditeur immédiatement et lui remettre l'original.
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;")
rhq-users@lists.stg.fedorahosted.org