Using the Event Monitoring Service (June 2003)

Troubleshooting
Logging and Tracing
Appendix B90
Look at the registrar.log if you are having trouble finding resources
that you suspect exist on your system. This log contains any errors that
were encountered when trying to read the dictionary. If a dictionary is
corrupt, the registrar will not be able to read it, and EMS will not be able
to find the resources associated with that dictionary.
EMS Tracing
Some monitors provide tracing, which can be used for debugging monitor
code.
Use the -d option to turn on tracing for EMS. Tracing should only be
used at the request of your HP support personnel when trying to
determine if there may be a problem with EMS. To turn on tracing,
modify the .dict file in /etc/opt/resmon/dictionary and add -d to
the monitor you like to trace:
MONITOR: /etc/opt/resmon/lbin/mibmond -l -d
Kill the monitor process. The monitor will automatically restart with
tracing enabled. To speed up monitor restart, use the resls command
with the top level of the resource class as an argument, for example,
resls /system.
Tracing is customarily logged to
/var/opt/resmon/log/
monitor_name
.log. The
monitor_name
usually
matches the name used for the monitor in the dictionary file. For
example, the MIBmonitor uses mibmond.dict and mibmond.log.