ls0398 发表于 2018-10-24 09:42:40

Install Cacti on Ubuntu 14.04 Server

  Based on Ubuntu 14.04 Server
  1. aptitude -y install snmpd cacti cacti-spine
  vi /etc/hosts
  vi /etc/apache2/apache2.conf
  ServerName xxx
  service apache2 restart
  vi /etc/snmp/snmpd.conf
  #Listen for connections from the local system only
  #agentAddressudp:127.0.0.1:161
  #Listen for connections on all interfaces (both IPv4 *and* IPv6)
  agentAddress udp:161,udp6:[::1]:161
  #view   systemonlyincluded   .1.3.6.1.2.1.1
  view   systemonlyincluded   .1
  #view   systemonlyincluded   .1.3.6.1.2.1.25.1
  service snmpd restart
  2. to first configure cacti
  http:///cacti
  default login: admin/admin
  3. general configration



  4. add cacti server for monitoring



  5. add to Graph Tree
  6. install realtime plugins
  cd /usr/share/cacti/site/plugins
  wget http://docs.cacti.net/_media/plugin:realtime-v0.5-2.tgz
  mv plugin\:realtime-v0.5-2.tgz realtime-v0.5-2.tgz
  tar zxf realtime-v0.5-2.tgz
  cd realtime
  mkdir cache; chmod 777 cache

页: [1]
查看完整版本: Install Cacti on Ubuntu 14.04 Server