[HOWTO] Cacti Install Guide CentOS 6 - 64

If you figure out how to do something interesting/cool in Cacti and want to share it with the community, please post your experience here.

Moderators: Developers, Moderators

ukzerosniper
Cacti User
Posts: 118
Joined: Wed Oct 03, 2012 5:51 pm

[HOWTO] Cacti Install Guide CentOS 6 - 64

Post by ukzerosniper »

Hi Guys,

I have written a Cacti Installation and basic setup guide for CentOS 6 64bit.

Could you check it over and let me know if I have missed anything or if I can improve my method of installing and setting up Cacti.

I should clarify things a little by announcing I am a beginner with Cacti and Linux, I have primarily made the guide as a learning experience for myself. If it helps anyone else in the future, that's just awesome!

I have used the website below to for parts of the initial install. I have modified their instructions to try and make the installation work for everyone in every situation. Also, I included a few bits they missed out.

http://www.tecmint.com/install-cacti-ne ... ora-17-12/ as a

Thanks Guys.


Installing and configuring Cacti with Cent OS 6.3
Before we can install Cacti, we must install the following packages.
• Apache : A Web server to display network graphs created by PHP and RRDTool.
• MySQL : A Database server to store cacti information.
• PHP : A script module to create graphs using RRDTool.
• PHP-SNMP : A PHP extension for SNMP to access data.
• NET-SNMP : A SNMP (Simple Network Management Protocol) is used to manage network.
• RRDTool : A database tool to manage and retrieve time series data like CPU load, Network Bandwidth etc.
• UnZip : A simple tool for extracting zip files


Once Cent OS 6.3 is installed login as “root” with the password you configured during the OS installation

Installing Apache
# yum install httpd httpd-devel

Install MySQL
# yum install mysql mysql-server

Install PHP
# yum install php-mysql php-pear php-common php-gd php-devel php php-mbstring php-cli php-mysql

Install PHP-SNMP
# yum install php-snmp

Install NET-SNMP
# yum install net-snmp-utils p net-snmp-libs php-pear-Net-SMTP

Install RRDTool
# yum install rrdtool

Install UnZip
# yum install unzip


Now that all the required packages are installed, we must start their services running.

Start Apache
# service httpd start

Start MySQL
# service mysqld start

Start SNMP
# service snmpd start

Setup start up links for Apache, MySQL and SNMP
Apache
# /sbin/chkconfig --levels 345 httpd on

MySQL
# /sbin/chkconfig --levels 345 mysqld on

SNMP
# /sbin/chkconfig --levels 345 snmpd on


Add the Extra Packages for Enterprise Linux (EPEL) repository (64-Bit CentOS 6 only). This is where the Cacti installation is downloaded from.
# wget http://download.fedoraproject.org/pub/e ... noarch.rpm
# rpm -ivh epel-release-6-8.noarch.rpm


Download and Install Cacti
# yum install cacti


Setup MySQL Server for Cacti
# mysqladmin -u root password Desired-Password-Here


Create MySQL Cacti Database
# mysql -u root -p
mysql> create database cacti;
mysql> GRANT ALL ON cacti.* TO cacti@localhost IDENTIFIED BY ‘Password-you-set-above’;
mysql> FLUSH privileges;
mysql> quit;


Setup Cacti Tables in MySQL
To being, we need to know the location of the cacti.sql file where the tables will be installed. Use the following command to show the location.

# rpm -ql cacti | grep cacti.sql

Sample Output
/usr/share/cacti-0.8.7d/cacti.sql


Now we need to install the tables into the cacti.sql file. Use the following command to do this, replace the green text for the location shown by the command above.

# mysql -u cacti -p cacti < /usr/share/cacti-0.8.7d/cacti.sql


Configure MySQL settings for Cacti
Open db.php with your preferred editor

# vi /etc/cacti/db.php

Make the changes highlighted in red

/* make sure these values reflect your actual database/host/user/password */
$database_type = "mysql";
$database_default = "cacti";
$database_hostname = "localhost";
$database_username = "cacti";
$database_password = "your-password-here";
$database_port = "3306";
$database_ssl = false;


Configure Apache Server for Cacti Installation
You need to allow access to Cacti from the ipranges you require. By default I choose to allow access from all IP addresses. This can be viewd as an unsecure option and you may wish to follow a different path. (Google is your friend).

Open /etc/httpd/conf.d/cacti.conf with your preferred editor

# vi /etc/httpd/conf.d/cacti.conf

Add the following section at the bottom of the config file

Alias /cacti /usr/share/cacti

