Commit Graph

49 Commits

Author SHA1 Message Date
Daniel Ricart 0250e6c58e fixed typo in start.sh permissions assignment (#53)
Found a typo in the `start.sh` file that prevented setting the correct execution permissions.
2019-10-16 12:07:35 -04:00
Steve Brunton 9bb5a0cee6
various issues fixing (#49)
* arm64 Dockerfile and Makefile update
* #46 version flag
2019-09-02 14:51:14 -04:00
devi1 f1f09b42bb DHCP Lease Collector (#50)
* DHCP Leases Collector

Add Information about DHCP Leases:
* Active MAC Address
* Active Address
* Hostname
* Status
* Expire time

* Modified resource collector

Add Boardname and RouterOS version metrics
2019-09-02 14:50:20 -04:00
Steve Brunton 0cf5d19883 [ci skip] bump next devel version 2019-08-20 22:26:18 -04:00
Steve Brunton bfba6be608 version bump 2019-08-20 22:12:15 -04:00
Steve Brunton beb09ce540
[ci skip] monitor data for ethernet ports (#45)
* fix import name conflict
* adding in ethernet monitor information via prometheus gauge
* set CGO_ENABLED env var on build
2019-08-20 22:11:03 -04:00
Steve Brunton ea9cc69a3a [ci skip] bump to next devel version 2019-07-21 18:14:33 -04:00
Steve Brunton fc9c04efec
use debian instead of alpine
Fix for #40 

* use debian instead of alpine
* bump version to real release
2019-07-21 18:10:43 -04:00
Steve Brunton f800e6cf2f [ci skip] bump next devel version 2019-07-05 22:22:48 -04:00
Steve Brunton 530f695305 bump to relase 1.0.8 release for Docker fix 2019-07-05 22:20:11 -04:00
Charlie Livingston 543ff20390 Fix docker build to make runnable executable (#39) 2019-07-05 22:17:33 -04:00
Steve Brunton 4de6b2de0c [ci skip] bump to devel VERSION 2019-07-02 20:51:22 -04:00
Steve Brunton 8e1ece22dd
#36 attempt to fix api login auth issue (#38)
* #36 attempt to fix api login auth issue
* update release version number
2019-07-02 20:46:19 -04:00
Steve Brunton dcaef1a51e [ci skip] bump version to next DEVEL 2019-02-21 22:48:06 -05:00
Steve Brunton f0ebe4bd0a Merge branch 'nshttpd/uptime-panic-fix' 2019-02-21 22:42:43 -05:00
Steve Brunton 0563415d9f edit and tickle to build 2019-02-21 22:42:14 -05:00
Steve Brunton 81e258fec1
fix uptime regex and lazy coding for #34 (#35)
* fix uptime regex and lazy coding for #34
* [ci skip] version bump for merge
2019-02-21 22:39:25 -05:00
Steve Brunton e074600ccc [ci skip] version bump for merge 2019-02-21 22:38:41 -05:00
Steve Brunton 67c0848f6a fix uptime regex and lazy coding for #34 2019-02-21 22:34:39 -05:00
Steve Brunton 9f22fc0232 [ci skip] bump to devel version 2019-01-02 16:26:20 -05:00
Steve Brunton aee1517c10
uptime metric reporting (#32) 2019-01-02 16:16:09 -05:00
Steve Brunton d4288aed19 [ci skip] bump to DEVEL version 2018-12-16 23:32:36 -05:00
Steve Brunton 83cbed45d8
CircleCI build to DockerHub too
Also as part of the CircleCI build create a container and push to docker hub.
2018-12-16 23:28:05 -05:00
Nacef LABIDI 8d1c2e7700 Fix #7 Log formatting (#27)
Thanks for this.
2018-12-16 21:53:29 -05:00
Steve Brunton 3d56bb040c [ci skip] devel version bump 2018-12-16 21:49:54 -05:00
Nacef LABIDI d33cbd193e Incorrect param for passing config file (#24) 2018-12-07 11:43:18 -05:00
moonug 4264ed930f Fix #22 (#23)
* Fix #22
* bump version to 1.0.1
2018-11-24 16:05:52 -05:00
Steve Brunton 909b176ce4
building with circle-ci
building binaries via circle-ci now.
2018-10-31 23:17:19 -04:00
Jarred Trainor 0f7d5bea2c Handle empty properties when collecting interface metrics (#20)
Instead of logging an error, check if a property is empty before attempting to
call strconv.ParseFloat on it.

ERRO[0005] error parsing interface metric value device=gw error="strconv.ParseFloat: parsing \"\": invalid syntax" interface=ether2 property=tx-drop value=
2018-10-31 22:40:11 -04:00
Robert S. Gerus 25911b4e60 Add wlan station and interface metrics collection. (#14)
* Fix newlines.
* Added wlan metrics.
* Fix WlanSTA collector - return on errors.
2018-09-10 23:30:13 -04:00
Steve Brunton f6b4764691
updated README with new perm needed (#13) 2018-06-28 22:25:13 -04:00
Daniel Czerwonk eb9269527d fixed bgp collector (#12) 2018-05-21 16:56:21 -04:00
Daniel Czerwonk 39e54be98d Added optical diagnostic metrics (#10) 2018-05-07 14:31:19 -04:00
Daniel Czerwonk d170b0a4d2 More features (#9)
* added config file implementation, refactoring
* add gitignore
* improved test
* preperations for more metrics
* added resource metrics
* added first bgp metrics
* added asn as label for bgp metrics
* added prefix and message counts to bgp metrics
* simplified
* Update README.md
* added yaml dependency
* fixed go routine call
* added timeout
* clean up
* added TLS support
* set default api port for TLS
* added routes metric
* added missing log information
* added type collectorContext to reduce the count of parameters for better readability
* added DHCP and DHCPv6 metrics
* filter for active dhcp leases only
* added pool metrics
* enable/disable feature in config file
* refactoring

* clean up

* comment fix
2018-04-11 09:21:38 -04:00
Daniel Czerwonk f2866a3a2f News features and improvements (#8)
* added config file implementation, refactoring

* add gitignore

* improved test

* preperations for more metrics

* added resource metrics

* added first bgp metrics

* added asn as label for bgp metrics

* added prefix and message counts to bgp metrics

* simplified

* Update README.md

* added yaml dependency

* fixed go routine call

* added timeout

* clean up

* added TLS support

* set default api port for TLS

* added routes metric

* added missing log information
2018-03-20 21:28:10 -04:00
Steve Brunton c37abb638f
removed uber zap from vendor and switched to dep from glide (#6) 2017-11-29 22:48:49 -05:00
Steve Brunton be3ca4608c
update logging (#5)
* removed Zap logging and switched to logrus
* "deprecating" the prometheus.go file and fixed up logging stuff on a couple more files.
* removed uber zap from glide
* well that sure messed things up
2017-11-29 22:42:59 -05:00
Steve Brunton 13b50a6b7c
Merge pull request #2 from nshttpd/nshttpd/counter-fix
redo to actually work as it's supposed to.
2017-11-29 08:15:11 -05:00
Steve Brunton 2ea8ca8447 re-worked to actually properly work at collecting metrics 2017-11-28 23:58:39 -05:00
Steve Brunton 3576779a56 removed server.go 2017-11-28 23:58:02 -05:00
Steve Brunton e738cf67ec refactor moving things around 2017-10-22 16:33:05 -04:00
Steve Brunton a47f1ca2fc clean up and adding in additional files 2017-10-12 08:36:20 -04:00
Steve Brunton a0251ca4e8 creating some more files 2017-10-03 22:24:14 -04:00
Steve Brunton 129e34290f more dev work (#1)
* of course we need badges

* kubernetes single device config example

* fixed deployment json
2017-09-16 22:38:01 -04:00
Steve Brunton 044419a16b updated README to signify WIP. 2017-09-04 22:54:04 -04:00
Steve Brunton ed916703c6 squash merge from dev branch 2017-09-04 22:52:14 -04:00
Steve Brunton 123cd935a3 adding in logging 2017-08-30 22:05:59 -04:00
Steve Brunton 403b464aec adding in some files 2017-08-27 23:30:35 -04:00
Steve Brunton b0e0be5688 glide setup and dependencies addition 2017-08-27 23:27:11 -04:00