Skip to content

Commit

Permalink
v1.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
nmc committed Mar 20, 2018
1 parent ca22bea commit 4a88e36
Show file tree
Hide file tree
Showing 11 changed files with 1,455 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .env.dist
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
32 changes: 32 additions & 0 deletions .gitignore
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
26 changes: 26 additions & 0 deletions composer.json
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/"
}
}
}
Loading

0 comments on commit 4a88e36

Please sign in to comment.