Monitor AIX service availability
Updated: 25 Jun 2010 | 2 comments
Hi, we are currently running SCSP 5.2 and would like to know if its possible for SCSP to monitor a specific service availability in AIX system.
We would like to monitor the availibility of a specific service, in case the service is down, alerts can be generated.
Any clue on how this can be implemented ?
Thanks in advance.
discussion Filed Under:
Comments
At the moment we only have
At the moment we only have IDS support for AIX. If AIX can generate a log entry within the OS then SCSP could monitor for that specific pattern when a service goes offline. For example in Windows, a log entry is written anytime a service starts or stops. That data can then be collected by the CSP agent. From there you can generate alerts via SMTP or SNMP.
Daemon to monitor
Do you have the authority to provide the daemon in which you are attempting to monitor? (always ask since this is a pub forum)
If its a standard daemon, AIX will create lock files for that deamon on startup. You can setup filewatch rules to monitor for the creation/deletion of those lock files (deletion = daemon is down). Also if the service (daemon) crashes - a core file will be created (for most daemons). You can also setup a filewatch policy to detect the creation of the core file within the various directories in which the daemon you are monitoring is configured (each daemon has a different core file dump path). In this scenario you would place a high severity on the filewatch policy that monitors for the core file since that is indicative of the daemon crashing instead of shutting down.
The log method Stuart mentions is also a very good way to monitor for daemon startup and shutdown, however the core file detection will detect if the daemon crashes which wouldnt (in most situations) be present in a log file.
Would you like to reply?
Login or Register to post your comment.