terewcalgary.blogg.se

Install cacti on nginx
Install cacti on nginx







install cacti on nginx

Type the following command to install cacti tables (you need to type the cacti user password): # mysql -u cacti -p cacti Īnother option is create /usr/share/cacti/.htaccess file and password protect the directory. Finally, restart httpd:

install cacti on nginx

Sample output: /usr/share/doc/cacti-0.8.7d/cacti.sql IP-MIB::ipAdEntIfIndex.127.0.0.1 = INTEGER: 1įirst, make sure EPEL repo is enabled. Type the following command to install cacti: # yum install cacti Install cacti tables Type the following command to find out cacti.sql path: # rpm -ql cacti | grep cacti.sql IP-MIB::ipAdEntIfIndex.67.yy.zz.eee = INTEGER: 3 Make sure you are getting information from snmpd: # snmpwalk -v 1 -c public localhost IP-MIB::ipAdEntIfIndex Save and close the file. Turn on snmpd service: # /etc/init.d/snmpd start Type the following command to install net-snmpd # yum install net-snmp-utils php-snmp net-snmp-libs Configure snmpd, open /etc/snmp/nfĪppend / modify it as follows (see nf man page for details):Īccess MyRWGroup "" any noauth exact all all none Mysql> GRANT ALL ON cacti.* IDENTIFIED BY 'zYn95ph43zYtq'

#Install cacti on nginx install

Install the required packages on your server machines, to install these packages you need to login as root # yum install mysql-server mysql php-mysql php-pear php-common php-gd php-devel php php-mbstring php-cli php-snmp php-pear-Net-SMTP php-mysql httpdĬonfigure MySQL server First, set root password:









Install cacti on nginx