Inedo Community Forums Forums
    • Recent
    • Tags
    • Popular
    • Login

    Welcome to the Inedo Forums! Check out the Forums Guide for help getting started.

    If you are experiencing any issues with the forum software, please visit the Contact Form on our website and let us know!

    Best Practice for Role Configuration

    Scheduled Pinned Locked Moved Support
    otter
    2 Posts 1 Posters 4 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • ? This user is from outside of this forum
      Guest
      last edited by

      I have a network with both linux and windows boxes. I have several monitors that I deploy to each of these systems. I am using otter to check that the monitors are configured correctly.

      I am currently monitoring a splunkforwarder and a nagios agent. I have 1 role that just handles splunk on windows and 1 that handles nagios on windows. I was going to make one to handle splunk on linux and 1 to handle nagios on linux. These would make sure the system points to the variables in the Environment, and each machine would have 2 roles.

      Is this considered a best practice, or would it be better to have one role for splunk that handles both linux and windows... or better to bundle both agent into a single role?

      I have been assuming that the smaller roles would be easier to maintain and debug as well as easier to add a new role rather than incrementally modify an existing larger role.

      1 Reply Last reply Reply Quote 0
      • ? This user is from outside of this forum
        Guest
        last edited by

        Good question; I'm not familiar enough w/ splunk to give a definite answer, but I would assume:

        • the Windows agent and the Linux agent are different binaries
        • the configuration is non-trivial (i.e. more than a couple operations)
        • there is effectively no shared configuration/operations in the plans
        • there is minimal shared configuration (ApiKey or AcocuntNumber)

        Based on that, I would probably do two separate roles, splunk-linux and splunk-windows or something like that.

        Of course, if there was mostly shared configuration, or if only a few operations were operating-system dependent (be it Linux or Windows 2003 vs 2008), then having an if/else sort of thing seems fine.

        One major benefit of the roles here will be, someone looks at it from the dashboard and says "oh ok, Splunk is installed". It's already obvious that it's a Linux vs Windows server.

        And to me, the ApiKey/AccountNumber/whatever seem like variables on the role (or maybe environment, if it's different in Prod and Integration).

        Down the line, we'll probably have something to deal with nested roles, role dependencies, those sorts of thing. Really need to see what the data in the field looks like!

        1 Reply Last reply Reply Quote 0

        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

        With your input, this post could be even better 💗

        Register Login
        • 1 / 1
        • First post
          Last post
        Inedo Website Home • Support Home • Code of Conduct • Forums Guide • Documentation