Solved

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

Posted on 2014-04-10
7
448 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
How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

 

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 Microsoft Windows PC® & Mac Backup

Backup and recovery solutions to protect all your PCs & Mac– on-premises or in remote locations. Acronis backs up entire PC or Mac with patented reliable disk imaging technology and you will be able to restore workstations to a new, dissimilar hardware in minutes.

Join & Write a Comment

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,…
If you have a server on collocation with the super-fast CPU, that doesn't mean that you get it running at full power. Here is a preamble. When doing inventory of Linux servers, that I'm administering, I've found that some of them are running on l…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
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…

759 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

22 Experts available now in Live!

Get 1:1 Help Now