Collect high level Zimbra server information for remote support

From Notes_Wiki

Home > CentOS > CentOS 6.x > Collect high level Zimbra server information for remote support

To collect high level Zimbra server information for remote support use following commands. The commands can be copied to a shell script and output can be sent to support person. Or the commands can be pasted on terminal and terminal I/O can be sent.

As root:

   echo "Hostname is"
   hostname
   echo
   
   echo "OS is"
   cat /etc/issue
   echo
   
   echo "Kernel information"
   uname -a
   echo
   
   echo "IP addressing information"
   ifconfig -a
   route -n
   echo
   
   echo "Disk and RAM information"
   df -h
   free -m
   echo
   
   echo "Zimbra installation information from file"
   cat /opt/zimbra/.install_history
   echo
   
   echo "Zimbra configuration information from file"
   cat /opt/zimbra/config.*
   echo

As Zimbra user (su - zimbra)

   echo "Zimbra running status and version"
   zmcontrol -v
   zmcontrol status
   echo
   
   echo "Local configuration information"
   zmlocalconfig -s
   echo
   
   echo "Zimbra admin account"
   zmprov -l gaaa 
   echo
   
   echo "Total number of mailboxes"
   zmprov -l gaa | wc
   echo
   
   echo "All domains"
   zmprov gad
   echo
   
   echo "Different classes of service"
   zmprov gac
   echo
   
   echo "Various servers"
   zmprov gas
   echo
   
   echo "Distribution lists"
   zmprov gadl
   echo   

Refer https://www.zimbra.com/docs/ne/6.0.10/administration_guide/A_app-command-line.20.03.html


Home > CentOS > CentOS 6.x > Collect high level Zimbra server information for remote support