7 event logging overview, 1 understanding the event logging structure – HP Insight Control Software for Linux User Manual
Page 207
4.
Change directory to the uninstall directory, and run the uninstall script to remove
all Insight Control for Linux
NOTE:
You must run the script from the uninstall directory.
# cd /opt/hp/icelx/config/uninstall
# ./uninstall.sh
5.
Remove the following HP Insight Control for Linux monitoring directories. If you have any
files in these directories that you want to preserve, make sure you save a copy of the files
before you remove them.
# rm -Rf /opt/hptc
# rm -Rf /hptc_cluster
# rm -Rf /var/hptc
# rm -Rf /opt/repository/boot/pxelinux.cfg
NOTE:
System configuration files that Insight Control for Linux modifies (for example,
/etc/dhcpd.conf
, /etc/rsyncd.conf, and so on) do not get removed during the
uninstall process.
6.
Remove the following HP SIM directories. If you have any files in these directories that you
want to preserve, make sure you save a copy of the files before you remove them.
# rm -Rf /var/opt/hpsmdb
# rm -Rf /var/opt/mx
# rm -Rf /etc/opt/mx
# rm -Rf /opt/hpsmdb
7.
Verify that the HP SIM daemons are no longer running:
# ps -ef | grep mx
If any of the HP SIM daemons are running, record the process ID (PID) and use the PID to
terminate the process. In the following example, replace PID with the process ID of the
daemon (for example, kill -9 1234):
# kill -9 PID
8.
Reboot the CMS:
# reboot
21.6 Determining the installed HP Insight Control for Linux version
To determine the version of Insight Control for Linux that is installed on the CMS, look in the
following file:
# /opt/hp/icelx/etc/icelx-release
21.7 Event logging overview
This section describes how HP Insight Control for Linux uses the syslog and
syslogng_forward
services to log managed system events and how these events are arranged
according to the syslog-ng.conf rules file.
21.7.1 Understanding the event logging structure
HP Insight Control for Linux uses syslog-ng to log events. Each managed system is configured
to forward its syslog events to syslog-ng running on the CMS.
Each managed system runs the syslogd daemon and passes events of priority warning or
higher to the CMS.
The CMS runs the syslogng_forward service and writes the events it receives from its managed
systems to the /hptc_cluster/adm/logs/consolidated.log file.
21.6 Determining the installed HP Insight Control for Linux version
207