Search found 76 matches

by nationals
Thu Jan 24, 2019 6:56 am
Forum: Help: Linux/Unix Specific
Topic: bug for 1.2.1 ???
Replies: 4
Views: 782

Re: bug for 1.2.1 ???

check file is created and update correctly.

it seems can not be load for display.
by nationals
Tue Jan 22, 2019 9:53 pm
Forum: Help: Linux/Unix Specific
Topic: bug for 1.2.1 ???
Replies: 4
Views: 782

bug for 1.2.1 ???

just flush install 1.2.1 with spine on ubuntu 18.04 lts (nginx1.14+php7.2-fpm+mysql5.7).

and add 3 linux server (centos, ubuntu) with snmpd for monitor,

it seems ok. but:

the realtime graphs is all ok.

the normal graphs is empty.

why? or it is just a bug?
by nationals
Thu Sep 06, 2018 1:59 am
Forum: Help: Linux/Unix Specific
Topic: cacti-1.1.38 on centos 7 x86_86 with nginx
Replies: 6
Views: 2926

Re: cacti-1.1.38 on centos 7 x86_86

secure mysql

Code: Select all

mysql_secure_installation
by nationals
Thu Sep 06, 2018 1:56 am
Forum: Help: Linux/Unix Specific
Topic: cacti-1.1.38 on centos 7 x86_86 with nginx
Replies: 6
Views: 2926

Re: cacti-1.1.38 on centos 7 x86_86

Code: Select all

touch /etc/cron.d/cacti
echo "*/5 * * * * apache /usr/bin/php /usr/share/nginx/html/poller.php > /dev/null 2>&1" > /etc/cron.d/cacti
by nationals
Thu Sep 06, 2018 1:52 am
Forum: Help: Linux/Unix Specific
Topic: cacti-1.1.38 on centos 7 x86_86 with nginx
Replies: 6
Views: 2926

Re: cacti-1.1.38 on centos 7 x86_86 with nginx

cd ~ wget -N https://www.cacti.net/downloads/cacti-1.1.38.tar.gz wget -N https://www.cacti.net/downloads/spine/cacti-spine-1.1.38.tar.gz tar zxvf cacti-1.1.38.tar.gz mv cacti-1.1.38/* /usr/share/nginx/html/ chown -R apache:apache /usr/share/nginx/html/ mysql -u cactiuser -pcactiuser cacti < /usr/sh...
by nationals
Thu Sep 06, 2018 1:50 am
Forum: Help: Linux/Unix Specific
Topic: cacti-1.1.38 on centos 7 x86_86 with nginx
Replies: 6
Views: 2926

Re: cacti-1.1.38 on centos 7 x86_86

# install mysql server rpm -Uvh http://repo.mysql.com/mysql-community-release-el7-5.noarch.rpm yum install mysql-server -y vim /etc/my.cnf add the following [client] default-character-set = utf8mb4 [mysql] default-character-set = utf8mb4 [mysqld] character-set-client-handshake = FALSE character-set...
by nationals
Thu Sep 06, 2018 1:49 am
Forum: Help: Linux/Unix Specific
Topic: cacti-1.1.38 on centos 7 x86_86 with nginx
Replies: 6
Views: 2926

Re: cacti-1.1.38 on centos 7 x86_86

sed -i 's/index.html/index.php index.html/g' /etc/nginx/conf.d/default.conf vim /etc/nginx/conf.d/default.conf add the following #pass the PHP scripts to FastCGI server listening on unix sock # location ~ \.php$ { root /usr/share/nginx/html; fastcgi_pass unix:/dev/shm/php-fcgi.sock; fastcgi_index i...
by nationals
Thu Sep 06, 2018 1:47 am
Forum: Help: Linux/Unix Specific
Topic: cacti-1.1.38 on centos 7 x86_86 with nginx
Replies: 6
Views: 2926

Re: cacti-1.1.38 on centos 7 x86_86

