Solved

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

Posted on 2014-04-10
7
451 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
  • 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
Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

 

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

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
linux date/time setting via python 6 54
nagios alerts 3 32
How to learn Linux? 10 42
Backup & Restore 3 46
Over the last ten+ years I have seen Linux configuration tools come and go. In the early days there was the tried-and-true, all-powerful linuxconf that many thought would remain the one and only Linux configuration tool until the end of times. Well,…
The purpose of this article is to demonstrate how we can use conditional statements using Python.
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

912 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now