| By Hovhannes Avoyan | Article Rating: |
|
| February 21, 2013 09:43 AM EST | Reads: |
684 |
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 684
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
- Windows Azure IaaS Reaches General Availability
- Predixion Software Announces General Availability of the Latest Version of its Predictive Analytics Platform
- Cloud Expo New York: The Big Challenge of Big Data & Hadoop Integration
- Agile Solutions for Cloud, Big Data, Mobility Services
- MicroStrategy Announces General Availability of MicroStrategy 9.3.1
- Cloud Computing: Cutting Costs, Boosting Profits
- AMAX Launches StorMax(TM) CFS, powered by IBM(R) General Parallel File System(TM) (GPFS(TM))
- NIST to Sponsor FFRDC Widespread Adoption of Integrated CyberSecurity
- Big Data: Visualizing the Strategic Business Imperative
- MicroStrategy Announces General Availability of MicroStrategy 9.3.1
- Benefits of Cloud Computing
- Cloud People: A Who's Who of Cloud Computing
- Windows Azure IaaS Reaches General Availability
- Portable Experimenter’s Platform, Powered by Raspberry Pi
- Predixion Software Announces General Availability of the Latest Version of its Predictive Analytics Platform
- SUSE Receives Common Criteria Security Certifications
- Basho Announces Open Source Riak CS and General Availability of Riak CS Enterprise v1.3
- Cloud Expo New York: Big Time - Introducing Hadoop on Azure
- Cloud Expo New York: Real-Time Analytics Using an In-Memory Data Grid
- Cloud Expo New York: The Big Challenge of Big Data & Hadoop Integration
- Help Desk Solution Empowers Employees
- Public Cloud’s Got a Silver Lining: Gartner
- Granular Enforcement of Access to File Systems Featured in Latest Release of FoxT ServerControl
- The Top 250 Players in the Cloud Computing Ecosystem
- Web Services Using ColdFusion and Apache CXF
- Cloud People: A Who's Who of Cloud Computing
- Red Hat Named "Platinum Sponsor" of Virtualization Conference & Expo
- Cloud Expo New York Call for Papers Now Open
- Eclipse "Pollinate" Project to Integrate with Apache Beehive
- An Introduction to Ant
- Cloud Expo 2011 East To Attract 10,000 Delegates and 200 Exhibitors
- Beehive Code Now Available in Apache
- 4th International Cloud Computing Conference & Expo Starts Today
- Apache's Tomcat 5.5 is First Release Ever to Use Eclipse JDT Java Compiler
- "Beehive" Now Officially an Open Source Project: Apache Beehive





