<Directory /usr/share/cacti/>
Order Deny,Allow
Deny from none
Allow from all
</Directory>

In order for this change to take effect, Apache must be restarted. Issue the following command to restart Apache

# service httpd restart

Setting Cron for Cacti
Open the Cacti cron file and and uncomment the line to enable the poller.php to run every5 mins.

#vi /etc/cron.d/cacti

Delete the # in the following line

#*/5 * * * * cacti /usr/bin/php /usr/share/cacti/poller.php > /dev/null 2>&1

Configure firewall to allow access to Cacti from the web
Open the iptables file
# vi /etc/sysconfig/iptables

Add the following line
# -A INPUT -m state --state NEW -m tcp -p tcp --dport 80 -j ACCEPT

Restart iptables
# service iptables restart


Complete Cacti Installation via web installer
Open http://SERVER-IP/cacti to view the web installer.


Basic Cacti configuration
In order for Cacti to be able to complete all the tasks we require, a few plugins need to be installed. These are;
• Monitor
• Errorimage
• Settings
• Jqueryskin
• Discovery
• Weathermap
• Realtime
• Nectar
• Thold
• Watermark
• Hmib
• Syslog
All the required plugins can be found either on Cacti website (docs.cacti.net/plugins).

Download the required plugins
We will be using the wget command to download the plugins as required. The links in this document refer to the plugins at the date of the documents publication. You may need to obtain the current links from the docs.cacti.net/plugins site.

Switch to the Cacti plugins directory
# cd /usr/share/cacti/plugins

Monitor Plugin
# wget http://docs.cacti.net/_media/plugin:monitor-v1.3-1.tgz

Error Image
# wget http://docs.cacti.net/_media/plugin:err ... v0.2-1.tgz

Settings
# wget http://docs.cacti.net/_media/plugin:set ... 0.71-1.tgz

