Presentation is loading. Please wait.

Presentation is loading. Please wait.

S. Bancal / rev. 28 oct 2009 Page 1 ENAC-IT Nagios 3 - “Basics” EPFL – Espace Logiciel Libre à l'École Nagios 3 Meeting 1 “Basics”

Similar presentations


Presentation on theme: "S. Bancal / rev. 28 oct 2009 Page 1 ENAC-IT Nagios 3 - “Basics” EPFL – Espace Logiciel Libre à l'École Nagios 3 Meeting 1 “Basics”"— Presentation transcript:

1 S. Bancal / rev. 28 oct 2009 Page 1 ENAC-IT Nagios 3 - “Basics” EPFL – Espace Logiciel Libre à l'École Nagios 3 Meeting 1 “Basics”

2 S. Bancal / rev. 28 oct 2009 Page 2 ENAC-IT Nagios 3 - “Basics” Future presentations? Tirés de http://elle.epfl.ch/wikihttp://elle.epfl.ch/wiki ● Extensions de Firefox ● GPG ● Extensions de Thunderbird ● Méthodes de backup ● Droit d'auteur, licences open source ● X, DRI, Gallium … open source 3D drivers ● vi ● Nagios 3 « Implementations » ● <----- Votre proposition ici

3 S. Bancal / rev. 28 oct 2009 Page 3 ENAC-IT Nagios 3 - “Basics” Aim of the presentation ● Presentation of Nagios ● Open the discussion between Nagios admins

4 S. Bancal / rev. 28 oct 2009 Page 4 ENAC-IT Nagios 3 - “Basics” Why? ● Hardware / OS / software problem detection ● Level of resources reaching critical state (disk,...) ● Proactive management ● Be aware before the users are

5 S. Bancal / rev. 28 oct 2009 Page 5 ENAC-IT Nagios 3 - “Basics” What? ● Nagios ● Since 1999, GNU/GPL since 2002 ● Monitoring tool ( ≠ resources statistical tool) ● Scheduler of checks ● Web interface to see clearly what is going on ● Plugins which are doing the checks and return the result ● Knowledge of network/infrastructure topology ● Forks ● GroundWork ● Icinga ● Concurrents ● Zabbix - open ● Big sister - open ● Tivoli NetView - proprietary ● HP OpenView - proprietary ● Microsoft SCOM – proprietary

6 S. Bancal / rev. 28 oct 2009 Page 6 ENAC-IT Nagios 3 - “Basics” One day with Nagios The user gets alerts through : Mail :SMS : Phone... Subject: ** PROBLEM Service Alert: malc1-srv//srv/home partition is WARNING ** ***** Nagios ***** Notification Type: PROBLEM Service: /srv/home partition Host: malc1-srv Address: 128.178.43.7 State: WARNING Date/Time: Sun Nov 1 17:45:16 CET 2009 Additional Info: DISK WARNING - free space: /srv/home 165216 MB (11% inode=97%):

7 S. Bancal / rev. 28 oct 2009 Page 7 ENAC-IT Nagios 3 - “Basics” One day with Nagios What to do on alert? ● Go on Nagios, search for the problem ● Acknowledge it on Nagios ● (so notifications stops) ● Finally fix the problem!

8 S. Bancal / rev. 28 oct 2009 Page 8 ENAC-IT Nagios 3 - “Basics” One day with Nagios When Downtime is scheduled : tell Nagios It'll prevent notifications on that period.

9 S. Bancal / rev. 28 oct 2009 Page 9 ENAC-IT Nagios 3 - “Basics” How to? ● Describe expected things to Nagios ● Start the service! (easy isn't it?)

10 S. Bancal / rev. 28 oct 2009 Page 10 ENAC-IT Nagios 3 - “Basics” How to? contacthostservice contactgrou p hostgrou p servicegrou p timeperio d command

11 S. Bancal / rev. 28 oct 2009 Page 11 ENAC-IT Nagios 3 - “Basics” How to? What could be checked : ● Network services (SSH, SMTP, POP, IMAP, HTTP, FTP, flex,...) ● Internal resources with an agent (cpu load, mem usage, disk usage, nb of procs,...) ● Linux : ssh + nagios-plugins ● Windows : NRPE | NSClient (NSClient++) ● MacOSX : ssh + nagios-plugins (no experiment) ● Environmental monitoring (Temp, Hum, Light) ● NSCA - Nagios Service Check Acceptor ● Unreachable servers ● Distributed Monitoring

12 S. Bancal / rev. 28 oct 2009 Page 12 ENAC-IT Nagios 3 - “Basics” How to? Nagios check_ssh check_http check_by_s sh NSCA serv_c check_xy z send_nsc a serv_b SSH check_xy z serv_a HTTP SSH

13 S. Bancal / rev. 28 oct 2009 Page 13 ENAC-IT Nagios 3 - “Basics” How to? ● Checks : ● Plugin oriented architecture ● Nagios receives : ● Check's return values ● 0 : Everything OK ● 1 : reached WARNING level ● 2 : reached CRITICAL level ● 3 : UNKNOWN status (invalid arguments or error occured while doing the check) ● Check's output

14 S. Bancal / rev. 28 oct 2009 Page 14 ENAC-IT Nagios 3 - “Basics” How to? Nagios states : Define service{ host_nameproxy service_descriptionHTTP... normal_check_interval5 retry_check_interval1 max_checks_attempts6 }

15 S. Bancal / rev. 28 oct 2009 Page 15 ENAC-IT Nagios 3 - “Basics” How to? Network Topology :

16 S. Bancal / rev. 28 oct 2009 Page 16 ENAC-IT Nagios 3 - “Basics” How to? How to know what's happening? ● Web cgi ● Notifications via e-mail, sms,... (plugin oriented architecture) ● command line

17 S. Bancal / rev. 28 oct 2009 Page 17 ENAC-IT Nagios 3 - “Basics” DANGER! ! Too much info kills the info !

18 S. Bancal / rev. 28 oct 2009 Page 18 ENAC-IT Nagios 3 - “Basics” References ● http://www.nagios.org/ ● http://exchange.nagios.org/ ● http://community.nagios.org/ ● FI n°3/2008 Pascal JERMINI & Laurent DESIMONE ● NAGIOS 2nd ed, System and Network Monitoring Wolfgang BARTH

19 S. Bancal / rev. 28 oct 2009 Page 19 ENAC-IT Nagios 3 - “Basics” Demo & Questions? Thanks!

20 S. Bancal / rev. 28 oct 2009 Page 20 ENAC-IT Nagios 3 - “Basics” Nagios 3 – meeting 2 « Implementations » ● Distributed Monitoring ● Create new plugin for Nagios ● Extracting information from Nagios for other purpose ● Graphs ● Stats ● Special implementations ● VM ● Clusters ● Advance checks for Windows, MacOSX, Linux, printers, network, (SNMP),... ● Other?


Download ppt "S. Bancal / rev. 28 oct 2009 Page 1 ENAC-IT Nagios 3 - “Basics” EPFL – Espace Logiciel Libre à l'École Nagios 3 Meeting 1 “Basics”"

Similar presentations


Ads by Google