Replies: 43
1. think CentOS 6.x is better than CentOS 5.x because the php is 5.3
tricky tips if you really want use CentOS 6.x.
sed -i.bak ‘s/6.2/5.8/g’ /etc/redhat-release
2. install net-snmp to avoid the snmpd.conf failed ?
yum install -y net-snmp
3. update the puppet. removed the php-pecl-json, php-pecl-json already included by default in php5.3. so you can safely remove the requirment.
# line 11. remove the nagios-php-pecl-json
/etc/puppet/master/modules/hdp-nagios/manifests/server/packages.pp
4. seems the jdk met permission issue ?
[root@hmhdp01 ~]# ls -l /var/www/html/downloads/
total 166876
-rwxr—– 1 root root 85292206 Jun 19 08:56 jdk-6u31-linux-i586.bin
[root@hmhdp01 ~]# curl -I localhost/downloads/jdk-6u31-linux-x64.bin
HTTP/1.1 403 Forbidden
[root@hmhdp01 ~]# chown puppet /var/www/html/downloads/*
[root@hmhdp01 ~]# curl -I localhost/downloads/jdk-6u31-linux-x64.bin
HTTP/1.1 200 OK
-rwxr—– 1 root root 85581913 Jun 19 08:56 jdk-6u31-linux-x64.bin
5. still fight with HDP. not quite sure why the nagios/ganglia is a must for the installation.
all looks fine now. but failed at last step , start nagios. maybe the configuration met issue. still debuging.