nagios-cacti

Document Sample
nagios-cacti Powered By Docstoc
					                             Nagios & Cacti
                             Network monitoring and graphing




 Randy Saeks, Network Administrator
 Northbrook / Glenview School District 30

Thursday, January 29, 2009                                     1
                                   Nagios vs Cacti
                                 Nagios                         Cacti
                    •        Network Monitoring         •   Network Graphing

                    •        Text File Based            •   SQL Database

                    •        TCP, UDP, SNMP, etc        •   SNMP

                    •        Web front-end              •   Web front-end

                    •        Support for E-Mail and     •   Requires human
                             text message notification       notification


Thursday, January 29, 2009                                                     2
                                 SNMP?

                    • “Simple” Network Management Protocol
                    • Think of it as LDAP for a device
                    • OID - Object IDentifier
                    • MIB - Management Information Base

Thursday, January 29, 2009                                   3
                                  Nagios

                    • Monitor a device
                    • Monitor a service on a device
                    • Query via SNMP for specific data


Thursday, January 29, 2009                              4
                 What can you monitor?




Thursday, January 29, 2009               5
                               Nagios - Devices


                    • Is the device up and running?
                    • Uses the ping command
                    • Verifies it is connected to the network and
                             reachable


Thursday, January 29, 2009                                         6
                             Nagios - Services

                    • WWW
                    • DHCP
                    • TCP / UDP custom ports (AFP - TCP 548)
                    • SNMP
                    • SMTP

Thursday, January 29, 2009                                     7
                             Nagios - SNMP

                    • Check for uptime
                    • Check if a printer is out of paper
                    • Check for any other SNMP value


Thursday, January 29, 2009                                 8
                             An Example ...

                                     Student File Server

                                       Use ping to make sure
                                        it is up and running



                                         Use a TCP service
                                        check to make sure
                                       TCP port 548 is open




Thursday, January 29, 2009                                     9
                             One more ...
                                             Lab Printer

                                 Use ping to make sure it is up and running



                                         TCP Check to make sure
                                         LPR Port (9100) is open



                                         SNMP Check on OID for
                                              paper level

Thursday, January 29, 2009                                                    10
                             Live Example




Thursday, January 29, 2009                  11
                                     Resources
    Installing Nagios
               http://homepage.mac.com/duling/halfdozen/Nagios-Howto-p1.html

     Configuring Nagios
               http://www.totkat.org/pages/nagios-conf.shtml

     MIB Browser
                http://www.ireasoning.com/download.shtml

      MIBs
                http://support.ipmonitor.com/snmp_center.aspx
                http://www.oidview.com/mibs/detail.html
Thursday, January 29, 2009                                                     12
                                    Cacti

                    • Collect and display data about a device
                    • Show trends and what is really happening
                    • Query via SNMP for specific data


Thursday, January 29, 2009                                       13
                         What can you graph?

                    • Bandwidth (total and 95th percentile)
                    • Disk Space on servers
                    • Wireless Clients
                    • E-Mail utilization
                    • Anything with an SNMP OID

Thursday, January 29, 2009                                    14
                             Cacti - Templates

                    • Pre-setup templates
                    • Community Templates
                    • Write your own


Thursday, January 29, 2009                       15
                             Cacti - SNMP

                    • Check for Interface Statistics
                     • Graph Routers
                     • Core switch to other switches
                    • Check for any other SNMP value

Thursday, January 29, 2009                             16
                             An Example ...

                                     Student File Server

                                       Graph total diskspace




Thursday, January 29, 2009                                     17
                             One more ...
                                      Lab Printer

                                     Graph Toner Levels



                                    Graph when things are
                                          printed




Thursday, January 29, 2009                                  18
                             Live Example




Thursday, January 29, 2009                  19
                                     Resources
    Installing Cacti
             http://www.cacti.net/cactid_install.php

             E-Mail me: rsaeks@district30.k12.il.us

    MIB Browser
               http://www.ireasoning.com/download.shtml

     MIBs
              http://support.ipmonitor.com/snmp_center.aspx

               http://www.oidview.com/mibs/detail.html

Thursday, January 29, 2009                                    20
                             Questions?



Thursday, January 29, 2009                21

				
DOCUMENT INFO
Shared By:
Categories:
Tags:
Stats:
views:183
posted:1/16/2012
language:English
pages:21