Configuring Cacti 1. Install Cacti as per slides 2. Setup Cacti to SNMP query the class router by following Managment->Devices->Add 3. Then fill in the fields with Description: Gateway Router Hostname: 10.192.0.1 Host Template: Cisco Router Downed Device Detection: Ping and SNMP Uptime SNMP Version 2 SNMP Community: public then click "Create" You should see a large number next to the small green circle at the bottom. This along with no errors at the top of the page indicates that Cacti was successful in querying the router. 4. Next click "Create Graphs for this host" You would like to monitor ALL entries so click on the right hand top box to select all, then cleck Create, Next, repeat until all done. 5. In the left navigation bar look for "Managment" and click "Graph Trees" -> "Default Tree" -> "Add". 6. Click on pull down box labeled Header and select Host. Then select the device you just configured ("Gateway Router") and click Create. 7. Click on the Graphs tab on the top of the web page and click on the Gateway Router in the left navigation panel. In a a few minutes, graphs for every interface o the router should become visible and in a short tme start showing a plot. You may want to click Thumbnails to get more graphs on a single screen. 8. Now lets setup SNMP on our DNS server so that we can monitor it as well. Log into your DNS server (10.X.2.2) and edit /etc/snmp/snmpd.conf 9. Comment out agentAddress udp:127.0.0.1:161 by adding a # at the begining of the line. Similarly uncomment #agentAddress udp:161,udp6:[::1]:161 and add rocommunity public default and comment out rocommunity public default -V systemonly 10. sudo service snmpd restart You may want to check any firewall rules in iptables to make sure port 161 for SNMP is able to accept packets from 10.X.1.2. 11. Goto back to your NOC's Cacti web page (10.X.1.2/cacti) and add another device by clicking o the Console tab and clicking on Devices -> Add. This time enter tldXdns for Description, your DNS's IP address 10.X.2.2 for Hostname and "ucd/net SNMP Host" for Host Template. Other entries as before. 12. Click on "Create Graphs for this Host" and check CPU Usage eth0 / Then cick Create 13. Finally add the device to the default tree as before (Graph Trees -> Default Tree -> Add -> Host -> tldXdns -> Create) Click on the Graphs Tab to see the new plots for your DNS server.