Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

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

Posted on 2014-04-10
7
Medium Priority
?
471 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 1500 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 1500 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
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

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 1500 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 1500 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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
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
Course of the Month11 days, 10 hours left to enroll

916 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