Post details: Monitoring Internet Connectivity

04/08/05

Permalink 10:09:27 am, Categories: Work, 224 words   English (US)

Monitoring Internet Connectivity

I've been using Nagios at work for network monitoring. I honestly wish this was still called Netsaint, as I sound like an idiot trying to pronounce Nagios.

Anyhow, it's a great system that works very well. I have it currently installed behind our firewall on a private IP. We have 2 T1s, one through Bellsouth, and one through Qwest. The default gateway for the monitoring system is through the Bellsouth T1.

I would like it to monitor connectivity through both T1s and was thinking how to do this. Our routers are actually Linux boxes, so one way I was thinking is I could use the 'check_by_ssh' plugin to execute a network connectivity test directly on each router, by doing something like a wget to www.google.com.

Another way is I setup a static route for some external website to go through the Qwest T1. Let's say I use www.cnn.com for the Qwest T1 check. Looking up their IP I could add their address block to a static route:

route add -net 64.236.16.0 netmask 255.255.240.0 gw QWEST_FW

I decided to do the route method. It's not great, since cnn could change their IPs anytime, and also just because cnn is not accessible doesn't mean the Internet connectivity is down. But we had no monitoring in place so I wanted something.

Comments, Pingbacks:

Comment from: Randall Hand [Visitor] · http://www.yeraze.com
Just a thought, but why not use the root DNS servers

ftp://ftp.rs.internic.net/domain/named.root

Those IP's never change.
Permalink 04/08/05 @ 10:31
Comment from: valankar [Member] · http://www.viraj.org/
Hmm, might be a good idea. I could check connectivity by connecting to TCP port 53.
Permalink 04/08/05 @ 14:41
Comment from: pete [Visitor]
Another public name server is 4.2.2.1 (and 4.2.2.2 I believe); these never change and should be accessible everywhere.

Does Nagios run traceroutes or other investigatory tests when it finds a downed host? I might like using this at my house...
Permalink 04/18/05 @ 15:45

Leave a comment:


Warning: touch() [function.touch]: Unable to create file /hsphere/local/home/valankar/viraj.org/_tmp/hn_captcha_counter.txt because No such file or directory in /hsphere/local/home/valankar/viraj.org/b2evolution/blogs/skins/hn_captcha.class.x1.php on line 209

Warning: touch() [function.touch]: Unable to create file /hsphere/local/home/valankar/viraj.org/_tmp/hn_captcha_counter.txt because No such file or directory in /hsphere/local/home/valankar/viraj.org/b2evolution/blogs/skins/hn_captcha.class.x1.php on line 209


An ERROR has occured!
Here you might send email-notification to webmaster or something like that.

Unable to safe captcha-image.