Centralised version info + used in output #2697

Merged
merged 2 commits into from Jan 10, 2016

Projects

None yet

4 participants

@laf
Member
laf commented Jan 6, 2016

This provides a central function to get version info back across the board.

We now print this info in validate,poller and discovery + updated webui. This will enable us to get info back on what versions people have when provide debug output. Saves asking for it all the time.

In validate.php we do a check against the last github commit and the local one to see if it's upto date.

@laf laf Centralised version info + used in output
fdc0eca
@laf laf Rebased
63444e2
@laf
Member
laf commented Jan 10, 2016

Rebased.

@laf laf removed the Rebase Needed label Jan 10, 2016
@f0o
Member
f0o commented Jan 10, 2016

Can you add HTTPd's name+version to it as well?

@laf
Member
laf commented Jan 10, 2016

Left it out initially as it's useless in poller/discovery and not everyone uses Apache but I can add it in.

@f0o
Member
f0o commented Jan 10, 2016

fair enough

@f0o f0o merged commit cce8bc5 into librenms:master Jan 10, 2016

2 checks passed

Auto-Deploy Build finished. No test results found.
Details
Scrutinizer No new issues
Details
@laf laf deleted the laf:versions branch Jan 10, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment