Mysql> update er set Password=PASSWORD('root') where User='root' # broker_module=/usr/local/nagios/bin/ndomod.o config_file=/usr/local/nagios/etc/ndomod.cfg src/ndo2db-3x /usr/local/nagios/bin/ndo2db chmod 774 /usr/local/nagios/bin/ndo* chown nagios:nagios /usr/local/nagios/bin/ndo* cp config/ndo* /usr/local/nagios/etc/ src/ndomod-3x.o /usr/local/nagios/bin/ndomod.o cp. src/ndo2db-3x /usr/local/nagios/bin/ndo2dbĬhown nagios:nagios /usr/local/nagios/bin/ndo* configure –prefix=/usr/local/nagios/ –enable-mysql –disable-pgsql –with-ndo2db-user=nagios –with-ndo2db-group=nagiosĬp. Pear config-set http_proxy is the PEAR module that the script installs, you can install it yourself: Before that, you must configure your proxy parameter for pear : If you have an internet access with a proxy, the script install.sh will not be able to upgrade your PEAR modules. My internet connection works fine (http, apt etc … work) but is there a configuration file to access outside with pear ? In fact, you can see the configuration of pear with this command : It's impossible to upgrade/install modules. Now, I had an issue when I want to install/upgrade my PEAR modules with the script install.sh for the installation of Centreon (§5). Yum install php-pear -y pear channel-update Yum install perl-RRD-Simple perl-DBI perl-DBD-MySQL gd fontconfig-devel libjpeg-devel libpng-devel gd-devel perl-GD php php-mysql php-gd perl-DBI perl-DBD-MySQL gd fontconfig-devel libjpeg-devel libpng-devel gd-devel perl-GD rrdtool perl-rrdtool perl-Crypt-DES perl-Digest-SHA1 perl-Socket6 perl-IO-Socket-INET6 net-snmp net-snmp-libs php-snmp dmidecode lm_sensors perl-Net-SNMP net-snmp-perl perl-Digest-HMAC net-snmp-utils openssl-devel perl-DBD-MySQL mysql-server mysql-devel sudo php-ldap php-xml # yum install php-xml (voor xmlwriter.so vanaf Centreon 2.1) Yum install perl-Socket6 perl-IO-Socket-INET6 net-snmp net-snmp-libs php-snmp dmidecode lm_sensors perl-Net-SNMP net-snmp-perl Yum install perl-Crypt-DES perl-Digest-SHA1 perl-Digest-HMAC net-snmp-utils y Yum install gd fontconfig-devel libjpeg-devel libpng-devel gd-devel perl-GD Nagios/Apache authetication against Windows Active Directory W2003R2 and higherĪuthLDAPURL "ldap://:389/ou=Users,ou=admins,dc=elisabeth,dc=nl?sAMAccountName?sub?(objectClass=*)"ĪuthLDAPBindDN "cn=sa_nagios,ou=Service Accounts,ou=admins,dc=elisabeth,dc=nl" Htpasswd -c /usr/local/nagios/etc/apache/ers nagiosadminĪdd Second User and use existing htpasswd file: ScriptAlias /nagios/cgi-bin "/usr/local/nagios/sbin"ĪuthUserFile /usr/local/nagios/etc/apache/ers Nagios/Apache authetication against local htpasswd file configure –with-gd-lib=/usr/lib –with-gd-inc=/usr/include –with-command-group=nagcmdĭisable parameter check_result_buffer_slots Name=Dag RPM Repository for Red Hat Enterprise Linux Centos 5.5 add repo to get RedHat packages
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |