International System of Units (SI)
2012年8月24日星期五
Cacti • View topic - [INFO] What is this 'm' or 'u' after my numbers in graphs??
'via Blog this'
Reference: http://physics.nist.gov/cuu/Units/prefixes.html
10^-18 a - atto
10^-15 f - femto
10^-12 p - pico
10^-9 n - nano
10^-6 u - micro
10^-3 m - milli
0 (no unit)
10^3 k - kilo
10^6 M - mega
10^9 G - giga
10^12 T - tera
10^15 P - peta
'via Blog this'
Reference: http://physics.nist.gov/cuu/Units/prefixes.html
Setup Cacti on EC2 Amazon Linux AMI
2012年8月17日星期五
- Install Nginx
sudo yum install nginx
config nginx:
server {listen 8080;server_name monitor.domain.com;root /usr/share/cacti/;index index.php index.html;try_files $uri $uri/ /index.php;location ~ \.php$ {fastcgi_pass unix:/tmp/php5-fpm.sock;fastcgi_index index.php;fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;include fastcgi_params;}location ~* \.(?:ico|css|js|gif|jpe?g|png)$ {expires max;add_header Pragma public;add_header Cache-Control "public, must-revalidate, proxy-revalidate";}}
- Install php-fpm
sudo yum install php-fpm
config php-fpm: /etc/php-fpm.d/www.conf
listen = /tmp/php5-fpm.sock
/etc/init.d/php-fpm start
- Install Cacti
sudo yum install cacti
update database in: /etc/cacti/db.php
- Setup Cacti spine
sudo yum install net-snmp-devel
http://www.cacti.net/spine_install_rhlnx.php
tar xvzf cacti-spine-0.8.7.tar.gzcd spine-0.8.7./configuremake
Open: http://monitor.domain.com, login with admin/admin
Console->Settings->Paths, Set Spine Poller File Path to: /usr/local/spine/bin/spine
Console->Settings->Poller, Set Poller Type to: spine
- Config SNMPD
sudo vi /etc/snmp/snmpd.conf
access notConfigGroup "" any noauth exact all none none
view all included .1 80
sudo /etc/init.d/snmpd restart
snmpwalk -v 2c -c public your_remote_ip system
snmpwalk -v 2c -c public your_remote_ip if
Reference:
http://www.cnblogs.com/taosim/articles/2557762.html
http://docs.cacti.net/manual:087:4_help.2_debugging#debugging
- View graphs