http://myconfigure.blogspot.in/2013/02/the-easiest-way-to-install-cacti-on.html
1. Realtime Graph - Download Real time plugin and put it on according location then install form your cacti settings.
and you should make a new folder of "Cache_Realtime" from "c:\apache2\htdocs\cacti\plugins\realtime\"
next we want to set permission for this directory. like go to settings -> Misc -> cache Directory here pase "c:\apache2\htdocs\cacti\plugins\realtime\Cache_Realtime"
then save. after you can get realtime graph.
2.Add Windows PC - Should enable SNMP in windows features.
From SNMP properties want to add community name in security tab
2.1.For local PC Select - Accept SNMP packets from these host
2.2 You want from network PC the select - Accept SNMP packets from any host
for more here
3.Reportit
needed - reportit pluging, report templates,
4.Setting plugin for mail/dns
-------------------------------------------------------------------------------------------------------------------
Install cacti in centos and video
Install php,mysql,httpd refer my link
#cd /var/www/html/
#wget http://www.cacti.net/download/....
#tar -xzvf cacti....tar.gz
#mv cacti-0.8.8h cacti
#cd cacti/
#ls -lah //here you can see the file under user control
#cd ..
html# chown -R root cacti
#cd cacti/
cacti#ls -lah // here you see the files under root control
http://localhost/cacti // here you see fatal : cannot connect MySQL
# mysql -u root -p
mysql> create database cacti;
mysql> GRANT ALL ON cacti.* TO cacti@localhost IDENTIFIED BY 'password';
mysql> show databases;
+--------------------+
| Database |
+--------------------+
| information_schema |
| cacti |
| mysql |
| test |
+--------------------+
4 rows in set (0.01 sec)
mysql> quit
Bye
db name cacti
username cacti
password password
# cd /var/www/html/cacti/
# yum install net-snmp-utils php-snmp net-snmp-libs
# mv /etc/snmp/snmpd.conf snmpd.conf.org
# touch /etc/snmp/snmpd.conf
# chkconfig --level 235 snmpd on
# service snmpd start
Install rrdtool
#yum install rrdtool
http://localhost/cacti / //here you can see install page
SMTP Mail Configuration
Note : make sure Linux firewall has been disabled, (#service iptables save #service iptables stop #chkconfig iptables off)
for mail install setting plugings
If SMTP got error like "SMTP Authenication failure: 534-5.7.14" then use here
or had you got sslsmtpgmailcom-13-permission-denied-in.html error then refer here
5.If not visible the graph you have to do the followings
create a new account
cacti#useradd cacti
cacti#passwd cacti
cacti#ls -lha rra
cacti#chown cacti rra
cacti#ls -lha
cacti#crontab -u cacti -e (which is used for check every 5 minutes)
#minute (0-59),
#| hour (0-23),
#| | day of the month (1-31),
#| | | month of the year (1-12),
#| | | | day of the week (0-6 with 0=Sunday).
#| | | | | commands
*/5 * * * * /usr/bin/php /var/www/html/cacti/poller.php
save the file :wq!
cacti#crontab -u cacti -l
cacti#chown cacti log
cacti#ls -lah
cacti#ls -lah log
cacti#chown cacti log/cacti.log
cacti# php poller.php (if it not work let #php -a then php>filename.php)
now you got graph.
6. Dead host notification mail
setting-threshold-email option-dead host notification email (specify your destination mail)- save
7.TP-Link configuration
refer here
8. Manage - refer
this plugin :
11. cacti sms here
12. integrate ntop with cacti
download and install ntop plugins after goto - console - user management - select admin - select "view NTop" then save
console - settings - misc - NTop url - "ipaddress:3000" - save
#yum install ntop*
integrate ntop refer
install ntop in centos 6.5 here
Coming......
refer
Mail notification install threshold -> settings -> threshold-> add ->select host->select your option
cereusreporting
download
just follow the user manual guide.
finally you can get cereus, if not please delete the plugins and add yourself again.
after generate report
HTTP ERROR 500 HERE
regarding 500 error if you need any time zone issue
install ioncube loader here
graph
host memory usage here - host memory -ucd/net memory usage or here
host mib loged user
host MIP process for - process counting
cup usage - here ucd/net cup usage (4way)
ethernet graph
disk io - here or here
linux host monitoring using snmpd here
from template drop down -- graph template not shown
1. Realtime Graph - Download Real time plugin and put it on according location then install form your cacti settings.
and you should make a new folder of "Cache_Realtime" from "c:\apache2\htdocs\cacti\plugins\realtime\"
next we want to set permission for this directory. like go to settings -> Misc -> cache Directory here pase "c:\apache2\htdocs\cacti\plugins\realtime\Cache_Realtime"
then save. after you can get realtime graph.
2.Add Windows PC - Should enable SNMP in windows features.
From SNMP properties want to add community name in security tab
2.1.For local PC Select - Accept SNMP packets from these host
2.2 You want from network PC the select - Accept SNMP packets from any host
for more here
3.Reportit
needed - reportit pluging, report templates,
4.Setting plugin for mail/dns
-------------------------------------------------------------------------------------------------------------------
Install cacti in centos and video
Install php,mysql,httpd refer my link
#cd /var/www/html/
#wget http://www.cacti.net/download/....
#tar -xzvf cacti....tar.gz
#mv cacti-0.8.8h cacti
#cd cacti/
#ls -lah //here you can see the file under user control
#cd ..
html# chown -R root cacti
#cd cacti/
cacti#ls -lah // here you see the files under root control
http://localhost/cacti // here you see fatal : cannot connect MySQL
# mysql -u root -p
mysql> create database cacti;
mysql> GRANT ALL ON cacti.* TO cacti@localhost IDENTIFIED BY 'password';
mysql> show databases;
+--------------------+
| Database |
+--------------------+
| information_schema |
| cacti |
| mysql |
| test |
+--------------------+
4 rows in set (0.01 sec)
Bye
username cacti
password password
# cd /var/www/html/cacti/
# vim include/config.php
$database_type = "mysql";
$database_default = "cacti";
$database_hostname = "localhost";
$database_username = "cacti";
$database_password = "password";
$database_port = "3306";
$database_ssl = false;
# mysql -u root -p cacti < cacti.sql
password:
#restart httpd
Install SNMP# yum install net-snmp-utils php-snmp net-snmp-libs
# mv /etc/snmp/snmpd.conf snmpd.conf.org
# touch /etc/snmp/snmpd.conf
# chkconfig --level 235 snmpd on
# service snmpd start
Install rrdtool
#yum install rrdtool
http://localhost/cacti / //here you can see install page
username admin/admin
SMTP Mail Configuration
Note : make sure Linux firewall has been disabled, (#service iptables save #service iptables stop #chkconfig iptables off)
for mail install setting plugings
If SMTP got error like "SMTP Authenication failure: 534-5.7.14" then use here
or had you got sslsmtpgmailcom-13-permission-denied-in.html error then refer here
5.If not visible the graph you have to do the followings
create a new account
cacti#useradd cacti
cacti#passwd cacti
cacti#ls -lha rra
cacti#chown cacti rra
cacti#ls -lha
cacti#crontab -u cacti -e (which is used for check every 5 minutes)
#minute (0-59),
#| hour (0-23),
#| | day of the month (1-31),
#| | | month of the year (1-12),
#| | | | day of the week (0-6 with 0=Sunday).
#| | | | | commands
*/5 * * * * /usr/bin/php /var/www/html/cacti/poller.php
cacti#crontab -u cacti -l
cacti#chown cacti log
cacti#ls -lah
cacti#ls -lah log
cacti#chown cacti log/cacti.log
cacti# php poller.php (if it not work let #php -a then php>filename.php)
now you got graph.
6. Dead host notification mail
setting-threshold-email option-dead host notification email (specify your destination mail)- save
7.TP-Link configuration
refer here
8. Manage - refer
this plugin :
- monitor hosts (like dead host notification in thold plugin)
- monitors TCP services
- alerts (by email, like thold)
- log each event in MYSQL, for reporting
in the future, it will :
- monitor UDP services and windows services
- alert with sound
- alert with local syslogging
- monitors TCP services
- alerts (by email, like thold)
- log each event in MYSQL, for reporting
in the future, it will :
- monitor UDP services and windows services
- alert with sound
- alert with local syslogging
11. cacti sms here
12. integrate ntop with cacti
download and install ntop plugins after goto - console - user management - select admin - select "view NTop" then save
console - settings - misc - NTop url - "ipaddress:3000" - save
#yum install ntop*
integrate ntop refer
install ntop in centos 6.5 here
refer
Mail notification install threshold -> settings -> threshold-> add ->select host->select your option
cereusreporting
download
just follow the user manual guide.
finally you can get cereus, if not please delete the plugins and add yourself again.
after generate report
Hi, looks like U must turn off CSRF check.
In cacti/site/include/csrf/csrf_magic.php put $GLOBALS['csrf']['defer'] = true;
In cacti/site/include/csrf/csrf_magic.php put $GLOBALS['csrf']['defer'] = true;
HTTP ERROR 500 HERE
regarding 500 error if you need any time zone issue
install ioncube loader here
graph
host memory usage here - host memory -ucd/net memory usage or here
host mib loged user
host MIP process for - process counting
cup usage - here ucd/net cup usage (4way)
ethernet graph
disk io - here or here
linux host monitoring using snmpd here
from template drop down -- graph template not shown
No comments:
Post a Comment