I hope I’m asking this question on the right forum or hope there is someone with Gateone experience.
I’m currently creating a lab with LibreNMS and Gateone.
Ive got a local VM on Virtualbox runnning LibreNMS and installed Gateone which is running.
The VM is set on IP 10.x.x.58
I’ve added the following rule in the libre config.php file. $config[‘gateone’][‘server’] = ‘http://10.x.x.58:8080/’;
In the Gateone server.conf file I’ve changed a few small things.
The button in LibreNSM works fine but I get the following error. Message From Gate One Server: Access denied for origin: http://10.x.x.58:8080 Message From Gate One Server: Access denied for origin: http://10.x.x.58:8080 Message From Gate One Server: If you feel this is incorrect you just have to add ‘10.x.x.58:8080’ to the ‘origin’ option in your server.conf. See the docs for details.
Did you happen to document your install steps. I’ve probably tried 20 times to get it installed, each time with a clean install of Ubuntu or CentOS. I dead end when I try to run gateone (‘python gateone.py’) and I get the following:
netops@gateone:/opt/gateone$ ls
authpam.py gateone.py plugins static tests
auth.py i18n README.rst templates utils.py
babel_gateone.cfg LICENSE.txt remote_syslog.py terminal.py
docs logviewer.py sso.py termio.py
netops@gateone:/opt/gateone$ python gateone.py
Traceback (most recent call last):
File “gateone.py”, line 289, in
tornado.options.enable_pretty_logging()
AttributeError: ‘module’ object has no attribute ‘enable_pretty_logging’
netops@gateone:/opt/gateone$
Your enable_pretty_logging is probably due to the wrong tornado version.
From the top of my head you need 2.7.4 (I can be wrong).
But if you follow the steps in the link from a clean install, it should work fine.
Yes. It is installed, but not responding. I edited the origins sections of the config file. No firewall is installed on Ubuntu, yet the page is not loading. I installed the extras:
To get it running as a service is something I’m still working on.
Linux is a bit new to me, once I’ve got this figured out I’ll post an update.
Good to hear you got it working thus far.
As long as I had the SSH session open it was running yesterday. I came in to work this morning and of course it was not responding because the session had timed out. I logged back in and tried to run it with “python gateone.py” and it is again throwing back:
AttributeError: ‘module’ object has no attribute ‘enable_pretty_logging’