Saturday, April 22, 2017

Setup PAC Manager in Ubuntu 14.04 (U14-TT) - Free Alternative to SecureCRT

If you are going to use Linux and free software you will need a SSH client like SecureCRT to access your network devices remotely. SecureCRT is a widely used industrial SSH client but it is not free. Of course you can use the Linux terminal itself but you will face limitations like session management etc. Here is the free solution, PAC Manager.  Actually it is more advanced than SecureCRT..

Be the root user..
sudo su

Download PAC Manager..
wget 'https://sourceforge.net/projects/pacmanager/files/pac-4.0/pac-4.5.5.7-all.deb/download'

Install the package..
dpkg -i download

If the installation process stopped due to a dependencies problem enter the following command..
apt-get install -f

Try Installing the package again..
dpkg -i download

Now open the app..





















Click on New Connection & give the ip address and the username, pw.. Save and Close.























Now click on the session name and you will log in..


Installing TeamViewer on Ubuntu 14.04 (U14-TT)

Download the TeamViewer from their website through your web browser and you can install it via GUI.. My preferred method is to use the CLI..

Be the root 1st..
sudo su

Download the file..
wget 'https://download.teamviewer.com/download/teamviewer_i386.deb'

Install the package..
dpkg -i teamviewer_i386.deb

If the installation process stopped due to a dependencies problem enter the following command..
apt-get install -f 

Try Installing the package again..
dpkg -i teamviewer_i386.deb


Add a Device in Cacti with SNMP v2c & Monitoring

If you want to install Cacti on U14-TT workstation, please refer this & if you want to how to add Monitor plugin please refer this.

I am  going to add a Cisco Router..

Log in to Cacti and go to Console -> Devices

Click Add at the upper right side corner..

Now Fill the blanks as following.. (click on the image to view in full size)
























Give the IP address of the Host name..
Tick Monitor Host..
Select ICMP Ping as Downed Device Detection & ICMP Ping as Ping Method..
Select Version 2 as SNMP version..
Give your Community String to SNMP Community..
Hit Save..

Now let's see the router side configuration..

Give the Community String with read-only rights..
R(config)#snmp-server community TEST r0

To allow SNMP traps to be sent to Cacti..
R(config)#snmp-server enable traps
R(config)#snmp-server host <ip address of Cacti> version 2c TEST

Friday, April 21, 2017

Add Monitor Plugin to Cacti on Ubuntu 14.04 (U14-TT)

Monitor plugin lets you to view the up/down status of your hosts at a glance.. It will sound an alarm when the devices go down using icmp pings or snmp up time..

If you want to install Cacti on U14-TT workstation, please refer this.

Be the root user 1st..
sudo su

Get the plugin..
wget "http://docs.cacti.net/_media/plugin:monitor-v1.3-1.tgz"

Rename the downloaded file..
mv plugin\:monitor-v1.3-1.tgz monitor-v1.3-1.tgz

Move the file to the plugins folder..
cp monitor-v1.3-1.tgz /usr/share/cacti/site/plugins

Change the directory to the plugins folder..
cd /usr/share/cacti/site/plugins

Unzip the folder..
tar -zvxf monitor-v1.3-1.tgz

Everything done so far is shown in the following capture...























Now log in to Cacti and go to Console -> Plugin Management
You will see something like below..


You can see the blue icon in actions column.. Click on it



















A new green icon will appear..
Click on it, it will turn to a red icon..



Now the plugin is added.. You will see a new tab for the plugin next to Console & Graphs..