Solved

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

Posted on 2014-04-10
7
457 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
What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

 

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

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!

Question has a verified solution.

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

Daily system administration tasks often require administrators to connect remote systems. But allowing these remote systems to accept passwords makes these systems vulnerable to the risk of brute-force password guessing attacks. Furthermore there ar…
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 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.:
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…

685 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