小雪崩 发表于 2018-1-1 13:33:31

CentOS 7.2安装zabbix 3.0 LTS

# ll /usr/share/doc/zabbix-server-mysql-3.2.7/create.sql.gz  
-rw-r--r-- 1 root root 1161488 Jul 19 00:09 /usr/share/doc/zabbix-server-mysql-3.2.7/create.sql.gz
  
# zcat /usr/share/doc/zabbix-server-mysql-3.2.7/create.sql.gz|mysql -uzabbix -p zabbix
  
Enter password:
  
# mysql -uzabbix -p123456 -e "use zabbix;show tables;"
  
+----------------------------+
  
| Tables_in_zabbix         |
  
+----------------------------+
  
| acknowledges               |
  
| actions                  |
  
| alerts                     |
  
| application_discovery      |
  
| application_prototype      |
  
| application_template       |
  
| applications               |
  
| auditlog                   |
  
| auditlog_details         |
  
| autoreg_host               |
  
| conditions               |
  
| config                     |
  
| corr_condition             |
  
| corr_condition_group       |
  
| corr_condition_tag         |
  
| corr_condition_tagpair   |
  
| corr_condition_tagvalue    |
  
| corr_operation             |
  
| correlation                |
  
| dbversion                  |
  
| dchecks                  |
  
| dhosts                     |
  
| drules                     |
  
| dservices                  |
  
| escalations                |
  
| event_recovery             |
  
| event_tag                  |
  
| events                     |
  
| expressions                |
  
| functions                  |
  
| globalmacro                |
  
| globalvars               |
  
| graph_discovery            |
  
| graph_theme                |
  
| graphs                     |
  
| graphs_items               |
  
| group_discovery            |
  
| group_prototype            |
  
| groups                     |
  
| history                  |
  
| history_log                |
  
| history_str                |
  
| history_text               |
  
| history_uint               |
  
| host_discovery             |
  
| host_inventory             |
  
| hostmacro                  |
  
| hosts                      |
  
| hosts_groups               |
  
| hosts_templates            |
  
| housekeeper                |
  
| httpstep                   |
  
| httpstepitem               |
  
| httptest                   |
  
| httptestitem               |
  
| icon_map                   |
  
| icon_mapping               |

  
|>  
| images                     |
  
| interface                  |
  
| interface_discovery      |
  
| item_application_prototype |
  
| item_condition             |
  
| item_discovery             |
  
| items                      |
  
| items_applications         |
  
| maintenances               |
  
| maintenances_groups      |
  
| maintenances_hosts         |
  
| maintenances_windows       |
  
| mappings                   |
  
| media                      |
  
| media_type               |
  
| opcommand                  |
  
| opcommand_grp            |
  
| opcommand_hst            |
  
| opconditions               |
  
| operations               |
  
| opgroup                  |
  
| opinventory                |
  
| opmessage                  |
  
| opmessage_grp            |
  
| opmessage_usr            |
  
| optemplate               |
  
| problem                  |
  
| problem_tag                |
  
| profiles                   |
  
| proxy_autoreg_host         |
  
| proxy_dhistory             |
  
| proxy_history            |
  
| regexps                  |
  
| rights                     |
  
| screen_user                |
  
| screen_usrgrp            |
  
| screens                  |
  
| screens_items            |
  
| scripts                  |
  
| service_alarms             |
  
| services                   |
  
| services_links             |
  
| services_times             |
  
| sessions                   |
  
| slides                     |
  
| slideshow_user             |
  
| slideshow_usrgrp         |
  
| slideshows               |
  
| sysmap_element_url         |
  
| sysmap_url               |
  
| sysmap_user                |
  
| sysmap_usrgrp            |
  
| sysmaps                  |
  
| sysmaps_elements         |
  
| sysmaps_link_triggers      |
  
| sysmaps_links            |
  
| task                     |
  
| task_close_problem         |
  
| timeperiods                |
  
| trends                     |
  
| trends_uint                |
  
| trigger_depends            |
  
| trigger_discovery          |
  
| trigger_tag                |
  
| triggers                   |
  
| users                      |
  
| users_groups               |
  
| usrgrp                     |
  
| valuemaps                  |
  
+----------------------------+
  
#
页: [1]
查看完整版本: CentOS 7.2安装zabbix 3.0 LTS