-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
nmc
committed
Mar 20, 2018
1 parent
ca22bea
commit 4a88e36
Showing
11 changed files
with
1,455 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
|
||
MIKROTIK_IP=10.0.0.1 | ||
|
||
NETWORK_RANGE=10.10.0.0-10.10.255.255 | ||
|
||
INFLUXDB_HOST=10.10.10.40 | ||
INFLUXDB_PORT=8086 | ||
INFLUXDB_USER=user | ||
INFLUXDB_PASS=pass | ||
|
||
INFLXUDB_DATABASE=influxdbname |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
# Cache and logs (Symfony2) | ||
/app/cache/* | ||
/app/logs/* | ||
!app/cache/.gitkeep | ||
!app/logs/.gitkeep | ||
|
||
# Cache and logs (Symfony3) | ||
/var/cache/* | ||
/var/logs/* | ||
!var/cache/.gitkeep | ||
!var/logs/.gitkeep | ||
|
||
# Managed by Composer | ||
/app/bootstrap.php.cache | ||
/var/bootstrap.php.cache | ||
/bin/* | ||
!bin/console | ||
!bin/symfony_requirements | ||
/vendor/ | ||
|
||
# PHPUnit | ||
/app/phpunit.xml | ||
/phpunit.xml | ||
|
||
# Build data | ||
/build/ | ||
|
||
# Intellij | ||
*idea/ | ||
|
||
# Config File | ||
.env |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
{ | ||
"name": "ncareau/mikro-watch", | ||
"description": "Get and push data from Mikrotik Accounting to influxdb.", | ||
"homepage": "https://github.com/ncareau/mikro-watch", | ||
"license": "MIT", | ||
"authors": [ | ||
{ | ||
"name": "NMC", | ||
"email": "[email protected]" | ||
} | ||
], | ||
"require": { | ||
"symfony/console": "^3.4", | ||
"symfony/var-dumper": "^3.4", | ||
"symfony/dotenv": "^3.4", | ||
"guzzlehttp/guzzle": "^6.3", | ||
"s1lentium/iptools": "^1.1", | ||
"influxdb/influxdb-php": "^1.14", | ||
"wrep/daemonizable-command": "^2.0" | ||
}, | ||
"autoload": { | ||
"psr-4": { | ||
"App\\": "src/" | ||
} | ||
} | ||
} |
Oops, something went wrong.