Jqueryskin (If below link doesn’t work get current link from http://www.freedrive.com/folder/342025)
wget http://node1.nirvanix.com/jN8Cdrq0~3CM6 ... ryskin.zip

Discovery
# wget http://docs.cacti.net/_media/plugin:dis ... v1.5-1.tgz

Weathermap
# wget http://www.network-weathermap.com/files ... -0.97a.zip

Realtime
# wget http://docs.cacti.net/_media/plugin:realtime-v0.5-2.tgz

Nectar
# wget http://docs.cacti.net/_media/plugin:nectar-v0.35a.tgz

Thold
# wget http://docs.cacti.net/_media/plugin:thold-v0.4.9-3.tgz

Watermark (If below link doesn’t work get current link from http://www.freedrive.com/folder/342025)
wget http://node1.nirvanix.com/2-sZuPC-~7g88 ... ermark.zip

Hmib
# wget http://docs.cacti.net/_media/plugin:hmib-v1.4-2.tgz

Syslog
# wget http://docs.cacti.net/_media/plugin:syslog-v1.22-2.tgz


Renaming the plugins ready for extraction
Before we can install any plugins we need to remove the “plugin:” prefiex has been attached to any of the plugins hosted on the cacti website. Other plugins like weathermap don’t have this prefix and can be ignored at this step.

To check which files need to be corrected list all the plugins we have just downloaded

# ls

Sample Output
Index.php
Plugin:monitor-v1.5-1.tgz
Plugin:discovery-v1.5-1.tgz
Plugin:hmib-v1.4-2.tgz

Every file which has the “plugin:” prefix needs to be renamed with the “mv” command. To use this command simply write “mv PLUGINS-OLD-NAME PLUGINS-NEW-NAME” at the command prompt for each plugin.

# mv plugin:monitor-v1.3-1.tgz monitor-v1.3-1.tgz
# mv plugin:discovery-v1.5-1.tgz discovery-v1.5-1.tgz
# mv plugin:hmib-v1.4-2.tgz hmib-v1.4-2.tgz
# mv plugin:nectar-v0.35a.tgz nectar-v0.35a.tgz
# mv plugin:settings-v0.71-1.tgz settings-v0.71-1.tgz
# mv plugin:thold-v0.4.9-3.tgz thold-v0.4.9-3.tgz
# mv plugin:errorimage-v0.2-1.tgz errorimage-v0.2-1.tgz
# mv plugin:realtime-v0.5-2.tgz realtime-v0.5-2.tgz
# mv plugin:syslog-v1.22-2.tgz syslog-v1.22-2.tgz

At the point we need to check that all the plugins are named correctly. Issue the “ls” command and look for any plugins which have the prefiex “plugin:”. If you see any rename them as shown above and then continue.

Extracting the plugins
In order to extract the plugins, issue the “tar –zvxf PLUGIN-NAME” command for each plugin compressed with .tgz and “unzip PLUGIN-NAME” for each plugin compressed with .zip

# tar -zvxf monitor-v1.3-1.tgz
# tar -zvxf discovery-v1.5-1.tgz
# tar -zvxf hmib-v1.4-2.tgz
# tar -zvxf nectar-v0.35a.tgz
# tar -zvxf settings-v0.71-1.tgz
# tar -zvxf thold-v0.4.9-3.tgz
# tar -zvxf errorimage-v0.2-1.tgz
# tar -zvxf realtime-v0.5-2.tgz
# tar -zvxf syslog-v1.22-2.tgz
# unzip php-weathermap-0.97a.zip
# unzip watermark.zip
# unzip jqueryskin.zip


Tidy up the Plugins Folder
Now that all the plugins have been extracted, we need to remove the compressed files

# rm -rf monitor-v1.3-1.tgz
# rm -rf discovery-v1.5-1.tgz
# rm -rf hmib-v1.4-2.tgz
# rm -rf nectar-v0.35a.tgz
# rm -rf settings-v0.71-1.tgz
# rm -rf thold-v0.4.9-3.tgz
# rm -rf errorimage-v0.2-1.tgz
# rm -rf realtime-v0.5-2.tgz
# rm -rf syslog-v1.22-2.tgz
# rm -rf php-weathermap-0.97a.zip
# rm -rf watermark.zip
# rm -rf jqueryskin.zip

Confirm that all compressed files have been deleted by listing all files in the folder
# ls

If any compressed files remain, issue the “rm -rf COMPRESSED-FILE-NAME” command to remove them


Configuring the plugins
In order for the plugins to Install correctly some of them require a little configuring before they will work.

Realtime Graphs
Realtime Graphs requires a directory to store temp images as the realtime graphs are created. This directory needs to be writeable. Change directorys to the extracted reatime graphs folder.
# cd /usr/share/cacti/plugins/realtime

Create a new directory called “temp”
# mkdir temp

Set the permissions on the new directory to be writable by all
# chmod 777 temp


PHPWeathermap
We need to activate the editor in editor.php. Navigate to the correct folder
# cd /usr/share/cacti/plugins/weathermap

Make the configs directory writeable by the user
# chmod 777 configs

Make the output directory writable by the user
# chmod 777 output

Open the editor.php
# vi editor.php

Set ENABLED=true at the top of editor.php, then save and exit the editor


Set the max PHP file size to 768Mb.
To find the php.ini use the command
#find / -name php.ini

Change directory to the correct directory and open php.ini in your chosen editor
#cd /etc
#vi php.ini

Scroll down until you see “memory_limit = 128M”. Edit this to be “memory_limit = 768M” then save and close the editor


Install Webmin
Webmin makes simple tasks like setting the system time and keeping things up to date very easy.

Change directory to the root directory
# cd /root/

Make a new directory to download webmin into
# mkdir webmin

Change directory to your newly created Webmin directory
# cd /root/webmin/

Download the latest tar.gz version of Webmin (Get link from http://www.webmin.com/download.html)
# wget http://prdownloads.sourceforge.net/weba ... 610.tar.gz

Extract the Webmin download
# tar -xf webmin-1.610.tar

Change directory to the extracted Webmin directory
# cd webmin-1.610

Run the Webmin setup (accept default settings and enter a new password)
# ./setup.sh /usr/local/webmin

Add Webmins port to the iptables open the iptables file
# vi /etc/sysconfig/iptables

Add the following line
# -A INPUT -m state -state NEW -m tcp -p tcp -dport 10000 -j ACCEPT

Restart iptables
# service iptables restart


Configure the servers clock so that all Cacti graphs show the correct time
1. Login to Webmins web interface YOUR-SERVERS-IP:10000
2. Click “Hardware” on the left
3. Click “System Time” on the left
4. Set the “System Time” to the correct time
5. Click “Apply”
6. Set the “Hardware Time” to the correct time
7. Click “Save”
8. Click Logout on the left


Activate Plugins
1. View the cacti website (YOUR-SERVER-IP/Cacti)
2. Click “Plugin Management” on the left
3. Install and activate all plugins excluding Syslog (we will activate syslog in a moment)
4. Click “Settings” on the left
5. Click the “Misc” tab across the top
6. In the “Realtime Graphs” section input “/usr/share/cacti/plugins/realtime/temp” in the “Cache Directory”
7. Click “Save”
8. Check that the “Cache Directory” now shows “[OK: DIR FOUND]”
9. Click the “Visual” tab
10. In the “Watermark” section select “No Grid Fit”
11. Press “Save”
12. Click “Plugin Management” on the left
13. Click “Install” on Syslog
14. Change the “Retention Policy” to 3 Months
15. Click “Install”
16. Click “Activate” on the Syslog plugin


Install Advanced Ping 2.2
1. Download Advanced Ping template to your pc (http://www.freedrive.com/folder/342025)
2. In the Cacti web interface click “Import/Export” on the left
3. Click “Import Templates”
4. Click “Choose File”
5. Select the Advanced Ping template you downloaded
6. Click “Import” at the bottom


Finally, add your devices to Cacti and graph them as per your requirements.
Last edited by ukzerosniper on Wed Feb 13, 2013 1:17 pm, edited 2 times in total.
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Re: Cacti Install Guide CentOS 6 - 64

Post by gandalf »

Adding some text to title and moving to HowTo forum - thx for your work
R.
ukzerosniper
Cacti User
Posts: 118
Joined: Wed Oct 03, 2012 5:51 pm

Re: Cacti Install Guide CentOS 6 - 64

Post by ukzerosniper »

No probs and thanks :)
killrog
Posts: 20
Joined: Tue Jan 29, 2013 11:52 am

Re: Cacti Install Guide CentOS 6 - 64

Post by killrog »

Should there be a small section about edition the IP tables to allow access from port 80? I follow these instructions and was unable to get graphs to display. But im also very new.
ukzerosniper
Cacti User
Posts: 118
Joined: Wed Oct 03, 2012 5:51 pm

Re: Cacti Install Guide CentOS 6 - 64

Post by ukzerosniper »

It is in the instructions
Configure firewall to allow access to Cacti from the web
Open the iptables file
# vi /etc/sysconfig/iptables

Add the following line
# -A INPUT -m state -state NEW -m tcp -p tcp -dport 80 -j ACCEPT

Restart iptables
# service iptables restart
Can you elaborate, what exactly have you done to generate a graph and what is happening? Do the logs show anything?
killrog
Posts: 20
Joined: Tue Jan 29, 2013 11:52 am

Re: [HOWTO] Cacti Install Guide CentOS 6 - 64

Post by killrog »

Ok so i scrapped the old install, restarted fresh, so far i havent tested cacti, but these are some problems i found maybe?

Installed cacti, without the plugins and these are some of the things i found didnt work, im a total n00b BTW so correct me if im wrong or missed a step

This next line, asks to login to mysql as user cacti, but we never created a user cacti only root and gave it a password earlier

mysql -u cacti -p cacti < /usr/share/cacti-0.8.7d/cacti.sql

same here since we didnt make one i used root user that we made earlier

$database_type = "mysql";
$database_default = "cacti";
$database_hostname = "localhost";
$database_username = "cacti";
$database_password = "your-password-here";
$database_port = "3306";
$database_ssl = false;



-A INPUT -m state -state NEW -m tcp -p tcp -dport 80 -j ACCEPT gave error

-A INPUT -m state --state NEW -m tcp -p tcp --dport 80 -j ACCEPT works

--state and --dport i just copied that from a line i saw in iptables and it worked, i couldnt restart Iptables without this change it would fail.
ukzerosniper
Cacti User
Posts: 118
Joined: Wed Oct 03, 2012 5:51 pm

Re: [HOWTO] Cacti Install Guide CentOS 6 - 64

Post by ukzerosniper »

Lol, Good job.

Well diagnosed. I can see that when I copied my notes in word it merged the -- into a -. Wierd HU.

Ill amend the documentation here and update it asap.

Thanks for spotting that :)
killrog
Posts: 20
Joined: Tue Jan 29, 2013 11:52 am

Re: [HOWTO] Cacti Install Guide CentOS 6 - 64

Post by killrog »

So im pretty sure i followed everything to the dot, and now im having the same issue i had before, the Graph images are not there at all. This is the main problem every time i've installed Cacti, and i've done this 7 times using different walk troughs, so far I've only managed once to get IP graphs to go, and then i changed the system time and broke it completely and that was tossed.
ukzerosniper
Cacti User
Posts: 118
Joined: Wed Oct 03, 2012 5:51 pm

Re: [HOWTO] Cacti Install Guide CentOS 6 - 64

Post by ukzerosniper »

When you are logged in go to and take a screen shot of the following.

Console --> Management --> Devices -->

Click one of the Devices names to go into the device properties screen.

Then screen shot this page. Im interested to see the SNMP Information in the top left corner.
killrog
Posts: 20
Joined: Tue Jan 29, 2013 11:52 am

Re: [HOWTO] Cacti Install Guide CentOS 6 - 64

Post by killrog »

This what you needed?
Image

So i've messed around with the system time zone through webmin and now i have local host as UP and i see some graphs, i also had to manually run the poller which kept giving me the error "it is not safe to rely on system timezone setting,

And now comes the second part, only my local host graphs showed up, my ip ping graph i made as a test for www.google.ca still does not show. All the local admin graphs are showing -nan
ukzerosniper
Cacti User
Posts: 118
Joined: Wed Oct 03, 2012 5:51 pm

Re: [HOWTO] Cacti Install Guide CentOS 6 - 64

Post by ukzerosniper »

Yeah,

You haven't got an SNMP connection to that device.

What is it you are trying to graph?
killrog
Posts: 20
Joined: Tue Jan 29, 2013 11:52 am

Re: [HOWTO] Cacti Install Guide CentOS 6 - 64

Post by killrog »

This is the local host graphs that are built into cacti when it starts up.
ukzerosniper
Cacti User
Posts: 118
Joined: Wed Oct 03, 2012 5:51 pm

Re: [HOWTO] Cacti Install Guide CentOS 6 - 64

Post by ukzerosniper »

Hmmm, one of my posts didnt arrive for some reason...

Any way.

Make sure that the host template is set to Cacti, or Local Host or something relevant.

Next, down where it says SNMP Options.

Set the following
SNMP Version 1
SNMP Community public
SNMP Port 161
SNMP Timeout 500

Save your settings, you should see SNMP info at the top now, that will confirm SNMP is working.

Leave the machine running for an hour, then when you come back hopefully you will have graphs.

Keep us up to date with your progress.
killrog
Posts: 20
Joined: Tue Jan 29, 2013 11:52 am

Re: [HOWTO] Cacti Install Guide CentOS 6 - 64

Post by killrog »

Ok i edited as you said, i do see the SNMP info at the top no red SNMP error so we're good on that side. Also the template i used is Localhost Linux machine

Now also the time is ahead to 8:30 of Feb 13 but the machine time says 2:30 =/

And still all Nans
killrog
Posts: 20
Joined: Tue Jan 29, 2013 11:52 am

Re: [HOWTO] Cacti Install Guide CentOS 6 - 64

Post by killrog »

Here's the last few lines from my cacti log, i donno why the time switched from 2:30 to 8:30 just on its own...
02/13/2013 02:30:04 PM - WEATHERMAP: Poller[0] DEBUG: [weathermap_memory_check@poller-common.php:11] MEM Initial: memory_get_usage() says 12.9MBytes used. Limit is 512M
02/13/2013 02:30:04 PM - WEATHERMAP: Poller[0] DEBUG: [weathermap_run_maps@poller-common.php:108] Iterating all maps.
02/13/2013 02:30:04 PM - WEATHERMAP: Poller[0] DEBUG: [weathermap_run_maps@poller-common.php:239] Iterated all 0 maps.
02/13/2013 02:30:04 PM - WEATHERMAP: Poller[0] DEBUG: [weathermap_memory_check@poller-common.php:11] MEM Final: memory_get_usage() says 12.9MBytes used. Limit is 512M
02/13/2013 02:30:04 PM - WEATHERMAP: Poller[0] STATS: Weathermap 0.97a run complete - Wed, 13 Feb 13 14:30:04 -0500: 0 maps were run in 0 seconds with 0 warnings.
02/13/2013 08:30:05 PM - WEBLOG: Poller[0] CACTI2RRD: /usr/bin/rrdtool graph - --imgformat=PNG --start=1360697405 --end=1360783805 --title='Localhost - Memory Usage' --rigid --base=1000 --height=120 --width=500 --alt-autoscale-max --lower-limit='0' COMMENT:"From 2013/02/12 20\:30\:05 To 2013/02/13 20\:30\:05\c" COMMENT:" \n" --vertical-label='kilobytes' --slope-mode --font TITLE:10: --font AXIS:7: --font LEGEND:8: --font UNIT:7: DEF:a="/usr/share/cacti/rra/localhost_mem_buffers_3.rrd":'mem_buffers':AVERAGE DEF:b="/usr/share/cacti/rra/localhost_mem_swap_4.rrd":'mem_swap':AVERAGE AREA:a#FF4105FF:"Free" GPRINT:a:LAST:"Current\:%8.2lf %s" GPRINT:a:AVERAGE:"Average\:%8.2lf %s" GPRINT:a:MAX:"Maximum\:%8.2lf %s\n" AREA:b#FFC73BFF:"Swap":STACK GPRINT:b:LAST:"Current\:%8.2lf %s" GPRINT:b:AVERAGE:"Average\:%8.2lf %s" GPRINT:b:MAX:"Maximum\:%8.2lf %s\n"
02/13/2013 08:30:05 PM - WEBLOG: Poller[0] CACTI2RRD: /usr/bin/rrdtool graph - --imgformat=PNG --start=1360697405 --end=1360783805 --title='Localhost - Load Average' --rigid --base=1000 --height=120 --width=500 --alt-autoscale-max --lower-limit='0' --units-exponent='0' COMMENT:"From 2013/02/12 20\:30\:05 To 2013/02/13 20\:30\:05\c" COMMENT:" \n" --vertical-label='processes in the run queue' --slope-mode --font TITLE:10: --font AXIS:7: --font LEGEND:8: --font UNIT:7: DEF:a="/usr/share/cacti/rra/localhost_load_1min_5.rrd":'load_1min':AVERAGE DEF:b="/usr/share/cacti/rra/localhost_load_1min_5.rrd":'load_5min':AVERAGE DEF:c="/usr/share/cacti/rra/localhost_load_1min_5.rrd":'load_15min':AVERAGE CDEF:cdefg='TIME,1360783505,GT,a,a,UN,0,a,IF,IF,TIME,1360783505,GT,b,b,UN,0,b,IF,IF,TIME,1360783505,GT,c,c,UN,0,c,IF,IF,+,+' AREA:a#EACC00FF:"1 Minute Average" GPRINT:a:LAST:" Current\:%8.2lf\n" AREA:b#EA8F00FF:"5 Minute Average":STACK GPRINT:b:LAST:" Current\:%8.2lf\n" AREA:c#FF0000FF:"15 Minute Average":STACK GPRINT:c:LAST:"Current\:%8.2lf\n" LINE1:cdefg#000000FF:""
02/13/2013 08:30:05 PM - WEBLOG: Poller[0] CACTI2RRD: /usr/bin/rrdtool graph - --imgformat=PNG --start=1360697405 --end=1360783805 --title='Localhost - Logged in Users' --rigid --base=1000 --height=120 --width=500 --alt-autoscale-max --lower-limit='0' COMMENT:"From 2013/02/12 20\:30\:05 To 2013/02/13 20\:30\:05\c" COMMENT:" \n" --vertical-label='users' --slope-mode --font TITLE:10: --font AXIS:7: --font LEGEND:8: --font UNIT:7: DEF:a="/usr/share/cacti/rra/localhost_users_6.rrd":'users':AVERAGE AREA:a#4668E4FF:"Users" GPRINT:a:LAST:"Current\:%8.0lf" GPRINT:a:AVERAGE:"Average\:%8.0lf" GPRINT:a:MAX:"Maximum\:%8.0lf\n"
02/13/2013 08:30:05 PM - WEBLOG: Poller[0] CACTI2RRD: /usr/bin/rrdtool graph - --imgformat=PNG --start=1360697405 --end=1360783805 --title='Localhost - Processes' --base=1000 --height=120 --width=500 --alt-autoscale-max --lower-limit='0' COMMENT:"From 2013/02/12 20\:30\:05 To 2013/02/13 20\:30\:05\c" COMMENT:" \n" --vertical-label='processes' --slope-mode --font TITLE:10: --font AXIS:7: --font LEGEND:8: --font UNIT:7: DEF:a="/usr/share/cacti/rra/localhost_proc_7.rrd":'proc':AVERAGE AREA:a#F51D30FF:"Running Processes" GPRINT:a:LAST:"Current\:%8.0lf" GPRINT:a:AVERAGE:"Average\:%8.0lf" GPRINT:a:MAX:"Maximum\:%8.0lf\n"
02/13/2013 08:30:06 PM - WEBLOG: Poller[0] CACTI2RRD: /usr/bin/rrdtool graph - --imgformat=PNG --start=1360697406 --end=1360783806 --title='Localhost - Memory Usage' --rigid --base=1000 --height=120 --width=500 --alt-autoscale-max --lower-limit='0' COMMENT:"From 2013/02/12 20\:30\:06 To 2013/02/13 20\:30\:06\c" COMMENT:" \n" --vertical-label='kilobytes' --slope-mode --font TITLE:10: --font AXIS:7: --font LEGEND:8: --font UNIT:7: DEF:a="/usr/share/cacti/rra/localhost_mem_buffers_3.rrd":'mem_buffers':AVERAGE DEF:b="/usr/share/cacti/rra/localhost_mem_swap_4.rrd":'mem_swap':AVERAGE AREA:a#FF4105FF:"Free" GPRINT:a:LAST:"Current\:%8.2lf %s" GPRINT:a:AVERAGE:"Average\:%8.2lf %s" GPRINT:a:MAX:"Maximum\:%8.2lf %s\n" AREA:b#FFC73BFF:"Swap":STACK GPRINT:b:LAST:"Current\:%8.2lf %s" GPRINT:b:AVERAGE:"Average\:%8.2lf %s" GPRINT:b:MAX:"Maximum\:%8.2lf %s\n"
02/13/2013 08:30:06 PM - WEBLOG: Poller[0] CACTI2RRD: /usr/bin/rrdtool graph - --imgformat=PNG --start=1360697406 --end=1360783806 --title='Localhost - Load Average' --rigid --base=1000 --height=120 --width=500 --alt-autoscale-max --lower-limit='0' --units-exponent='0' COMMENT:"From 2013/02/12 20\:30\:06 To 2013/02/13 20\:30\:06\c" COMMENT:" \n" --vertical-label='processes in the run queue' --slope-mode --font TITLE:10: --font AXIS:7: --font LEGEND:8: --font UNIT:7: DEF:a="/usr/share/cacti/rra/localhost_load_1min_5.rrd":'load_1min':AVERAGE DEF:b="/usr/share/cacti/rra/localhost_load_1min_5.rrd":'load_5min':AVERAGE DEF:c="/usr/share/cacti/rra/localhost_load_1min_5.rrd":'load_15min':AVERAGE CDEF:cdefg='TIME,1360783506,GT,a,a,UN,0,a,IF,IF,TIME,1360783506,GT,b,b,UN,0,b,IF,IF,TIME,1360783506,GT,c,c,UN,0,c,IF,IF,+,+' AREA:a#EACC00FF:"1 Minute Average" GPRINT:a:LAST:" Current\:%8.2lf\n" AREA:b#EA8F00FF:"5 Minute Average":STACK GPRINT:b:LAST:" Current\:%8.2lf\n" AREA:c#FF0000FF:"15 Minute Average":STACK GPRINT:c:LAST:"Current\:%8.2lf\n" LINE1:cdefg#000000FF:""
02/13/2013 08:30:06 PM - WEBLOG: Poller[0] CACTI2RRD: /usr/bin/rrdtool graph - --imgformat=PNG --start=1360697406 --end=1360783806 --title='Localhost - Logged in Users' --rigid --base=1000 --height=120 --width=500 --alt-autoscale-max --lower-limit='0' COMMENT:"From 2013/02/12 20\:30\:06 To 2013/02/13 20\:30\:06\c" COMMENT:" \n" --vertical-label='users' --slope-mode --font TITLE:10: --font AXIS:7: --font LEGEND:8: --font UNIT:7: DEF:a="/usr/share/cacti/rra/localhost_users_6.rrd":'users':AVERAGE AREA:a#4668E4FF:"Users" GPRINT:a:LAST:"Current\:%8.0lf" GPRINT:a:AVERAGE:"Average\:%8.0lf" GPRINT:a:MAX:"Maximum\:%8.0lf\n"
02/13/2013 08:30:07 PM - WEBLOG: Poller[0] CACTI2RRD: /usr/bin/rrdtool graph - --imgformat=PNG --start=1360697406 --end=1360783806 --title='Localhost - Processes' --base=1000 --height=120 --width=500 --alt-autoscale-max --lower-limit='0' COMMENT:"From 2013/02/12 20\:30\:06 To 2013/02/13 20\:30\:06\c" COMMENT:" \n" --vertical-label='processes' --slope-mode --font TITLE:10: --font AXIS:7: --font LEGEND:8: --font UNIT:7: DEF:a="/usr/share/cacti/rra/localhost_proc_7.rrd":'proc':AVERAGE AREA:a#F51D30FF:"Running Processes" GPRINT:a:LAST:"Current\:%8.0lf" GPRINT:a:AVERAGE:"Average\:%8.0lf" GPRINT:a:MAX:"Maximum\:%8.0lf\n"
02/13/2013 08:30:08 PM - WEBLOG: Poller[0] CACTI2RRD: /usr/bin/rrdtool graph - --imgformat=PNG --start=1360697407 --end=1360783807 --title='Localhost - Memory Usage' --rigid --base=1000 --height=120 --width=500 --alt-autoscale-max --lower-limit='0' COMMENT:"From 2013/02/12 20\:30\:07 To 2013/02/13 20\:30\:07\c" COMMENT:" \n" --vertical-label='kilobytes' --slope-mode --font TITLE:10: --font AXIS:7: --font LEGEND:8: --font UNIT:7: DEF:a="/usr/share/cacti/rra/localhost_mem_buffers_3.rrd":'mem_buffers':AVERAGE DEF:b="/usr/share/cacti/rra/localhost_mem_swap_4.rrd":'mem_swap':AVERAGE AREA:a#FF4105FF:"Free" GPRINT:a:LAST:"Current\:%8.2lf %s" GPRINT:a:AVERAGE:"Average\:%8.2lf %s" GPRINT:a:MAX:"Maximum\:%8.2lf %s\n" AREA:b#FFC73BFF:"Swap":STACK GPRINT:b:LAST:"Current\:%8.2lf %s" GPRINT:b:AVERAGE:"Average\:%8.2lf %s" GPRINT:b:MAX:"Maximum\:%8.2lf %s\n"
02/13/2013 08:30:08 PM - WEBLOG: Poller[0] CACTI2RRD: /usr/bin/rrdtool graph - --imgformat=PNG --start=1360697407 --end=1360783807 --title='Localhost - Load Average' --rigid --base=1000 --height=120 --width=500 --alt-autoscale-max --lower-limit='0' --units-exponent='0' COMMENT:"From 2013/02/12 20\:30\:07 To 2013/02/13 20\:30\:07\c" COMMENT:" \n" --vertical-label='processes in the run queue' --slope-mode --font TITLE:10: --font AXIS:7: --font LEGEND:8: --font UNIT:7: DEF:a="/usr/share/cacti/rra/localhost_load_1min_5.rrd":'load_1min':AVERAGE DEF:b="/usr/share/cacti/rra/localhost_load_1min_5.rrd":'load_5min':AVERAGE DEF:c="/usr/share/cacti/rra/localhost_load_1min_5.rrd":'load_15min':AVERAGE CDEF:cdefg='TIME,1360783508,GT,a,a,UN,0,a,IF,IF,TIME,1360783508,GT,b,b,UN,0,b,IF,IF,TIME,1360783508,GT,c,c,UN,0,c,IF,IF,+,+' AREA:a#EACC00FF:"1 Minute Average" GPRINT:a:LAST:" Current\:%8.2lf\n" AREA:b#EA8F00FF:"5 Minute Average":STACK GPRINT:b:LAST:" Current\:%8.2lf\n" AREA:c#FF0000FF:"15 Minute Average":STACK GPRINT:c:LAST:"Current\:%8.2lf\n" LINE1:cdefg#000000FF:""
02/13/2013 08:30:08 PM - WEBLOG: Poller[0] CACTI2RRD: /usr/bin/rrdtool graph - --imgformat=PNG --start=1360697407 --end=1360783807 --title='Localhost - Logged in Users' --rigid --base=1000 --height=120 --width=500 --alt-autoscale-max --lower-limit='0' COMMENT:"From 2013/02/12 20\:30\:07 To 2013/02/13 20\:30\:07\c" COMMENT:" \n" --vertical-label='users' --slope-mode --font TITLE:10: --font AXIS:7: --font LEGEND:8: --font UNIT:7: DEF:a="/usr/share/cacti/rra/localhost_users_6.rrd":'users':AVERAGE AREA:a#4668E4FF:"Users" GPRINT:a:LAST:"Current\:%8.0lf" GPRINT:a:AVERAGE:"Average\:%8.0lf" GPRINT:a:MAX:"Maximum\:%8.0lf\n"
02/13/2013 08:30:08 PM - WEBLOG: Poller[0] CACTI2RRD: /usr/bin/rrdtool graph - --imgformat=PNG --start=1360697407 --end=1360783807 --title='Localhost - Processes' --base=1000 --height=120 --width=500 --alt-autoscale-max --lower-limit='0' COMMENT:"From 2013/02/12 20\:30\:07 To 2013/02/13 20\:30\:07\c" COMMENT:" \n" --vertical-label='processes' --slope-mode --font TITLE:10: --font AXIS:7: --font LEGEND:8: --font UNIT:7: DEF:a="/usr/share/cacti/rra/localhost_proc_7.rrd":'proc':AVERAGE AREA:a#F51D30FF:"Running Processes" GPRINT:a:LAST:"Current\:%8.0lf" GPRINT:a:AVERAGE:"Average\:%8.0lf" GPRINT:a:MAX:"Maximum\:%8.0lf\n"
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest