You are on page 1of 38

Osmius

The Opensource Monitoring Tool


Taller de Monitorizacin Fcil
Osmius
The Opensource Monitoring Tool
Taller de Monitorizacin Fcil
Osmus
Peopeware
$chedule
2
What is Osmius?
Main capabilities and Concepts
Monitoring with Osmius.
nstances and $ervices Reports
Osmius infrastructure:
Deploying agents and Centralized Managing
Osmius Framework:
Let's make a new agent
What is Osmius?
Main capabilities and Concepts
Monitoring with Osmius.
nstances and $ervices Reports
Osmius infrastructure:
Deploying agents and Centralized Managing
Osmius Framework:
Let's make a new agent
hat is Osmius?
3
Osmius is Open software that allow us to monitor
and supervise anythingconnected to a network
Osmius is Open software that allow us to monitor
and supervise anythingconnected to a network
hat is "anything?
4
Systems
Host $erver,
Applications
Databases
$ervice is down
Response time
CPU % Load
And what about...
Social networks7
Clusters7
News about a new
protein7
Applications
eb Applications
$ervices
End user
experience
Response time
Transactions
hy monitoring?
5
now before your users that a problem has occurred...
...before they call you.
Foresee probIems before they arise....
...so you can prevent them from occur.
apacity pIanning....
... review historic data to analyze trends
mprove QuaIity...
Monitoring is an increasing Market
... there are more and more systems connected,
true?
ut... why monitoring?
6
$ave costs!
#educe non-avaiIabiIities in your business processes.
Use resources where they are supposed to be. Prioritize.
Foresee probIems and save hours spent deaIing with them.
Use that hours to improve or deveIop new areas.
Avoid faIse aIarms and the "aIways running" symptom.
Learn from your systems your users behavior.
hy Osmius?
7
asy: To understand...
...which means easy to implement.
usiness Oriented: From technical view...
...to service and business process targets.
Fast: ear real time application.
...C++ and C core. ot only scripts. 1000 events/sec in this laptop.
tendabIe: Osmius DeveIopment Framewok...
... build your own agents. Chose intrussive or not intrussive ones.
MuItipIatform...
... don't tie to specific vendors or markets.
Open software, open architecure, open research ...
... open business model, commercial support, universities.
Distributed Architecture
Your
Business
our "thngs"
Routers
Servers
Web
Servers
Databases
APl APl APl APl
MA MA MA
CS
Agents
Montor
Events
Masters
Confg tasks
Contro
Depoyment
Central
Recepton
Correatons
Notfcatons
Database
Console
Operaton & admn
Busness Vew
Agents
Centra Server
correatons
SOL Database
|ava Consoe
TomCat Server
Master Agents
Applications...
Stock Shares...
SSL
More than
100.000 events/sec
Round Robin
$torage Policy
ACE Framework
Fast :: Multiplatform
usiness View
Operation
Technca
Events
Instances
States
Routers Servers Web
Servers
Databases
Services
Managers
Servces
Avaabty
SLA
CRM Intranet ... Web
Business
Staff
SLAs
Process
Contro Pane
Notfcatons
Subscrptons
God Sver Bronze
More Views..
Admn
Securty
Data Mnng
Broken agreements - Predctons
Bng
P2 Pn
...
Process
Busness orented notfcatons
Services
SLA
lnstances
Osmius Features
10
nstance : Everything you want to monitor.
nstance Type : Defines the class of instance.
vent Types : Variables you poll from instance types.
vent : Value from a question to a
variable.
riticity : Event "color.
asy to understand...
nstance Types nstance
ntranet D
Customers D
Firewall Host
Other $erver
Event Types
# $essions?
CPU Load %?
Free disk Mb?
# Users?
Uptime?
Events
13 sessions in ntranet
99 sessions in CustD
10 seconds uptime CustD
0% CPU Load in firewall
100 users in Other!!
..................................
.... ....
Osmius Features
asy to understand...