#!/bin/sh # install tools yum install -y vim wget curl openssl NetworkManager-tui patch # install nginx cat > /etc/yum.repos.d/nginx.repo <<EOF [nginx] name=nginx repo baseurl=http://nginx.org/packages/centos/\$releasever/\$basearch/ gpgcheck=0 enabled=1 EOF yum install -y nginx systemctl start ngi...
by nationals
Thu Sep 06, 2018 1:45 am
Forum: Help: Linux/Unix Specific
Topic: cacti-1.1.38 on centos 7 x86_86 with nginx
Replies: 6
Views: 2926

cacti-1.1.38 on centos 7 x86_86 with nginx

hope it can help somebody else #!/bin/sh # disable firewalld and selinux systemctl disable firewalld.service systemctl stop firewalld.service sed -i 's/SELINUX=enforcing/SELINUX=disabled/g' /etc/selinux/config /usr/sbin/setenforce 0 # Show IP info before login cat >> /etc/issue <<EOF HoseName: \\n@\...
by nationals
Thu Apr 20, 2017 3:15 am
Forum: Help: Linux/Unix Specific
Topic: cacti 1.1.3, nginx with php-fpm on centos 7
Replies: 2
Views: 3988

Re: cacti 1.1.3, nginx with php-fpm on centos 7

# check if Centos/Redhat Release if [ ! -f /etc/redhat-release ]; then echo This is not Centos/Redhat Release Linux. echo It is not supported! echo Exit... echo exit fi # check if CentOS Release if [ `cat /etc/redhat-release| awk '{ print $1 }'` != "CentOS" ]; then echo echo The installed...
by nationals
Thu Apr 20, 2017 3:12 am
Forum: Help: Linux/Unix Specific
Topic: cacti 1.1.3, nginx with php-fpm on centos 7
Replies: 2
Views: 3988

cacti 1.1.3, nginx with php-fpm on centos 7

just post the code after tested all. no time to ... maybe sometime will release. hope it can help somebody to save deploy time. Capture.JPG #!/bin/sh # config the yum for local mirror site (china local site) cp /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.bak sed -i 's/^#baseu...
by nationals
Wed Jul 22, 2015 10:17 pm
Forum: Help: Linux/Unix Specific
Topic: global_arrays:VALUE_OF_HDD_TOTAL ?
Replies: 0
Views: 635

global_arrays:VALUE_OF_HDD_TOTAL ?

is it possible add:
VALUE_OF_HDD_TOTAL
to global_arrays in release version?

Code: Select all

sed -i '/CURRENT_DATA_SOURCE/a\        "VALUE_OF_HDD_TOTAL" => "Value of Hdd_Total Data Source",' include/global_arrays.php 
Capture.JPG
Capture.JPG (65.26 KiB) Viewed 635 times
by nationals
Wed Feb 12, 2014 5:15 am
Forum: Help: Linux/Unix Specific
Topic: cacti 0.8.8b & spine 0.8.8b @ centos 6 x86_64 install script
Replies: 1
Views: 8571

Re: cacti 0.8.8b & spine 0.8.8b @ centos 6 x86_64 install sc

use yum to install ntopng: cat > /etc/yum.repos.d/ntop.repo <<EOF [ntop] name=ntop packages baseurl=http://rpm.ntop.org/\$releasever/\$basearch/ enabled=1 gpgkey=http://www.nmon.net/centos/RPM-GPG-KEY-deri EOF rpm -Uvh http://mirrors.yun-idc.com/epel/6/x86_64/epel-release-6-8.noarch.rpm yum install...
by nationals
Wed Feb 12, 2014 4:52 am
Forum: Help: Linux/Unix Specific
Topic: cacti 0.8.8b & spine 0.8.8b @ centos 6 x86_64 install script
Replies: 1
Views: 8571

cacti 0.8.8b & spine 0.8.8b @ centos 6 x86_64 install script

#!/bin/sh # script for install cacti 0.8.8b and spine 0.8.8b on Centos Linux Release 6.x x86_64 # Version : 2.0.0 # Make by Patrick.Ru @ China # E-Mail : patrick.ru@hotmail.com # Date : 12-Feb-2014 # check if Centos/Redhat Release if [ ! -f /etc/redhat-release ]; then echo echo This is not Centos/R...