Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
✪ vi4m Marcin Kliks
@vi4m
@ostrochovsky disk full?
Adam
@tretos53
@vi4m In terms of feature requests, I think Ralph needs to be easier to install, Similar to webmin with almost two lines and its done including startup. To be honest Ralph is awesome, seriously, way better than other paid and free solutions I used. Still got little issues but I hope you will get there. :)
swb
@spencewb16_twitter
hi - i'm trying to get gunicorn/nginx setup working with my Ralph machine, does anyone have experience with this?
I've used the basic installation method - https://ralph-ng.readthedocs.io/en/latest/installation/installation/
i keep getting a Server Error (500) error when trying to access, which isn't very helpful
my gunicorn.conf file:
description "Gunicorn application server handling Ralph"

start on runlevel [2345]
stop on runlevel [!2345]

respawn
setuid root
setgid root
chdir /opt/ralph/

exec /opt/ralph/ralph-core/bin/gunicorn --workers 3 --bind unix:/opt/ralph/ralph-core/ralph.sock ralph.wsgi:application
swb
@spencewb16_twitter
my nginx sites-available (and -enabled, which is linked):
server {
    listen 80;
    server_name ralph.domain.com;
    access_log   /var/log/nginx/access.log;
    error_log    /var/log/nginx/error.log;

    location = /favicon.ico { access_log off; log_not_found off; }
    location /static/ {
        root /opt/ralph/;
    }

    location / {
        include proxy_params;
        proxy_pass http://unix:/opt/ralph/ralph-core/ralph.sock;
    }

}
both gunicorn and nginx start fine, but get the Server Error (500) error, with nothing showing up in nginx or gunicorn logs...
if i run gunicorn --bind 0.0.0.0:80 ralph.wsgi:application gunicorn works just fine (static files are missing obviously so it looks weird in-browser but that's expected i'm pretty sure)
... so i'm fairly certain i have an nginx configuration issue, anyone able to see why based on above information?
eventually i want this to be configured for https only, but for now i'm struggling just to get basic http configured
swb
@spencewb16_twitter
Adam
@tretos53
Question: Is it possible to add a hardware that is half wide of the rack? So 1U but half wide so I can have two devices next to each other on the same U.
✪ vi4m Marcin Kliks
@vi4m
yes
@tretos53 - yes just set the same position
James
@2131897
How to working with whmcs
✪ vi4m Marcin Kliks
@vi4m
what is whmcs?
James
@2131897
hosting billing system
✪ vi4m Marcin Kliks
@vi4m
No. You can integrate it by yourself. Ralph has out-of-the-box support for Scrooge billing system which is also open source
Paweł
@ziompaul
Hi,
Which permissions should be active for user to be able to see a DC Visualisation?
Paweł
@ziompaul
everything is set for read for user and he is not able to see dc_view
Mateusz Kurek
@mkurek
@ziompaul User -> Can view ServerRoomView
Paweł
@ziompaul
Thank you
Adam
@tretos53
@vi4m I did but only one is shown. I was thinking more like half is one and the other half is another.
Photo shopped below what I was thinking
image.png
✪ vi4m Marcin Kliks
@vi4m
you have to choose „layout" for given asset model first
on parent asset
Zrzut ekranu 2017-10-24 o 08.52.21.png
Zrzut ekranu 2017-10-24 o 08.52.21.png
Adam
@tretos53
Thanks @vi4m will try that.
Adam
@tretos53
@vi4m So I have two devices, same model, 1U, Juniper SSG5, they are small devices.
Both on the same U9, one next to another.
Only one device appear on DC Visualisation, the one I added second.
Changing Visualisation layout of front side and back to any of the values doesn't seems to affect the Visualisation.
✪ vi4m Marcin Kliks
@vi4m
You have to add one additional asset as a parent for these two child’s
And set slot “field”
Parent (Blade system is an example) should have this layout set
As shown in screenshots posted above
Slot field should then be set in 2 child assets you posted
Adam
@tretos53

@vi4m Hi, I got an error now Slot number cannot be filled when asset is not blade, how do you specify Blade? I dont see any option for that ? I created new Asset called Juniper SSG5 Holder with a new Model with Visualisation layout of front side and back configured as per your screenshot.

To be honest that sounds a lot too complicated for what Im trying to do and it would be good if Ralph automatically put two assets next to each other if you specify the same rack and U.

✪ vi4m Marcin Kliks
@vi4m
hmm, let me check it :)
Adam
@tretos53
Question: What do I type in Param when I create a new graph ?
Adam
@tretos53
Ignore me, found it...

There is a mistake here: https://ralph-ng.readthedocs.io/en/latest/user/dashboards/

Wrong:
{
"labels": "name",
"series": "serverroomrack|distinct",
"filters": {
"series
lt": 5
},
}

Right:
{
"filters": {
"serieslt": 5
},
"labels": "name",
"series": "serverroom
rack|distinct"
}

Nick Li
@nickliqian
When I want to filter object ForeignKey field, how to change the name show in page?because it just show name 'base object'.Thanks!
Nick Li
@nickliqian
I tried inherit class TreeRelatedAutocompleteFilterWithDescendants and change the class attribute title, but it looks no work. Then i inherit init way to change self.title, the title changed.But when i finished filter, it had a error.Like: 'BaseObject' object has no attribute ' File "/home/nick/Desktop/ralph/src/ralph/admin/filters.py", line 490, in _get_descendants return root.get_descendants(include_self=True) AttributeError: 'BaseObject' object has no attribute 'get_descendants'
AngelIX
@angelionix99
I have some problem with Rack Import file.
image.png
alanfelive
@alanfelive
Hello! I'm from Russia. Sorry for the bad english, I use translate.google.com. I want to translate the interface into Russian. Found the file django.po from the folder /opt/ralph/ralph-core/lib/python3.4/site-packages/ralph/locale/en/LC_MESSAGES/, I try to make a similar in Russian and put it in the ../en/ folder. LC_MESSAGES /, changed the settings in the file /opt/ralph/ralph-core/lib/python3.4/site-packages/ralph/settings/base.py in the line LANGUAGE_CODE to "ru" but the application is still in English. What am I doing wrong? Help me please!
✪ vi4m Marcin Kliks
@vi4m
@alanfelive did you change language in upper-right corner?