= Cacti = Through this hands-on you will install cacti monitoring system and create device entry for your workshop router and switch. You will also create graphs and arrange a graph hierarchy. Finally you will install some cacti plug-ins. == Installation == You can easily install cacti by following {{{ # apt-get install cacti }}} * While the installation process you will be ask for a '''password''' for mysql server. Please give the ''''''. * Select '''Apache2''' as the webserver type * Select '''Yes''' to Configure database for cacti with dbconfig-common? * Again give the '''''' for the database administrative user. * You have complete the cacti installation. open a web browser in your host PC and give the following url. '''http:///cacti''' * Click '''next''' * Select '''New Install''' and click '''next''' * Click '''Finish''' and you will be directed to the cacti login page * Use default username and password to login User name : '''admin''' Password : '''admin''' * Now you have logged in to cacti monitoring system. == Configuration == === Change admin password === * First click to '''Console''' tab. Then click on '''User Management''' on the left side bar. * In the User Management page click on the user name '''admin'''. * In the password text box give the and click '''Save'''. === Cacti Graphs === * Click the '''Graphs''' tab. You will see '''Default Tree''' Icon on the side bar. * expand it click on the '''localhost''' icon. You will see some graphs. (Might not have any values as it take time to generate values) * These graphs will show the values of your VM. === Adding Devices === * Go to '''Console''' and click the '''Devices'''. * Click '''Add''' on the devices page. Now you can add the workshop router and the work shop switch and you will be directed to the add devices page. First add the Workshop Switch * Give following settings description : '''workshp_sw''' Hostname : '''192.248.7.249''' Host Template : '''Generic SNMP-enabled Host''' Number of Collection Threads : '''1''' Downed Device Detection : '''Ping''' Ping Method : '''ICMP Ping''' SNMP Version : '''version 2''' SNMP Community : '''NetManage''' * Click '''Create''' and then click '''Save''' * You can add the workshop router as with the same settings with the correct IP address === Creating Graphs === * Go to '''Console''' and click the '''New Graphs'''. * Select '''workshp_sw''' and it will show you all the available graphs. Also you can create new graphs from graphs template. * To create a graph select