Clean up some poller debug + added updated version and last git commit #1756

Merged
merged 2 commits into from Aug 25, 2015

Projects

None yet

3 participants

@laf
Member
laf commented Aug 24, 2015
  1. Updated version to 2015.
  2. Added output from git log -n 1 | grep 'commit ' to poller and discovery so we can see from the output what version someone is on.
  3. Tidied up some debug output from poller which would always print_r($update_array) regardless of -d.
@laf laf Clean up some poller debug + added updated version and last git commit
59de0d1
@f0o
Member
f0o commented Aug 25, 2015

Could we change the grep 'commit ' to a head -n1 ?
If somebody would have 'commit foobar' in their commit-message, it would be matched in the grep as well. (Side node, if we were in the 90's the head -n1 would also have a performance gain heh)

@laf laf updated to use function for last commit
86059f6
@laf
Member
laf commented Aug 25, 2015

Updated

@f0o f0o merged commit 43d13c6 into librenms:master Aug 25, 2015

2 checks passed

Auto-Deploy Build finished.
Details
Scrutinizer No new issues
Details
@laf laf deleted the laf:poller-debug branch Jan 29, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment