
Installing a hub
27
yum clean all
5. Install Libxslt, Memcached, and Net-SNMP, configure them to start when the host starts, and start them.
yum -y install libxslt memcached net-snmp net-snmp-utils
for svc in memcached snmpd; do chkconfig $svc on; service $svc start; done
6. Install RRDtool.
yum -y install rrdtool-1.4.7
7. Install Nagios plugins.
yum -y install nagios-plugins nagios-plugins-dig nagios-plugins-dns \
nagios-plugins-http nagios-plugins-ircd nagios-plugins-ldap nagios-plugins-tcp \
nagios-plugins-ntp nagios-plugins-perl nagios-plugins-ping nagios-plugins-rpc
8. Enable access to Zenoss DataStore.
a. Log in to the Zenoss DataStore host (which may be a host other than the Resource Manager master host) as
user zenoss.
b. Log in to the Zenoss DataStore server as root.
zends -u root
c. Enter the following commands at the zends prompt. (Replace Hub-FQDN with the fully-qualified domain name
of the hub host.)
zends> GRANT SELECT on mysql.user to zenoss@'Hub-FQDN' IDENTIFIED BY "zenoss";
zends> GRANT ALL PRIVILEGES ON zenoss_zep.* to zenoss@'Hub-FQDN' IDENTIFIED BY "zenoss";
zends> GRANT ALL PRIVILEGES ON zodb.* to zenoss@'Hub-FQDN' IDENTIFIED BY "zenoss";
zends> FLUSH PRIVILEGES;
zends> quit
d. If the Resource Manager master host is also the Zenoss DataStore host, perform these steps.
i. Log in to the master host as user zenoss, and edit the $ZENHOME/etc/global.conf file. Change the values
of the following properties from localhost to the fully-qualified domain name of the master host:
• zodb-host
• amqphost
• zep-host
• zencatalogservice-uri
ii. Log in to the Zenoss DataStore server as root.
zends -u root
iii.Enter the following commands at the zends prompt. (Replace Master-FQDN with the fully-qualified domain
name of the Resource Manager master host.)
zends> GRANT SELECT on mysql.user to zenoss@'Master-FQDN' IDENTIFIED BY "zenoss";
zends> GRANT ALL PRIVILEGES ON zenoss_zep.* to zenoss@'Master-FQDN' IDENTIFIED BY "zenoss";
zends> GRANT ALL PRIVILEGES ON zodb.* to zenoss@'Master-FQDN' IDENTIFIED BY "zenoss";
zends> FLUSH PRIVILEGES;
zends> quit
Komentarze do niniejszej Instrukcji