GithubHelp home page GithubHelp logo

ybizeul / phpipam-agent Goto Github PK

View Code? Open in Web Editor NEW

This project forked from pierrecdn/phpipam-agent

0.0 2.0 1.0 8 KB

phpIPAM-agent Docker image

License: GNU Lesser General Public License v3.0

Dockerfile 79.03% Shell 20.97%

phpipam-agent's Introduction

docker-phpipam-agent

phpIPAM is an open-source web IP address management application. Its goal is to provide light and simple IP address management application.

phpIPAM is developed and maintained by Miha Petkovsek, released under the GPL v3 license, project source is here

Learn more on phpIPAM homepage

This container can be used as a discovery scan agent.

How to use this Docker image

Setup PHPIPAM

  • See steps in https://github.com/pierrecdn/phpipam

  • Configure a remote agent (Administration > scan agents), get the key. config_agent

  • For each subnet, enable scan & configure the remote agent by selecting a remote. config_subnet

Run this container

Pass the MySQL password and the phpipam agent key.

$ docker run -ti -d -e PHPIPAM_AGENT_KEY=dummy-key -e MYSQL_ENV_MYSQL_PASSWORD=my-secret-pw --name ipam-agent --link phpipam-mysql:mysql pierrecdn/phpipam-agent

Now, the discovery scans will be performed every 1mn by default.

The logs are available on stdout/stderr (allowing to use docker logs).

Customize update and discovery schedule

You can use CRONTAB_UPDATE and CRONTAB_DISCOVER environment variables to customize schedule for network updates and discovery respectively.

You can set disabled to disable a schedule.

The format is a crontab definition of the form */15 * * * * :

$ docker run -ti -d -e PHPIPAM_AGENT_KEY=dummy-key -e MYSQL_ENV_MYSQL_PASSWORD=my-secret-pw -e CRONTAB_UPDATE="*/15 * * * *" -e CRONTAB_DISCOVER="disabled" --name ipam-agent --link phpipam-mysql:mysql pierrecdn/phpipam-agent 

phpipam-agent's People

Contributors

pierrecdn avatar ybizeul avatar

Watchers

 avatar  avatar

Forkers

elgranloky

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.