Time of PHP should match time of server, otherwise it won’t work – values won’t be written in rrd files – so no graphs will be imaged.Įdit /etc/php.ini for following fields: date.timezone = "Asia/Vladivostok" Don’t use values from “Others” – because of the warnings in the end of page. 1.3.6.1.2.1.4.20.1.1Ĭheck SNMP for CentOS itself: snmpwalk 127.0.0.1 -c public -v 2cĬheck the List of Supported Timezones. rocommunity public 127.0.0.1Ĭheck SNMP for remote host (UID is for Cisco router): snmpwalk 192.168.136.1 -c COMMUNITYSTRING -v 2c. Add following string to /etc/snmp/nf and restart snmpd service. Starting services and make them started on system bootup on CentOS7: systemctl start httpdĪt least we need to make CentOS to be able to “SNMP” itself. Starting services and make them started on system bootup on CentOS6: service httpd start Yum install -y net-snmp-utils net-snmp-libsįor CentOS6 install: yum install -y mysql mysql-serverįor CentOS7 install: yum install -y mariadb mariadb-server Yum install -y php-pear php-gd php-mbstring Yum install -y php php-devel php-mysql php-snmp php-xml Installing packets, which are same for CentOS6 and CentOS7: yum install -y httpd httpd-devel
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |