Enable Debug Logging on ZLM 6x and 7

  • 3654830
  • 15-Jan-2008
  • 30-Apr-2012

Environment

Novell ZENworks 6.6.2 Linux Management - ZLM6x
NovellZENworks 7 Linux Management - ZLM7

Situation

Enable debug logging in ZLM 6.x and 7

Resolution

ZLM 6.x
Command to set logging level:
"rug set debug-level ": Values may be from 0 (none) to 6 (max). The default is 4.
Log messages stored in:
/var/log/rcd/rcd-messages
ZLM 7
Command to set logging level:
"rug set debug-level": Allowed values are 'min', 'max', and'off'
Log messages stored in:
On SLES9/OES
/var/opt/novell/log/zenworks/zmd-messages.log
/var/opt/novell/log/zenworks/zlm-config.log (should contain the switches being passed running zlm-config)
On SLEx 10:
/var/opt/novell/log/zenworks/zlm-config.log (should contain the switches being passed running zlm-config)
/var/log/zmd-messages.log
/var/log/zmd-backend.log
/root/.suse_register.log
Manual log commands:
ZLM install debug log file:
./zlm-install --zmd-debug
RUG debug log file(s):
rug --debug
rug search -debuginfo
ZLM Mirror debug log file:
rcmirror --debug
ZLM Event Monitoring debugging:
set debug-level on
ZLM debug log file:
zlm-debug
Tars up all the log files into /tmp/xlm-debug-inf-.tgz. Usage: /opt/novell/zenworks/bin/zlm-debug [options]
--modules-dir= Specify the directory modules directory.
--tar-dir= Specify the directory to place the tarball in.
-h,--help Print this message.
-a,--no-cache Don't collect any cache data.
-c,--no-client Don't collect client data.
-o,--no-config Don't collect config data.
-d,--no-hardware Don't collect hardware data.
-l,--no-logs Don't collect logs.
-p,--no-packages Don't collect package data.
-s, --no-server Don't collect server data.