Solved

How to Monitor remote User Internet connection via Remote Cisco Switch in Centreon/Nagios

Posted on 2014-04-10
7
460 Views
Last Modified: 2014-06-02
Hi All,

We have a remote user connected via VSAT to our Office.
We provide internet connection to the user at Home.
Now from our mionitoring Platform (Centreo/nagios) we want to monitor is internet connection from his side.

How can we do that with Nagios with the help of the the user Cisco Switch residing in his house.
0
Comment
Question by:cismoney
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
7 Comments
 
LVL 18

Accepted Solution

by:
Sanga Collins earned 500 total points
ID: 39991696
If the user has a static IP address, you can just monitor that with a simple check_host for outages. If they do not have a static IP address you may need setup a dynamic dns type service and monitor the host name for uptime

http://www.noip.com/free/
0
 

Author Comment

by:cismoney
ID: 40015398
Hi Sangamc,
Is not the user that I want to monitor is rather the internet connection status of the User.
0
 
LVL 18

Assisted Solution

by:Sanga Collins
Sanga Collins earned 500 total points
ID: 40015460
Hi cismoney, I should have clarified. If the internet connection at the users home has a static IP address, you can monitor that directly. If they do not, you can setup a service such as no-ip that will give you a dynamic hostname that you can monitor with nagios check_host command.
0
Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

 

Author Comment

by:cismoney
ID: 40040849
Hi Sangamc,

thx once again for ur reply.
The user is only having a laptop at home and even when he is absent we need to know his internet status.
he is having a Cisco switch.
My First Plan is to remotely connect to the switch and check internet access and let the switch return a status. I heard about a linux tool call "Expect" that can help in this process.
I tried it and was able to automatically login to the switch and bring status. but how to integrate that to Nagios (Centreon) is what im looking at.
0
 
LVL 18

Assisted Solution

by:Sanga Collins
Sanga Collins earned 500 total points
ID: 40042392
expect is a tool that allows you to script commands based on the response you are 'expecting' to get. I am not sure how this will help in this situation. since you are communicating with a switch and not a linux server on the remote side.

If you already can connect to his cisco switch from outside the users network, then using Nagios snmp plugin will give you the best results. It will not only show if the internet is up or down, but it will also give you bandwidth results that can be use to make an RRD graph.
0
 

Author Comment

by:cismoney
ID: 40058791
Hi Man,

How to use Nagios snmp plugin to check the internet status on the switch?
Does the plugin existe?
0
 
LVL 18

Assisted Solution

by:Sanga Collins
Sanga Collins earned 500 total points
ID: 40059908
You can use a MIB browser to query the switch and view all the results. One of the values should be for port status. You can then use nagios sNMP plugin to send and SNMP request for port status from the switch which will show either up or down if there is no internet.
0

Featured Post

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

How many times have you wanted to quickly do the same thing to a list but found yourself typing it again and again? I first figured out a small time saver with the up arrow to recall the last command but that can only get you so far if you have a bi…
Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Suggested Courses

738 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question