kevinleslie Trainee

  • Member since Jun 21st 2017
  • Last Activity:
Posts
27
Points
165
Profile Hits
14
  • kevinleslie

    Replied to the thread icinga2 satellite old config.
    Post
    workaround to stop all the icinga2 on all instances then do the update then restart icinga2 masters the restart the satellite instances
    after doing this the indances have the correct files in place also from the icingaweb2 front end I can see the the…
  • kevinleslie

    Replied to the thread icinga2 satellite old config.
    Post
    Thanks Kevin,

    I did this and it worked
  • kevinleslie

    Thread
    HI ,

    I have recent update my "zones.d/satellite/hosts.conf" file
    but I noticed that after the update the sateliite zones are still displaying the old config even though I checked the "/var/lib/icinga2/satellite/_etc/hosts.conf"
    and this had the correct…
  • kevinleslie

    Posted the thread icinga2 satellite old config.
    Thread
    I have recent rebuilt my icinga2 master host and I have updated the /etc/icinga2/zones.d/satellite1/hosts.conf file

    but when I look on the icingaweb2 front end it is showing the old servers

    I have checked the satellite1 instances and I can confirm the…
  • kevinleslie

    Post
    Thanks for the update I missed read the documentation
  • I am trying to use Fileshipper to deploy files that I have generated on my icingaweb2 instance.
    the related file is roles.ini
    and the location of the file is /tmp/roles.ini
    the destination where I would like to deploy the file is…
  • kevinleslie

    Post
    I have resolved the issue
    basically I need to add the user that is in the api-users.conf

    The documentation does not explain this

    find the documentation quite poor as a newbie, the documentation assume knowledge of icinga2 director
  • Hi Am trying to install icinga Director

    i did the following:


    1. icingacli director migration run --verbose

    which completed with out issue

    2. I then log into the web and enable director

    trying to fill out the kickstart wizard

    but I don't know what…
  • Thanks for the info provided, We can now access ldap groups but it is showing the members with there full dn and it is not mapping to the correct user

    when I goto Authentication, then select user groups
    and change the User GRoup Backend to point to my…
  • Thanks for the input Kevin,

    Can you please point me to the documentation as I am not sure how to use ldap mapping etc
  • I have created a group "technology" and I want to assign all user from ldap to this group.
    I am aware that you can add new members one at a time but I have over 1000 users
    so i would like to have a more dynamic way of add users i.e using wildcard *
  • kevinleslie

    Replied to the thread Cannot add host to icingaweb2.
    Post
    The plot thickens,

    I am having more issues now, I started looking at the resource to validate my connection to the database and noticed icingaweb2 resource was not working correctly so I had to update the password tested via the web validation and…
  • kevinleslie

    Replied to the thread Cannot add host to icingaweb2.
    Post
    Hi Kevin,

    Sorry not sure what you want me to upload ?
  • kevinleslie

    Replied to the thread Cannot add host to icingaweb2.
    Post
    ice-web satellite1 # icinga2 object list | grep vanilla-api-uat.linx.net
    Object 'vanilla-api-uat.linx.net' of type 'Host':
    * __name = "vanilla-api-uat.linx.net"
    * display_name = "vanilla-api-uat.linx.net"
    * name = "vanilla-api-uat.linx.net"
    * templates…
  • kevinleslie

    Replied to the thread Cannot add host to icingaweb2.
    Post
    Can you please confirm how you check via CLI ?
  • kevinleslie

    Replied to the thread Cannot add host to icingaweb2.
    Post
    ice-web satellite1 # curl -k -s -u icingaweb2:xxxxxxxxxx 'https://localhost:5665/v1/objects/services/vanilla-api-uat.linx.net!http' | python -m json.tool
    {
    "error": 404.0,
    "status": "No objects found."
    }
    ice-web satellite1 #
  • kevinleslie

    Replied to the thread Cannot add host to icingaweb2.
    Post
    ice-web satellite1 # icinga2 object list --type apiuser
    Object 'icingaweb2' of type 'ApiUser':
    % declared in '/etc/icinga2/conf.d/api-users.conf', lines 4:1-4:27
    * __name = "icingaweb2"
    * client_cn = ""
    * name = "icingaweb2"
    * package = "_etc"
    *…
  • kevinleslie

    Replied to the thread Cannot add host to icingaweb2.
    Post
    ice-web satellite1 # curl -k -s -u icingaweb2:6563e6c0b7a5a1e9 'https://localhost:5665/v1/objects/hosts/vanilla-api-uat.linx.net!http'
    {"error":404.0,"status":"No objects found."}ice-web satellite1 #
  • kevinleslie

    Replied to the thread Cannot add host to icingaweb2.
    Post
    I have just restarted icinga2 and attached the logs

    [2017-08-02 13:47:57 +0100] information/LivestatusListener: Created UNIX socket in '/var/run/icinga2/cmd/livestatus'.
    [2017-08-02 13:47:57 +0100] information/JsonRpcConnection: Reconnecting to API…
  • kevinleslie

    Replied to the thread Cannot add host to icingaweb2.
    Post
    /**
    * The APIUser objects are used for authentication against the API.
    */
    object ApiUser "icingaweb2" {
    password = "xxxxxxxxxxxx"
    // client_cn = "ice-db"

    permissions = [ "*" ]
    }
    ice-web icinga2 #