GithubHelp home page GithubHelp logo

zwo-bot / saltstack-site24x7 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from site24x7/saltstack-site24x7

0.0 0.0 0.0 11 KB

For bulk deployment of Site24x7 monitoring agent using SaltStack

SaltStack 100.00%

saltstack-site24x7's Introduction

Bulk deployment of Site24x7 Linux agent using SaltStack

Bulk deployment using SaltStack installs Site24x7 Server Monitoring agent on Linux platforms. Please create a Site24x7 account to install the Linux agent using SaltStack. Sign Up Now for a Free Trial!

Supported Platforms

All Linux platforms with Glibc version - 2.5 and above, including Centos, Debian, Fedora, Redhat, Suse, Ubuntu

Params

devicekey: SITE24X7DEVICEKEY

Your device Key is available under the Site24x7 "Add Server Monitor" page. Log In and navigate to Home > Monitors > Click on the (+) icon > Linux Server Monitoing.

Site24x7 device key is unique for your account. Alternate device Key can also be generated from your Site24x7 account under Admin > Developer > Device Key.

proxy: None

Proxy server required to connect to the Site24x7 servers. Example : user:password@proxyhost:proxyport

Installation Steps

  1. Ensure you have salt-master and salt-minion set up in your infrastructure.
  2. Download the saltstack-site24x7.zip in your salt-master
  3. Copy paste the following files : a. Copy the file pillar/site24x7.sls to your pillar home directory [ /srv/pillar/ for most users ]. If pillar directory is not there, create it and also add a corresponding entry for pillars in /etc/salt/master. b. Copy the files states/install.sls, states/uninstall.sls and states/status.sls into your salt state home directory [ /srv/salt/ for most users ]. If salt state directory is not there, create it and also add a corresponding entry for salts in /etc/salt/master.
  4. Make the following changes : a. Edit your salt state top.sls file [ /srv/salt/top.sls ]. Add "- install" , "- status" , " -uninstall" entries under your required environment. b. Edit your pillar top.sls file [ /srv/pillar/top.sls]. Add "- site24x7" entry under your required environment. c. Edit the /srv/pillar/site24x7.sls file. Replace the devicekey with the actual device key obtained from our portal. Replace proxy values if required in the proxy field (Let it be "None" if no proxy is required. )
  5. Now your setup is complete and you can exectue the below sample commands : a. To bulk install our agent in all minions : sudo salt '' state.sls site24x7.install b. To bulk uninstall our agent in all minions : sudo salt '' state.sls site24x7.uninstall c. To find out agent status in all minions : sudo salt '*' state.sls site24x7.status
  6. View your servers from your Site24x7 account. https://www.site24x7.com/login.html

Related Links

License

(The MIT License)

Copyright © 2015, 2016 Site24x7 Terms of Use (http://www.site24x7.com/terms.html) Privacy Policy (http://www.site24x7.com/privacypolicy.html) Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

saltstack-site24x7's People

Contributors

geerthauwaerts avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.