| By Hovhannes Avoyan | Article Rating: |
|
| February 21, 2013 09:43 AM EST | Reads: |
681 |
What is Chef?
With Chef, you write abstract definitions as source code to describe how you want each part of your infrastructure to be built, and then apply those descriptions to individual servers. The result is a fully automated infrastructure: when a new server comes online, the only thing you have to do is instruct Chef what role it should play in your architecture.
Now you can use Chef for deploying, updating and removing Monitis agent as well.
The following manual assumes that you already have configured, and are running, Chef infrastructure, so we will not discuss Chef installation and configuration procedures here, especially since it is wonderfully documented and easily referenced here !
The current version of Monitis Cookbook is tested on following operating systems:
- Debian 6.0.1 x86-64 bit
- Ubuntu 12.04 x86-64 bit
- Red Hat Enterprise Linux 6.3 x86-64 bit
- CentOS 6.2 x86-64 bit
- Fedora 17 x86-64 bit
- openSUSE 12.2 x86-64 bit
- Windows XP x86 bit
- Windows 7 x86-64 bit
- Windows Server 2003 64 bit
- Windows Server 2008 64 bit
There are 3 recipes:
install – Installs and configures Monitis monitoring Agent if not installed
update – Uninstalls and installs latest version of Monitis monitoring Agent
uninstall – Uninstalls Monitis monitoring Agent
Monitis cookbook installation is extremely easy and contains the following steps:
1. Installing from tarball
- Download the cookbook tarball
wget https://github.com/monitisexchange/monitis-chef-deployment/archive/master.zip
- Extract the cookbook tarball.
unzip master.zip
- Copy cookbook to chef cookbook folder
cp -r monitis-chef-deployment-master /var/chef/cookbooks/monitis
- Upload the cookbook to theChef Server. Use knife cookbook upload sub-command. There is no difference in its use for Open Source Chef Server, Hosted Chef or Private Chef.
knife cookbook upload monitis
- Download the cookbook from here GITHub
git clone git://github.com/monitisexchange/monitis-chef-deployment.git
- Upload the cookbook to theChef Server. Use knife cookbook upload sub-command. There is no difference in its use for Open Source Chef Server, Hosted Chef or Private Chef.
knife cookbook upload monitis
Now Monitis cookbook is installed and available in chef server, you can test and see it under the cookbooks section of chef WUI :
Before it can be used, you need to first set some attributes: installation directory and monitis username
You can set these attributes via Chef WUI, or by editing the cookbook template directly. If you have enough experience to edit cookbook, you probably won’t need to read this manual any more!
Below we illustrate how to configure Monitis agent using Chef WUI.
Setting Attributes
Attributes can be set in different levels:
1 Node level
2 Role Level
Generally you will not want to set attributes on node level, as you will then have to do this for every node separately. So we recommend always setting these attributes on Role level. (One for all)
For setting up attributes on Role level we will need :
Login to the Management Console and navigate to the Roles tab.
Click Create on the sub navigation bar.
Give the role a name and an optional description.
To add a recipe to the role, drag it from “Available Recipes” to “Run List”.
1. click “json” -> 2. “Default” from the “Default and Override Attributes” tree on the bottom left.
3. check “Autodetect type of attribute” checkbox
4. enter {“MONITIS”:{“USEREMAIL”:”YOUR_EMAIL@ADDRESS.com“,”PASSWORD”:”YOUR_MD5_PASSWORD”}}
5. click “Add Attribute”.
6) Click “Create Role” to save the new role.
Voila! You are set up and ready to use Monitis cookbook and from now on you can install Monitis agent on thousands of hosts using a single click.
Share Now:











Read the original blog entry...
Published February 21, 2013 Reads 681
Copyright © 2013 SYS-CON Media, Inc. — All Rights Reserved.
Syndicated stories and blog feeds, all rights reserved by the author.
More Stories By Hovhannes Avoyan
Hovhannes Avoyan is the CEO of Monitis, Inc., a provider of on-demand systems management and monitoring software to 50,000 users spanning small businesses and Fortune 500 companies.
Prior to Monitis, he served as General Manager and Director of Development at prominent web portal Lycos Europe, where he grew the Lycos Armenia group from 30 people to over 200, making it the company's largest development center. Prior to Lycos, Avoyan was VP of Technology at Brience, Inc. (based in San Francisco and acquired by Syniverse), which delivered mobile internet content solutions to companies like Cisco, Ingram Micro, Washington Mutual, Wyndham Hotels , T-Mobile , and CNN. Prior to that, he served as the founder and CEO of CEDIT ltd., which was acquired by Brience. A 24 year veteran of the software industry, he also runs Sourcio cjsc, an IT consulting company and startup incubator specializing in web 2.0 products and open-source technologies.
Hovhannes is a senior lecturer at the American Univeristy of Armenia and has been a visiting lecturer at San Francisco State University. He is a graduate of Bertelsmann University.
- Cloud People: A Who's Who of Cloud Computing
- CollabNet And UC4 Announce General Availability Of Joint Enterprise DevOps Platform
- Session Topics: 12th Cloud Expo / Cloud Expo New York
- The Software Freedom Conservancy – Fundraising Campaign: Non-Profit Accounting Software
- MicroStrategy Announces General Availability of MicroStrategy 9.3.1
- MicroStrategy Announces General Availability of MicroStrategy 9.3.1
- Project Floodlight Grows to the World’s Largest SDN Ecosystem; Global Users, Contributors and Partners Innovating Using Open Source SDN
- Remote Controlling a Car over the Web. Ingredients: Smartphone, WebSocket, and Raspberry Pi.
- Midokura Announces General Availability of Disruptive Network Virtualization Technology
- Social Business Intelligence Book Industry’s First Executive SBI Guide
- The Linux Foundation’s Collaboration – OpenDaylight Project – Open Source SDN
- Tech Trends To Watch In May 2013
- Cloud People: A Who's Who of Cloud Computing
- SUSE Receives Common Criteria Security Certifications
- Basho Announces Open Source Riak CS and General Availability of Riak CS Enterprise v1.3
- CollabNet And UC4 Announce General Availability Of Joint Enterprise DevOps Platform
- Session Topics: 12th Cloud Expo / Cloud Expo New York
- The Software Freedom Conservancy – Fundraising Campaign: Non-Profit Accounting Software
- MicroStrategy Announces General Availability of MicroStrategy 9.3.1
- MicroStrategy Announces General Availability of MicroStrategy 9.3.1
- Project Floodlight Grows to the World’s Largest SDN Ecosystem; Global Users, Contributors and Partners Innovating Using Open Source SDN
- Mobility News Weekly – Week of March 17, 2013
- Global Information Security Products And Services Industry
- Kevin Benedict’s What’s New in HTML5 – Week of February 24, 2013
- Java Developer's Journal Exclusive: 2006 "JDJ Editors' Choice" Awards
- The i-Technology Right Stuff
- Creating Web Applications with the Eclipse Web Tools Project
- Eclipse Special: Remote Debugging Tomcat & JBoss Apps with Eclipse
- Where Are RIA Technologies Headed in 2008?
- The Next Programming Models, RIAs and Composite Applications
- SYS-CON Webcast: Eclipse IDE for Students, Useful Eclipse Tips & Tricks
- How to Bring Eclipse 3.1, J2SE 5.0, and Tomcat 5.0 Together
- Eclipse: The Story of Web Tools Platform 0.7
- The Top 250 Players in the Cloud Computing Ecosystem
- "Eclipse 3.0 is a Great Leap Forward," Says JDJ's Dudney
- Developing an Eclipse BIRT Report Item Extension
































