Monitoring Network Latency With Smokeping (Debian Etch) - Page 2
3.2 Advanced ExampleUntil now, we are only pinging servers, but it would be good if we could do some other tests as well (e.g. measure how fast a DNS server resolves a domain or measure HTTP latency). Therefore we open /etc/smokeping/config again and modify the *** Probes *** section. vi /etc/smokeping/config
As you see, we've now added tests for DNS (the lookup line should contain a domain/hostname that you'd like the name servers (that we still have to configure in Smokeping) to look up) and HTTP / FTP (using Curl). Now at the end of /etc/smokeping/config, we can add the name servers / HTTP servers / FTP servers we'd like to monitor (you can enable/disable tests by uncommenting them/commenting them out): vi /etc/smokeping/config
As you see, we are monitoring the name servers ns1.example.com and ns2.example.com using the DNS probe we've configured in the *** Probes *** section. We are also measuring the HTTP latency of server1.example.com and server2.example.com by using the Curl probe. If you like, you can also measure FTP latency using the Curl probe, but make sure that you specify a new urlformat for the FTP section (the default, urlformat = http://%host%/, is configured in the *** Probes *** section; for FTP it should be urlformat = ftp://%host%/). Restart Smokeping after your changes: /etc/init.d/smokeping restart After a few minutes, you should see some data for your new tests in the Smokeping web interface (http://www.example.com/cgi-bin/smokeping.cgi): You can read up on the Smokeping configuration and further configuration examples here: http://oss.oetiker.ch/smokeping/doc/smokeping_examples.en.html
4 DebuggingIf you think that Smokeping isn't working as expected, you can try to find the problem by running Smokeping in debug mode: /etc/init.d/smokeping stop
5 Links
|
www.seamlessenterprise.com
One number. One voicemail. Seize the lead. Sprint Mobile Integration.
www.seamlessenterprise.com
One Number. One Voicemail.
Make it easier for clients to reach you. Turn your desk phone and mobile phone into one with Sprint Mobile Integration.
www.seamlessenterprise.com
One number. One voicemail. Sprint Mobile Integration.
www.seamlessenterprise.com
AT&T Synaptic Compute as a Service. Boost your power on demand.
Trial: IBM Cognos Express Reporting, Analysis & Planning
Learn benefits of Simpana software.
View the Gartner Video








print: 

Recent comments
23 hours 29 sec ago
1 day 4 hours ago
1 day 11 hours ago
1 day 11 hours ago
1 day 14 hours ago
1 day 15 hours ago
1 day 18 hours ago
1 day 18 hours ago
1 day 18 hours ago
1 day 20 hours ago