Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Nick
    @ncostis
    hello can i as if this the right way to write the users .json if i want to add a user for example?
    {
    "id": "users",
    "users": {
    "zabbix": {
    "options": {
    "password": "fced396df30cc3590d8a0deeeaf3eb70",
    "superuser": false
    }
    }
    "nick": {
    "options": {
    "password": "password",
    "supersuser": true
    }
    }
    }
    }
    Yury
    @whitew1nd
    Hello!
    and welcome :)
    Nikita Borzykh
    @sample
    Hello!
    Yury
    @whitew1nd
    I've just copied your json into http://jsonlint.com and it give me an error
    Nikita Borzykh
    @sample
    you need ',' before "nick"
    Yury
    @whitew1nd
    Nikita, how about superuser: true/false, does it still working here?
    Nikita Borzykh
    @sample
    need to check
    no
    If you whant create database user and use it not for zabbix needs, you should separately call 'postgresql_user' resource
    Yury
    @whitew1nd
    @ncostis if you want to create a superuser in database, you must use something line this
    Nick
    @ncostis
    oh thanx i got it and appreciate it.
    Yury
    @whitew1nd
    no problem, we will be here if you need some additional support with our cookbooks
    Nick
    @ncostis
    :-)
    Nick
    @ncostis
    hello people. If i wanted to add more users to zabbix, i could do it from the databag user??
    Nikita Borzykh
    @sample
    hello
    no, via databag you can only setup admin user password
    user creation is not provided by cookbook now, but you can do this via low level ruby api
    we use our ruby gem 'zabbixapi'
    Nikita Borzykh
    @sample
    this is example(from tests) how to create user with ruby api https://github.com/express42/zabbixapi/blob/master/spec/user.rb
    and also you can make pull request with zabbix_user LWRP :smile: