The debug logging of the EMS HA Monitors (mibmond, lanmond, fsmond, pkgmond, svcmond, clustermond, diskmond, rdbmsmond) can be enabled by modifying the monitor's
dictionary file, by adding the options "-d -l" to the monitor invocation
string and restarting it. See also the manual pages for the monitors.
As an example, enable the debug logging for the mibmond:
# cd /etc/opt/resmon/dictionary # grep mibmond * mibmond.dict:MONITOR: /etc/opt/resmon/lbin/mibmond mibmond.dict:MONITOR: /etc/opt/resmon/lbin/mibmond mibmond.dict:MONITOR: /etc/opt/resmon/lbin/mibmond mibmond.dict:MONITOR: /etc/opt/resmon/lbin/mibmond |
The mibmond start-up string is defined in the mibmond.dict file. Modify all the lines in the dictionary file
that start with MONITOR and contain mibmond information.
MONITOR: /etc/opt/resmon/lbin/mibmond -d -l |
Now kill the mibmond. It will be restarted automatically if needed. After mibmond is automatically restarted, it will log debug
data to /var/opt/resmon/log/mibmond.log. The mibmond.log file grows without bound.