vent vent
State State
lnstance
Types
lnstance
Types
ventType
System Desc
ventType
System Desc
lnstance Type: SNMP Device
lnstance: "Router"
lnstance Type: SNMP Device
lnstance: "Router"
Osmius Features
12
nstance : Everything you want to monitor.
Service : A group of nstances
SLA : $ervice Level Agrement
$ervices should accomplish $LAs
asy to ntegrate with the business...
"eta Router
"Alpha Host
ntranet
$ervice
....
ntranet D
Exchange $rv
"Gamma Host
$LA Gold
These services must be each
month:
Availability
99.999%
Ok $tate
95.999%
$LA Gold
These services must be each
month:
Availability
99.999%
Ok $tate
95.999%
Down: less than 10 minutes per week Down: less than 10 minutes per week
Osmius Features
Service Oriented
Service Service
Mean Time Between:
Failures - Recovery
Mean Time Between:
Failures - Recovery
Availability
30 days
Availability
30 days
Service
vents
Service
vents
Osmius Features
Defining SLAs
SLA Targets SLA Targets
Osmius Features
Tracking SLAs: ontroI PaneI
Osmius Features
16
Subscriptions : Every thing you want to informed about.
Even when you are out of office.
Subs. hanneI : You can be notified in several ways...
y e-mail.
y $M$. y Jabber. Using Asterisk
y a new travel ticketing in the
Help Desk.
asy to be informed... notifications

otification
Types
$ubscription
"notify me when
Channel
"by
e-mail
$M$
Time shifts
"if am in
....
$ervice Availability
Changes
nstance $tate
Change
nstance $tate
Change
$LA
ntranet
$ervice
X
orking time
ot orking time
Out of office
Jabber
Y
Osmius Features
IobaI State : Overall system mark between 0 and 100
ased on $ervice state and
availability.
Each service is weighted based on
$LAs targets.
Can be used to track system
evolution.
e notified when it's below 0.
asy to be informed... gIobaI state
17
Osmius Features
oncept : You don't need to know exactly the CPU load
on
day February, 16
th
2007 at 03:00 a.m.
The older the data the lesser the detail you need.
5 minutes ago : Exact
CPU Load
Last week : Hourly
average
Last year : Daily
average
More than two years : Doesn't matter!
Osmius parameters:
umber of days to delete data.
umber of days to group events: one average per
day.
asy to ... maintain
18
Osmius Features
Osmius automatically takes care of these parameters:
E : umber of days to Erase data.
D : Group events one per day.
H : Group events one per hour.
asy to ... maintain
19
CPU LOAD
TUX host
Today: Max. deta Today: Max. deta No Data No Data 1/day 1/day 1/hour 1/hour
D H
Osmius Features
orreIation :
f last event from HO$T01 instance was CPULOAD
with
state critical and a new event with the same type
arrives
only want to see one row if the state is also critical.
f a new event informs that ROUTER is up and ok,
please remove both events from "active view.
nstance $tate and $ervice $tate is calculated from
state
of active events.
The Active Events view should be clean.
asy to ... maintain. orreIation
20
Osmius Features
asy to ... maintain. orreIation
21

Repeated vents Repeated vents


