schizoid писал(а):поставил zabbix-server-1.8,2
но чета не могу найти де у него файлки для web-а лежить. или в новой версии ему еще что-то нуно стаить?
щаз версия 1.8.1,2 (/usr/local/www/zabbix)
Код: Выделить всё
# cd /usr/ports/
bsd# make search name=zabbix
Port: zabbix-agent-1.8.1,2
Path: /usr/ports/net-mgmt/zabbix-agent
Info: Enterprise-class open source distributed monitoring (agent)
Maint: ports@christianserving.org
B-deps: libiconv-1.13.1_1
R-deps: libiconv-1.13.1_1
WWW: http://www.zabbix.com/
Port: zabbix-frontend-1.8.1,2
Path: /usr/ports/net-mgmt/zabbix-frontend
Info: Enterprise-class open source distributed monitoring (frontend)
Maint: ports@christianserving.org
B-deps:
R-deps: freetype2-2.3.11 jpeg-8 kbproto-1.0.3 libICE-1.0.4_1,1 libSM-1.1.0_1,1 libX11-1.2.1_1,1 libXau-1.0.4 libXaw-1.0.5_1,1 libXdmcp-1.0.2_1 libXext-1.0.5,1 libXmu-1.0.4,1 libXp-1.0.0,1 libXpm-3.5.7 libXt-1.0.5_1 libiconv-1.13.1_1 libpthread-stubs-0.3_3 libxcb-1.5 libxml2-2.7.6_1 mysql-client-5.0.89 net-snmp-5.4.2.1_6 pcre-8.00 perl-5.10.1 php5-5.2.12 php5-bcmath-5.2.12 php5-ctype-5.2.12 php5-gd-5.2.12 php5-mysql-5.2.12 php5-pcre-5.2.12 php5-snmp-5.2.12 php5-sockets-5.2.12 pkg-config-0.23_1 png-1.2.42 printproto-1.0.4 t1lib-5.1.2_1,1 xextproto-7.0.5 xproto-7.0.15
WWW: http://www.zabbix.com/
Port: zabbix-proxy-1.8.1,2
Path: /usr/ports/net-mgmt/zabbix-proxy
Info: Enterprise-class open source distributed monitoring (proxy)
Maint: ports@christianserving.org
B-deps: ca_root_nss-3.12.4 curl-7.19.7_1 gettext-0.17_1 gnutls-2.8.3 iksemel-1.4_1 libgcrypt-1.4.4 libgpg-error-1.7 libiconv-1.13.1_1 mysql-client-5.0.89 net-snmp-5.4.2.1_6 openldap-client-2.4.21 perl-5.10.1 pkg-config-0.23_1
R-deps: ca_root_nss-3.12.4 curl-7.19.7_1 fping-2.4b2_1 gettext-0.17_1 gnutls-2.8.3 iksemel-1.4_1 libgcrypt-1.4.4 libgpg-error-1.7 libiconv-1.13.1_1 mysql-client-5.0.89 net-snmp-5.4.2.1_6 openldap-client-2.4.21 perl-5.10.1 pkg-config-0.23_1
WWW: http://www.zabbix.com/
Port: zabbix-server-1.8.1,2
Path: /usr/ports/net-mgmt/zabbix-server
Info: Enterprise-class open source distributed monitoring (server)
Maint: ports@christianserving.org
B-deps: ca_root_nss-3.12.4 curl-7.19.7_1 gettext-0.17_1 gnutls-2.8.3 iksemel-1.4_1 libgcrypt-1.4.4 libgpg-error-1.7 libiconv-1.13.1_1 mysql-client-5.0.89 net-snmp-5.4.2.1_6 openldap-client-2.4.21 perl-5.10.1 pkg-config-0.23_1
R-deps: ca_root_nss-3.12.4 curl-7.19.7_1 fping-2.4b2_1 gettext-0.17_1 gnutls-2.8.3 iksemel-1.4_1 libgcrypt-1.4.4 libgpg-error-1.7 libiconv-1.13.1_1 mysql-client-5.0.89 net-snmp-5.4.2.1_6 openldap-client-2.4.21 perl-5.10.1 pkg-config-0.23_1
WWW: http://www.zabbix.com/
# cd /usr/ports/net-mgmt/zabbix-server
# make config
Options for zabbix-server 1.8.1,2
[X] MYSQL Use MySQL backend
[ ] PGSQL Use PostgreSQL backend
[X] SQLITE Use SQLite backend
[ ] IPV6 Support for IPv6
[X] LDAP Support for checking LDAP servers
[X] JABBER Use jabber media type
[X] FPING Use fping for pinging hosts
# make install clean
~~
======================================================================
Zabbix requires a database. If you are using SQLite, one will be
created automatically. Otherwise you can install one as follows (<db>
is your database engine and <db_client> is its client program):
% cd /usr/local/share/zabbix/server/create
% cat schema/<db>.sql data/data.sql data/images_<db>.sql | <db_client>
To upgrade an existing database, see the scripts in
/usr/local/share/zabbix/server/upgrades.
======================================================================
===> Installing rc.d startup script(s)
===> Compressing manual pages for zabbix-server-1.8.1,2
===> Registering installation for zabbix-server-1.8.1,2
===> SECURITY REPORT:
This port has installed the following files which may act as network
servers and may therefore pose a remote security risk to the system.
/usr/local/sbin/zabbix_server
This port has installed the following startup scripts which may cause
these network services to be started at boot time.
/usr/local/etc/rc.d/zabbix_server
If there are vulnerabilities in these programs there may be a security
risk to the system. FreeBSD makes no guarantee about the security of
ports included in the Ports Collection. Please type 'make deinstall'
to deinstall the port if this is a concern.
For more information, and contact details about the security
status of this software, see the following webpage:
http://www.zabbix.com/
===> Cleaning for zabbix-server-1.8.1,2
# mysql -uroot -proot_pw
mysql> create database db_zabbix character set utf8;
mysql> quit;
# mysql -h localhost --user=root --password=root_pw -e"GRANT ALL ON db_zabbix.* TO username_zabbix@localhost IDENTIFIED BY 'username_zabbix_pw'" db_zabbix
# cd /usr/local/share/zabbix/server/create
# cat schema/mysql.sql data/data.sql data/images_mysql.sql | mysql -uampul_zabbix -p5fce1b3e34b520af ampul_zabbix
# cd /usr/ports/net-mgmt/zabbix-frontend
# make config
Options for zabbix-frontend 1.8.1,2
[X] MYSQL Use MySQL backend
[ ] PGSQL Use PostgreSQL backend
[X] SQLITE Use SQLite backend
# make install clean
===> Registering installation for zabbix-frontend-1.8.1,2
===> Cleaning for zabbix-frontend-1.8.1,2
# ls /usr/local/www/zabbix
bsd# cd /usr/ports/net-mgmt/zabbix-agent
bsd# make config
Options for zabbix-agent 1.8.1,2
[ ] IPV6 Support for IPv6
# make install clean
~~
This port has installed the following files which may act as network
servers and may therefore pose a remote security risk to the system.
/usr/local/sbin/zabbix_agent
/usr/local/bin/zabbix_sender
/usr/local/sbin/zabbix_agentd
/usr/local/bin/zabbix_get
This port has installed the following startup scripts which may cause
these network services to be started at boot time.
/usr/local/etc/rc.d/zabbix_agentd
If there are vulnerabilities in these programs there may be a security
risk to the system. FreeBSD makes no guarantee about the security of
ports included in the Ports Collection. Please type 'make deinstall'
to deinstall the port if this is a concern.
For more information, and contact details about the security
status of this software, see the following webpage:
http://www.zabbix.com/
===> Cleaning for zabbix-agent-1.8.1,2
# cd /usr/local/etc/zabbix
# ls
zabbix_agent.conf.sample zabbix_agentd.conf.sample zabbix_server.conf.sample
# cp zabbix_server.conf.sample zabbix_server.conf
# chmod u+w zabbix_server.conf
# vi zabbix_server.conf
# cp zabbix_agentd.conf.sample zabbix_agentd.conf
# chmod u+w zabbix_agentd.conf
# vi zabbix_agentd.conf
# /usr/local/etc/rc.d/zabbix_server start
Starting zabbix_server.
# /usr/local/etc/rc.d/zabbix_agentd start
Starting zabbix_agentd.