Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
Mateusz Kurek
@mkurek
@bjoernschneider unfortunately this field is obligatory right now - we could change it to optional (through settings), but I can't promise any dates. If you're familiar with python you could try to change it and contribute to Ralph. Potential place in code to change is here: https://github.com/allegro/ralph/blob/ng/src/ralph/assets/models/assets.py#L486
@Ham5ter not now, but we have this feature in our roadmap
✪ vi4m Marcin Kliks
@vi4m
@Ham5ter we use description fields for racks and assets as a workaround right now
Ham5ter
@Ham5ter
Thank you for the Information, i will take a look at the Code, maybe i am able to help out :)
✪ vi4m Marcin Kliks
@vi4m
cool :)
bjoernschneider
@bjoernschneider
@mkurek thank you for help ! maybe i will try to change the code - but i am not familar with python ;)
swb
@spencewb16_twitter
why is it that the hostname field for backoffice assets is greyed out?
defrancesco
@defrancesco
Hi All, I tried to lunch the command "ralph cmdb_integration --cmdb_zabbix" ralph import only the hosts and then get this error django.db.utils.IntegrityError: (1048, "Column 'host' cannot be null")
How can solve this issue?
defrancesco
@defrancesco
Hi I installed the ralph 3 version, how I can integrate it with zabbix?
Mateusz Kurek
@mkurek
hi @defrancesco - ralph cmdb_integration was ralph2 command. There is no such thing in Ralph3. What information do you want to share between zabbix and ralph?
defrancesco
@defrancesco
I am using ralph 2 can you help me?
AngelIX
@angelionix99
Hi All
How to stop Ralph 3 service ?
I just want to restart the server.
✪ vi4m Marcin Kliks
@vi4m
you can just reboot the server with shutdown, it will stop it automatically
AngelIX
@angelionix99
thanks
redbeard
@brianredbeard
Is Node actually used in Ralph-NG at all? Seemed odd that I'm dealing with Grunt + make to be able to try and setup a python application.
I was going to try doing the install via the .deb file until it wanted to install GDB, Bison, Flex, rsync, and both python 2 & python 3, and openssh-server. https://paste.fedoraproject.org/495648/48069473/raw/
but after that, it's back to rolling it by hand.
✪ vi4m Marcin Kliks
@vi4m
i think we can reduce some of the dependencies
nodejs is used just for generating static files
not serving anything, nor running
redbeard
@brianredbeard
ok, that's good to hear.
also, does Ralph-NG only use python3?
✪ vi4m Marcin Kliks
@vi4m
yes, it's python 3 based
i will paste you something we use for building packages
redbeard
@brianredbeard
perfect. thanks @vi4m
✪ vi4m Marcin Kliks
@vi4m
and this is the debian files: https://github.com/allegro/ralph/tree/ng/debian
redbeard
@brianredbeard
i was starting out with the .deb just because it was the "preferred" way of installing ralph. Now that i can see what dark witchery is occurring under the hood I can try and bend it to my whimsy :smile:
swb
@spencewb16_twitter
@vi4m for back office assets, I'm unable to edit components and software? seems like they're filled in automatically whenever I add a new asset with default values. I must be missing something, though I've gone through much of the documentation...
✪ vi4m Marcin Kliks
@vi4m
actually, you're not missing anything :D
models are there, but we didn't implement it yet, sorry for that surprise
didn't implement the view, though it's quite easy to do (in fevew lines of code)
i think we should do it eventually
o_O
swb
@spencewb16_twitter
Oh I see. What file do I need to edit to add the view? or do i need to add a new view file entirely?
✪ vi4m Marcin Kliks
@vi4m
just a sec
swb
@spencewb16_twitter
in views file in /opt/ralph/ralph-core/lib/python3.4/site-packages/ralph/back_office
i see the default values :smile: just not sure how to go about editing it so that it reroutes properly back to components section
swb
@spencewb16_twitter
@vi4m I am all set with this, just copied some of the settings from views.py in /ralph/assets instead. thanks for the honesty/clarification! very helpful
swb
@spencewb16_twitter
@vi4m last question, could you please point me in the right direction to making changes to the top link bar with dropdowns? i want to tweak a couple small things :smirk:
swb
@spencewb16_twitter
@vi4m one last last question - on my components page, I'm trying to make a ForeignKey autocomplete field, but it always makes it into dropdown. how can i avoid default dropdown and have autocomplete when using a ForeignKey field?
Raoul Thill
@rthill
@all is there a possibility to manage passwords per server?
✪ vi4m Marcin Kliks
@vi4m
what do you mean?
Raoul Thill
@rthill
password vault functionality inside ralph for physical and virtual server.
✪ vi4m Marcin Kliks
@vi4m
so it could be rather vault integration
swb
@spencewb16_twitter
@vi4m what do i have to do to make the FK autocomplete work? which django autocomplete tool does ralph use?
xliiv
@xliiv
@spencewb16_twitter it should work out of the box, what's the issue and it's custom solution
Raoul Thill
@rthill
@vi4m yes sure, do you have any plans on vault integration?