Fping Install Windows

OVERVIEW

Runs on Linux, Mac OS and MS Windows. Route tracing capabilities. Highly customizable. Free and open-source. Man page for full details on using these features. Downloading and Installing Nping. Download Nping for Windows, Linux, or Mac OS X as part of Nmap from the Nmap download page. Source code can be downloaded there as well. Fping Install Windows Rating: 5,5/10 2140 votes Testing your Internet connection or your IP address response can be made by using the Windows 'Ping' tool. Nevertheless, there are other alternatives that offer extra features.

This document explains how to setup SmokePing at your site.

DESCRIPTION

Prerequisites

SmokePing does not stand alone.It relies on various other tools and services being present.Apart from a Unix OS and a working Perl installation you need the following components:

RRDtool 1.2.x or later

Smokeping uses RRDtool for logging and graphing.If your linux distro provides an rrdtool package with perl support,use this.If you want to get the latest and greatest version,compile your own: http://oss.oetiker.ch/rrdtool/

Ubuntu:

RedHat:

FPing (optional)

Go to http://www.fping.org/ to grab a copy.

Note that fping must be installed setuid root. It seems that older versions of fping report round trip times in 0.1 milliseconds instead of 1 milliseconds as advertised ... SmokePing tries to figure this out. It tells you when it starts ... let me know if it gets it wrong.

EchoPing (Optional)

You need this to run the EchoPing probes

Curl (Optional)

You need this for the Curl probe.

dig (Optional)

You need this for the DNS probe.

SSH (Optional)

You need this for the SSH probe.

Webserver

Well I won't get much into this. The important thing is, to have a webserver which allows you to run CGI and preferably FastCGI scripts. If you are using Apache I strongly recommend using the suexec system for running CGI scripts as a particular user.

See http://httpd.apache.org/mod_fcgid/mod/mod_fcgid.html and http://httpd.apache.org/docs/2.2/mod/mod_suexec.html for more information on this.

Perl 5.10.1 or later.

If you still have an older version, maybe have a look at perlbrew.

Ubuntu:

RedHat:

Installation

Once the tools listed above are in place, you can start setting up SmokePing itself. Unpack the tar archive and run the included configure script:

Configure will verify that all the required perl modules are available. If some are missing it will tell you to run the module build script. Just follow the instructions on screen and then run configure again. Once it completes, you can run

to finish your setup.

Configuration

Use the etc/config.dist file as a template to create your own smokeping configuration file. See smokeping_config for details.

Installing the webinterface

Copy the content of the PREFIX/htdocs directory to the place where your webserver expects its data. Maybe to /var/www/smokeping.

Edit the smokeping.fcgi script to point to your smokeping_cgi script.

If you have no FastCGI support in your webserver, you may want to use the smokeping.cgi script.

etc/basepage.html

Edit the html template to your liking. Please do not remove the link to the SmokePing counter and my name from the template. The content of the template will be rendered by smokeping.cgi. This means that all embedded links must be relative to smokeping.cgi. If you are using HTTP authentication, then the template variable authuser will be populated from the $ENV{REMOTE_USER} environment variable.

etc/smokemail

If you are going to use the DYNAMIC IP support, customize the contents of this file.

Starting the Smokeping Daemon

With all the scaffolding in place, you can now launch the smokeping daemon and have it gather data for you. First you may want to run it in debug mode to see what it is doing

once all is well, start it up as a daemon. I would recommend you enable the logfile option so that you can see if it runs into trouble.

Fping Exe

Once the system works, you may want to put a SmokePing startup script into your /etc/init.d tree. Check out smokeping for further information.

You can now open the smokeping.cgi webpage to look at your data.

See the smokeping_cgi documentation on how to setup the smokeping web interface.

COPYRIGHT

Copyright (c) 2001, 2011 by Tobias Oetiker. All right reserved.

LICENSE

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

Fping Install Windows 7

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.

Install Fping Windows

AUTHOR

Tobias Oetiker <tobi@oetiker.ch>

疎通確認コマンドといえば、OSに標準で搭載されているpingコマンドを用いることが多いと思う。しかし、pingは1回のコマンドで1ホストに対して疎通確認を行う。そのため、大量のホストに対しfor文などで疎通確認を行う場合、1ホスト1ホストに対し確認を進めていく事から結構な時間がかかってしまう。

そこで、オープンソースの監視ツール『Zabiix』で疎通監視に使われている、同時並行でpingを行ってくれるコマンド「fping」について記述することにする。

まずはインストールから。各OSごとにインストールを行う。

Debian/Ubuntu

以下のコマンドを実行することでインストールできる。

RHEL系Linux

以下のコマンドを実行することでインストールできる。

Windows

こちらのリンクからzipファイルをダウンロードし、自身のOSにあわせてx64、x86のフォルダ内にある実行ファイルをPATHの通っている場所(「C:Windows」フォルダなど)にコピーする。

さて、まずはfpingのヘルプを見てみよう。ヘルプはLinuxの内容を表示させている。

Install

それでは、実際に使ってみよう。fpingでは、対象となるホスト名(IPアドレス)を記述したファイルを参照させてpingを並行実施させていく。以下の例では、ホスト名を記述した「hostip.list」をfpingで実行させている。

この時表示される「ICMP~」から始まるメッセージを非表示にする場合は、「2>/dev/null」をつけてコマンドを実行すればいい。

うーん、結構便利かも。「-l」オプションをつければ連続確認も行えるし。