Should the Audit Logs functionality work in the sources XOA?
-
Just following the bouncing ball on https://xen-orchestra.com/blog/xo-audit/ in my lab XOA from sources (recently updated and re-built) and it doesn't seem to want to work. Not a show stopper for my by any means, just thought I'd report it incase this was a problem.
When I try and generate a new fingerprint I get..
vm.stats { "id": "dad6b031-f28f-2d5b-d345-1ff8e328f422" } { "message": "Unable to get the true granularity: 60", "name": "FaultyGranularity", "stack": "FaultyGranularity: Unable to get the true granularity: 60 at XapiStats._getAndUpdateStats (/home/pnunn/xen-orchestra/packages/xo-server/src/xapi-stats.js:378:13)" }
Again, not sure if this needs to be registered to make this work or not... but there you go.
Peter.
-
Do you have the plugin enabled on your "from the sources" install?
-
Ping @badrAZ
-
Hi,
The
Audit logs
functionality is only for users with aPremium
plan. It'll not work forXO source
.We'll update the
UI
to mention it.Edit: The
Audit plugin
works from source, only the storing of the hashes in our servers will not be available for the source version. -
OK, no dramas. That explains it. UI change would be a good thing.
-
@pnunn I'm sorry my bad. The plugin will work for the source version. Did you have the Audit plugin enabled in the
settings/plugins
? -
Um... no.. I have "no plugins found" under settings->plugins. Maybe need to install it??
P.
-
Yes, to use it, the plugin need to be in the
xo-server
'snode_modules
. -
@badrAZ Yep.. that did the trick..
All working now.. nice.
-