Skip to content

Commit bc901e5

Browse files
author
Malik Mann
authored
Update and rename README to README.md
1 parent e2eb027 commit bc901e5

File tree

2 files changed

+36
-41
lines changed

2 files changed

+36
-41
lines changed

README

-41
This file was deleted.

README.md

+36
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
## Description
2+
phpipam-agent is a scanning agent for phpipam server to be deployed to remote servers
3+
4+
## License
5+
phpipam is released under the GPL v3 license, see misc/gpl-3.0.txt.
6+
7+
## Requirements
8+
- PHP version 5.2+ with following modules (On windows php 5.3 is required!)
9+
- pdo, pdo_mysql : Adds support for mysql connections (if type=mysql)
10+
- gmp : Adds support for dev-libs/gmp (GNU MP library) -> to calculate IPv6 networks
11+
- json : Adds supports for JSON data-interexchange format
12+
- pcntl : Adds supports for threading via cli ( not supported by windows )
13+
- PHP PEAR support (dev-php/pear)
14+
15+
## Install
16+
Just run index.php script with discover or update as argument.
17+
18+
- Make sure this client has read/write access to main phpipam database.
19+
```SQL
20+
GRANT SELECT on `phpipam`.* TO 'username'@'hostname' identified by "password";
21+
GRANT INSERT,UPDATE on `phpipam`.`ipaddresses` TO 'username'@'hostname' identified by "password";
22+
GRANT UPDATE on phpipam.scanAgents TO 'username'@'hostname' identified by "password";
23+
```
24+
- If you will remove inactive dhcp/autodiscovered also this is needed
25+
```SQL
26+
GRANT DELETE on `phpipam`.`ipaddresses` TO 'username'@'hostname' identified by "password";
27+
```
28+
29+
## Scheduled scans
30+
For scheduled scans you have to run script from cron. Add something like following to your cron to scan
31+
each 15 minutes:
32+
33+
`*/15 * * * * php /where/your/agent/index.php update`
34+
35+
## Contact
36+

0 commit comments

Comments
 (0)