Giter VIP home page Giter VIP logo

icmp_daemon's Introduction

#icmp_daemon

ICMP ping-daemon and services for nagios (for linux )

The daemon accepts requests to check availability hosts. Request parameters: host address (ipv4 or ipv6), checking interval (seconds) and the maximum testing time (seconds). The first query returns results about first answer from the host and complete statistics about answers from host for all these queries. During the time between requests collected statistics on the minimum, average, and maximum response time, the number of the transmitted and received packets, the number of state changes. The number of tested hosts is not limited.

The client is fully compatible by options with check_icmp from nagios_plugins.

For daemon server, you can restrict the list of addresses from which requests are allowed.

#Build and Install make
make install

By default
ping_server install to /usr/local/bin as ping_server
ping_client install to /usr/libexec as check_icmp_daemon

#System require

sysctl net.ipv4.ping\_group\_range="X X"  
sysctl net.ipv6.ping\_group\_range="X X"

X is numeric group-ID (see "nagios_group=" in nagios.cfg)

#nagios service

Example to replace the standard host command "check-host-alive".

define command {
  command_name check_icmps
  # ping interval 5 sec, max. testing time 250 sec
  command_line    /usr/libexec/check_icmp_daemon -b 16 -i 5 -T 250 -w 150,20 -c 1000,60 -H $HOSTADDRESS
}
define host {
    host_name host
    check_command check_icmps
    ....
}

icmp_daemon's People

Contributors

vel21ripn avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.