"Only" 10 rows "Only" 10 rows
Historic View Historic View
Osmius Features
TempIates : Group events and parameters to apply in
batch mode to one or several
instances.
DefauIt : Osmius provides a default tempIate with the
main events and parameters a typical
nstance
monitoring.
asy to ... configure.
22
% CPU Load Look every 5 mins || arning: > 90 || Critical: > 95
# Users nactive
et Kytes Out Look every 5 mins || arning: > 100 || Critical: > 150 | $ilent
% CPU Load Look every 30 secs || arning: > 0 || Critical: > 5
Look every 30 secs || arning: > 10 || Critical: > 15
et Kytes Out Look every 60 secs || arning: > 30 || Critical: > 40
# Users
TempIate
"DefauIt"
TempIate
"Secure"
Osmius Features
SiIent mode :
You can configure each defined event to work in
"silent mode.
"Don't send me events unless there is change of
state
From OK to ARG
: YE$
From CRTCAL to
OK : YE$
From
OK to OK : O
$aves network resources and prevent resource starvation
asy to ... configure. SiIent Mode
23
Osmius Features
Agents : They are responsible of retrieve events.
Master Agents : They allow us to manage their agents.
Configuration changes.
Deploy of new agents and files.
Run in several platforms (unix,
windows)
asy to ... manage
24
Master
Server
HTTP Agent
Linux Agent
My$ql Agent
Master
...
HTTP Agent
Linux Agent
My$ql Agent
Reload
$tart | $top
Deploy
Events
Tasks
Config.
Events
nstances
SSL Secured
ommunications
Osmius Features
asy to ... manage
25
Master
Agent
Master
Agent
Agents Agents
Remote
Tasks
Remote
Tasks
Agent Parameters Agent Parameters
lnstances monitored
by this Master Agent's
agent.
lnstances monitored
by this Master Agent's
agent.
Osmius Features
oaIs :
Provide good reports within the Console.
A few selected reports.
First, think what you want.
Design it.
Try it.
Add paremeters (week, month, top 10, top
20,...)
s it ok?
You can always do it your self (Open $ource again)
Users don't need to install a new product "Osmius
Reporter
asy to etract information from data: #eports
26
Osmius Features
Top N events
dentify most problematic events by occurrence or criticity.
vent voIution per Day.
dentify event stroms and evolution.
Top N Active nstances.
hich items are generating more events and more alarms.
Top N non-avaiIabIe nstances or Services
hich items are those "always down. :(
27
#eports
Osmius Features
Top N Iess heaIthy Services
dentify most problematic $ervices.
nventory
Elements, $ervices, configured events...
nfrastructure
How many agents, where, type,...
#eports
28
Osmius Features
#eports
Osmius Features
DownIoads :
$ource code tarballs in $ourceForge.
Get last code from subversion in $F.
inary distribution for server and master agents.
One per platform.
Net - Net - Net :
e're working with itRock to make installers:
Multiplatform.
Graphical and text mode.
Very, very easy.
asy to instaII
30
www.btrock.co
m
Btrock's msson s to make software easer to use and depoy
Osmius Features
Agent Framework :
Develop new agents using Osmius Framework is easy.
Trainig courses and documentation is available.
How about one week to have a new agent? (our
average)
- ntegrated with Osmius and remote
management.
- Robust and tested.
- Fast
Define you own events:
"otify me when non-procesed orders > 31
Open Source : (GPLv2 Licence)
Users don't have to be tied to a specific provider.
hat kind of monitoring software you're relying on?
asy to epand
31
Development Model
MethodoIogy
$crum Agile methodology.
Organize features in a product stack.
Priorize the features:
Customers needs.
Product goals and research lines.
Prepare a Sprint: $et of features to fit in one-month.
#eIease a new internal or customer version every
month.
Unitary and integrated Tests
Documentation
igh visibiIity. Publish "burn down chart (next slide)
32
Development Model
33
Resuts and demo every month
Stabe reease: Twce a year
Task: Lasts two days mx.
Updated every day.
Vsbty
Enabes work at home.
Resuts and demo every month
Stabe reease: Twce a year
Task: Lasts two days mx.
Updated every day.
Vsbty
Enabes work at home.
(c) Softhouse
Development Model
34
Osmius 8.01-1 Osmius 8.04-1
Osmius 8.05-1 Osmius 8.07 Production
Documentation
35
What is Osmius?
http://www.Osmius.net
Osmius ManuaI - Wiki
http://www.Osmius.net/osmwiki
Osmius ProfessionaI Services
http://www.Osmius.com
What is Osmius?
http://www.Osmius.net
Osmius ManuaI - Wiki
http://www.Osmius.net/osmwiki
Osmius ProfessionaI Services
http://www.Osmius.com
$chedule
36
What is Osmius?
Main capabilities and Concepts
Monitoring with Osmius.
nstances and $ervices Reports
Osmius infrastructure:
Deploying agents and Centralized Managing
Osmius Framework:
Let's make a new agent
What is Osmius?
Main capabilities and Concepts
Monitoring with Osmius.
nstances and $ervices Reports
Osmius infrastructure:
Deploying agents and Centralized Managing
Osmius Framework:
Let's make a new agent
Osmus
The Opensource Montorng Too
Osmus s supported by
Mnstry of Scence and Educaton
Mnstry of Industry, Toursm and Trade
Centro de Desarroo Tecnogco e Industra
of Span
Osmus
The Opensource Montorng Too
Osmus s supported by
Mnstry of Scence and Educaton
Mnstry of Industry, Toursm and Trade
Centro de Desarroo Tecnogco e Industra
of Span
Osmus Peopeware
$cenarios
Osmius $erver
HTTP
Site1
HTTP
Site2
Osmius Console
Tech 1
$erver 1
oss 1
Antenna
Master01
M02 M03 M04
$erver 2
$erver
ireless Access Point
Firewall
$witch
Printer

You might also like