Skip to content

Commit 4a88e36

Browse files
author
nmc
committed
v1.0.0
1 parent ca22bea commit 4a88e36

11 files changed

+1455
-0
lines changed

.env.dist

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
2+
MIKROTIK_IP=10.0.0.1
3+
4+
NETWORK_RANGE=10.10.0.0-10.10.255.255
5+
6+
INFLUXDB_HOST=10.10.10.40
7+
INFLUXDB_PORT=8086
8+
INFLUXDB_USER=user
9+
INFLUXDB_PASS=pass
10+
11+
INFLXUDB_DATABASE=influxdbname

.gitignore

+32
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
# Cache and logs (Symfony2)
2+
/app/cache/*
3+
/app/logs/*
4+
!app/cache/.gitkeep
5+
!app/logs/.gitkeep
6+
7+
# Cache and logs (Symfony3)
8+
/var/cache/*
9+
/var/logs/*
10+
!var/cache/.gitkeep
11+
!var/logs/.gitkeep
12+
13+
# Managed by Composer
14+
/app/bootstrap.php.cache
15+
/var/bootstrap.php.cache
16+
/bin/*
17+
!bin/console
18+
!bin/symfony_requirements
19+
/vendor/
20+
21+
# PHPUnit
22+
/app/phpunit.xml
23+
/phpunit.xml
24+
25+
# Build data
26+
/build/
27+
28+
# Intellij
29+
*idea/
30+
31+
# Config File
32+
.env

composer.json

+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
{
2+
"name": "ncareau/mikro-watch",
3+
"description": "Get and push data from Mikrotik Accounting to influxdb.",
4+
"homepage": "https://github.com/ncareau/mikro-watch",
5+
"license": "MIT",
6+
"authors": [
7+
{
8+
"name": "NMC",
9+
"email": "[email protected]"
10+
}
11+
],
12+
"require": {
13+
"symfony/console": "^3.4",
14+
"symfony/var-dumper": "^3.4",
15+
"symfony/dotenv": "^3.4",
16+
"guzzlehttp/guzzle": "^6.3",
17+
"s1lentium/iptools": "^1.1",
18+
"influxdb/influxdb-php": "^1.14",
19+
"wrep/daemonizable-command": "^2.0"
20+
},
21+
"autoload": {
22+
"psr-4": {
23+
"App\\": "src/"
24+
}
25+
}
26+
}

0 commit comments

Comments
 (0)