PHP-RRDTool installation on CentOS 5 Rumi, January 13, 2013January 13, 2013 Step-1 Adding Yum Repository Add the Reporforge repository. Then- Yum install php-rrdtool Alternatively, you can download the rpm from http://apt.sw.be/redhat/el5/en/i386/rpmforge/RPMS/php-rrdtool-1.4.4-1.el5.rf.i386.rpm Step-2 : Configure rrdtool.so in php configuration file. # cd /etc/php.d/ # vi rrdtool.ini ; Enable rrdtool extension module extension=rrdtool.so Next Restart apache web services. # service httpd restart Step-3 Checking php-rrd module is working fine You need to have PHP compiled with RRDTool support to run the following PHP examples. If you compile PHP by hand then see: how to build the php rrdtool extension by hand. If you are using a distribution's pre-compiled PHP binary you should be able to install a second package with RRDTool support. You can verify that your PHP install is ready to go by running this: <?php phpinfo(INFO_MODULES); ?> Then search for "rrdtool" in the output and make sure that "rrdtool support" is enabled. While going through each of the following steps you will notice that each call takes a couple of parameters and then one parameter that is just a string of options. The string of options is exactly how it is for generating/updating/graphing RRDs from the command line. This makes for a consistent interface for the different languages that have RRDTool support. Src: http://apt.sw.be/redhat/el5/en/i386/rpmforge/RPMS/ http://repoforge.org/use/ HOWTO build the PHP rrdtool extension? PHP RRDTool tutorial How to build the PHP rrdtool extension by hand Related Administrations Scripts mrtgphpRRDTool
Cacti user creation with specific graphs permission November 4, 2022 As an admin of cacti you can anything and everything. However, at certain times, you need to create restricted user who has access to only certain graphs of the cacti system. So here goes the steps (this is based on cacti version 1.2.21)- From left menu select Configuration > Users… Read More
2 Gateways or Multiple Gateway on a single CentOS box May 21, 2015 Scenerio- eth0- 172.30.0.100 | Gateway- 172.30.0.97 eth1- 192.168.2.247 | Gateway- 192.168.2.1 Need to connect to SIP BOX destination (fictitious)- 202.140.1.1 eth0 has not internet access but it uses the mentioned (172.30.0.97) as gateway to reach 202.140.1.1 server eth0 has internet access by using 192.168.2.1 gateway. Here goes the configuration on /etc/sysconfig/network-scripts/ifcfg-eth0… Read More
Install VNCServer on Centos 5 June 6, 2014 Install VNC Server to operate CentOS with GUI remotely from Windows client. VNC is already installed if you already build Desktop Environment. If it's not installed, Install by a command 'yum -y install vnc-server'. [root@ns ~]# yum -y install vnc-server [root@ns ~]# vi /etc/sysconfig/vncservers # line 20: make valid… Read More