Lance Rea CIO Davis & Gilbert LLP...

35
Network Monitoring Presented by: Presented by: Lance Rea CIO CIO Davis & Gilbert LLP [email protected]

Transcript of Lance Rea CIO Davis & Gilbert LLP...

Page 1: Lance Rea CIO Davis & Gilbert LLP lrea@dglawilta.personifycloud.com/webfiles/productfiles/1970/OSS1.pdf · Lance Rea CIO Davis & Gilbert LLP lrea@dglaw.com. A Little Background info

Network MonitoringPresented by:Presented by:

Lance Rea

CIOCIO

Davis & Gilbert LLP

[email protected]

Page 2: Lance Rea CIO Davis & Gilbert LLP lrea@dglawilta.personifycloud.com/webfiles/productfiles/1970/OSS1.pdf · Lance Rea CIO Davis & Gilbert LLP lrea@dglaw.com. A Little Background info

A Little Background infoA Little Background info• D&G – 100+ Attorney firm in Midtown

M hManhattan• Full Service firm specializing in Media and

Advertising• One office location and one DR site• 40 servers, 225 PCs, 60+ printers & copiers• 8 people in IT (including me)• 8 people in IT (including me)• 95% Windows, 5% FOSS

Page 3: Lance Rea CIO Davis & Gilbert LLP lrea@dglawilta.personifycloud.com/webfiles/productfiles/1970/OSS1.pdf · Lance Rea CIO Davis & Gilbert LLP lrea@dglaw.com. A Little Background info

What is a Network Monitoring System?

• Monitors devices and servicesMonitors devices and services• Alerts staff to outages or performance

degradationdegradation• Common NMSs:

– Nagios OpenNMS Zenoss SpiceworksNagios, OpenNMS, Zenoss, Spiceworks– Tivoli, Argent, OpenView– WhatsUp Gold, ServersCheckWhatsUp Gold, ServersCheck– RRDTool, MRTG, PRTG, Cacti– SmokePing, NTOP, Etherealg, ,– Nessus & Snort

Page 4: Lance Rea CIO Davis & Gilbert LLP lrea@dglawilta.personifycloud.com/webfiles/productfiles/1970/OSS1.pdf · Lance Rea CIO Davis & Gilbert LLP lrea@dglaw.com. A Little Background info

What a NMS can do for youWhat a NMS can do for you

• Event monitoring – Alert us when something Event monitoring Alert us when something breaks

• Trend Analysis – CPU usage on SQL server Trend Analysis CPU usage on SQL server spikes every Wed. between 2PM & 4PM.

• Bandwidth Analysis – Who is chewing up all Bandwidth Analysis Who is chewing up all the bandwidth?

• Security Monitoring – check for patch levels Security Monitoring check for patch levels and detect network threats

Page 5: Lance Rea CIO Davis & Gilbert LLP lrea@dglawilta.personifycloud.com/webfiles/productfiles/1970/OSS1.pdf · Lance Rea CIO Davis & Gilbert LLP lrea@dglaw.com. A Little Background info

NagiosNagios

• "NAH-gee-ohs" with a hard 'G' like geese NAH-gee-ohs with a hard G like geese • Originally called NetSaint, written in C

G S• (Nagios Ain’t Gonna Insist on Sainthood)• GPL v2, runs on Linux and Unix variants• Extremely stable / reliable• Configuration is file-based/template readyConfiguration is file based/template ready• Supports active and passive checks as well as

distributed monitoring and failoverdistributed monitoring and failover

Page 6: Lance Rea CIO Davis & Gilbert LLP lrea@dglawilta.personifycloud.com/webfiles/productfiles/1970/OSS1.pdf · Lance Rea CIO Davis & Gilbert LLP lrea@dglaw.com. A Little Background info

Nagios ArchitectureNagios Architecture

• Simplest setup is one central server that polls Simplest setup is one central server that polls clients for information

• Install a ser ice to o r Windows and Lin • Install a service to your Windows and Linux servers (hosts)N f f• Nagios checks services on a host for one of the following states: OK, Warning, Critical,

kUnknown• Status is viewed from a web page served by

the Nagios server

Page 7: Lance Rea CIO Davis & Gilbert LLP lrea@dglawilta.personifycloud.com/webfiles/productfiles/1970/OSS1.pdf · Lance Rea CIO Davis & Gilbert LLP lrea@dglaw.com. A Little Background info

Tactical Overview ScreenTactical Overview Screen

Page 8: Lance Rea CIO Davis & Gilbert LLP lrea@dglawilta.personifycloud.com/webfiles/productfiles/1970/OSS1.pdf · Lance Rea CIO Davis & Gilbert LLP lrea@dglaw.com. A Little Background info

Host Problem ViewHost Problem View

Page 9: Lance Rea CIO Davis & Gilbert LLP lrea@dglawilta.personifycloud.com/webfiles/productfiles/1970/OSS1.pdf · Lance Rea CIO Davis & Gilbert LLP lrea@dglaw.com. A Little Background info
Page 10: Lance Rea CIO Davis & Gilbert LLP lrea@dglawilta.personifycloud.com/webfiles/productfiles/1970/OSS1.pdf · Lance Rea CIO Davis & Gilbert LLP lrea@dglaw.com. A Little Background info
Page 11: Lance Rea CIO Davis & Gilbert LLP lrea@dglawilta.personifycloud.com/webfiles/productfiles/1970/OSS1.pdf · Lance Rea CIO Davis & Gilbert LLP lrea@dglaw.com. A Little Background info
Page 12: Lance Rea CIO Davis & Gilbert LLP lrea@dglawilta.personifycloud.com/webfiles/productfiles/1970/OSS1.pdf · Lance Rea CIO Davis & Gilbert LLP lrea@dglaw.com. A Little Background info

Email AlertsEmail Alerts

Page 13: Lance Rea CIO Davis & Gilbert LLP lrea@dglawilta.personifycloud.com/webfiles/productfiles/1970/OSS1.pdf · Lance Rea CIO Davis & Gilbert LLP lrea@dglaw.com. A Little Background info

You can monitor lots of stuffYou can monitor lots of stuff

• CPU Usage • VOiPg• Memory Usage• Disk Usage

VOiP• UPSs via SNMP• Websites (external &

i l)• Service States• SQL, AD, Exchange

internal)• VMWare hosts & guests• Citrix

• File versions• Printer states• Routers / switches

Citrix• ANY Windows Service

• Routers / switches• Temp / humidity• SANsSANs

Page 14: Lance Rea CIO Davis & Gilbert LLP lrea@dglawilta.personifycloud.com/webfiles/productfiles/1970/OSS1.pdf · Lance Rea CIO Davis & Gilbert LLP lrea@dglaw.com. A Little Background info

Extending NagiosExtending Nagios

• Add visualization with NagVisAdd visualization with NagVis• Use check_mk plugin

f• Search the Exchanges & Internet for Plugins

Page 15: Lance Rea CIO Davis & Gilbert LLP lrea@dglawilta.personifycloud.com/webfiles/productfiles/1970/OSS1.pdf · Lance Rea CIO Davis & Gilbert LLP lrea@dglaw.com. A Little Background info

For the impatient…For the impatient…• Nagios is tough up front:

– CLI and text file editing can be intimidating– CLI and text file editing can be intimidating– Upgrades mean using a package manager or running make…– Some scripting helps get the most out of the system

• Groundworks (gwos.com) $59 / 100 devices– Gwos.com/resources: groundwork in an hour

• Zabbix / Mikoomi – silly names good monitoringZabbix / Mikoomi – silly names, good monitoring– Pre-built VM appliances

• OpsView Community Edition – pre-built VM• Turnkeylinux.org – hasn’t released a Nagios VM yet

Page 16: Lance Rea CIO Davis & Gilbert LLP lrea@dglawilta.personifycloud.com/webfiles/productfiles/1970/OSS1.pdf · Lance Rea CIO Davis & Gilbert LLP lrea@dglaw.com. A Little Background info

Configuration – Don’t be GUIConfiguration Don t be GUI

• GUI interfaces to configure Nagios stinkGUI interfaces to configure Nagios stink• Once setup, there are only a few config files

o ’ll need to maintainyou’ll need to maintain• WinSCP works great for this• Nagios was made for lazy editing• After using a GUI config for a couple years, g g p y ,

we’re back to hand-editing.• GUI Options – NINJA LilacGUI Options NINJA, Lilac

Page 17: Lance Rea CIO Davis & Gilbert LLP lrea@dglawilta.personifycloud.com/webfiles/productfiles/1970/OSS1.pdf · Lance Rea CIO Davis & Gilbert LLP lrea@dglaw.com. A Little Background info

Trend Analysis with CactiTrend Analysis with Cacti• Cacti is a web front-end for RRDTool

U SNMP t th t i• Uses SNMP to gather metrics• Produces clean, easy-to-read graphs• Monitors Network Traffic, Memory, and CPU

usage “out of the box”• You can create your own data sources to

monitor• Can be installed in Windows or Linux. (Both will

monitor Windows & Linux hosts)monitor Windows & Linux hosts)

Page 18: Lance Rea CIO Davis & Gilbert LLP lrea@dglawilta.personifycloud.com/webfiles/productfiles/1970/OSS1.pdf · Lance Rea CIO Davis & Gilbert LLP lrea@dglaw.com. A Little Background info
Page 19: Lance Rea CIO Davis & Gilbert LLP lrea@dglawilta.personifycloud.com/webfiles/productfiles/1970/OSS1.pdf · Lance Rea CIO Davis & Gilbert LLP lrea@dglaw.com. A Little Background info
Page 20: Lance Rea CIO Davis & Gilbert LLP lrea@dglawilta.personifycloud.com/webfiles/productfiles/1970/OSS1.pdf · Lance Rea CIO Davis & Gilbert LLP lrea@dglaw.com. A Little Background info
Page 21: Lance Rea CIO Davis & Gilbert LLP lrea@dglawilta.personifycloud.com/webfiles/productfiles/1970/OSS1.pdf · Lance Rea CIO Davis & Gilbert LLP lrea@dglaw.com. A Little Background info
Page 22: Lance Rea CIO Davis & Gilbert LLP lrea@dglawilta.personifycloud.com/webfiles/productfiles/1970/OSS1.pdf · Lance Rea CIO Davis & Gilbert LLP lrea@dglaw.com. A Little Background info

CactiEZCactiEZ

• CactiEZ is a pre-built distribution of Cacti with CactiEZ is a pre-built distribution of Cacti with other utilities

• B ilt on CentOS• Built on CentOS• Works well in VMWare• Features a plug-in architecture• Don’t let the 0.6 version scare you awayy y

Page 23: Lance Rea CIO Davis & Gilbert LLP lrea@dglawilta.personifycloud.com/webfiles/productfiles/1970/OSS1.pdf · Lance Rea CIO Davis & Gilbert LLP lrea@dglaw.com. A Little Background info

Network Monitoring with NTOPNetwork Monitoring with NTOP

• Gives a real-time look at network trafficGives a real-time look at network traffic• Extremely easy installation

W f• Web interface• Modest hardware requirements• Drill-down interface• Spot bandwidth hogs network anomalies and Spot bandwidth hogs, network anomalies, and

networking errors (flags)• Ntop data is NOT persistent*• Ntop data is NOT persistent*

Page 24: Lance Rea CIO Davis & Gilbert LLP lrea@dglawilta.personifycloud.com/webfiles/productfiles/1970/OSS1.pdf · Lance Rea CIO Davis & Gilbert LLP lrea@dglaw.com. A Little Background info

NTOP – Accumulated Network Traffic

• View of network traffic after 6 hours of View of network traffic after 6 hours of monitoring

Page 25: Lance Rea CIO Davis & Gilbert LLP lrea@dglawilta.personifycloud.com/webfiles/productfiles/1970/OSS1.pdf · Lance Rea CIO Davis & Gilbert LLP lrea@dglaw.com. A Little Background info

Streaming Radio anyone?Streaming Radio anyone?

Page 26: Lance Rea CIO Davis & Gilbert LLP lrea@dglawilta.personifycloud.com/webfiles/productfiles/1970/OSS1.pdf · Lance Rea CIO Davis & Gilbert LLP lrea@dglaw.com. A Little Background info

Vulnerability ScanningVulnerability Scanning

• Nessus was the standard app – no longer free.• OpenVAS is the GNU GPL fork of Nessus• MBSA is an option (can be scripted)

Page 27: Lance Rea CIO Davis & Gilbert LLP lrea@dglawilta.personifycloud.com/webfiles/productfiles/1970/OSS1.pdf · Lance Rea CIO Davis & Gilbert LLP lrea@dglaw.com. A Little Background info

SpiceWorksSpiceWorks• SpiceWorks (www.spiceworks.com)• Free (ad supported) Inventory and asset • Free (ad-supported) Inventory and asset

programb• Does basic monitoring

• “5-minute install”• No clients required on hosts• Support for larger networks has improved Support for larger networks has improved • Things SpiceWorks does:

http //www spiceworks com/spicelist/ http://www.spiceworks.com/spicelist/

Page 28: Lance Rea CIO Davis & Gilbert LLP lrea@dglawilta.personifycloud.com/webfiles/productfiles/1970/OSS1.pdf · Lance Rea CIO Davis & Gilbert LLP lrea@dglaw.com. A Little Background info

LanSweeperLanSweeper

• Strength is Hardware & Software InventoryStrength is Hardware & Software Inventory• Free version is nice, Premium is worth the $299 (Adds

AD-integration & custom reports)AD integration & custom reports)• Custom actions are really cool• Event log reporting• Event log reporting• OS & Software license compliance reports• Just added support for non windows devices (premium • Just added support for non-windows devices (premium

version only)• rolfsa blogspot com/2010/06/lansweeper html• rolfsa.blogspot.com/2010/06/lansweeper.html

Page 29: Lance Rea CIO Davis & Gilbert LLP lrea@dglawilta.personifycloud.com/webfiles/productfiles/1970/OSS1.pdf · Lance Rea CIO Davis & Gilbert LLP lrea@dglaw.com. A Little Background info

SplunkSplunk• Index your IT data

l ff S l k• Point syslog traffic at Splunk server• Getting data from Windows servers is now

easier• Nice drill-down web 2.0 interface• Free version has a limitation on data (500Mb /

day)day)• Watch the Splunk Ninja: splunkninja.com

h // S l k• http://www.Splunk.org

Page 30: Lance Rea CIO Davis & Gilbert LLP lrea@dglawilta.personifycloud.com/webfiles/productfiles/1970/OSS1.pdf · Lance Rea CIO Davis & Gilbert LLP lrea@dglaw.com. A Little Background info

Monitor External WebsitesMonitor External Websites

• Montastic is a free serviceMontastic is a free service• Let’s you monitor up to 3 sites• Checks every 30 minutes• Price plans check every 5 minutes and allow

more accounts

Page 31: Lance Rea CIO Davis & Gilbert LLP lrea@dglawilta.personifycloud.com/webfiles/productfiles/1970/OSS1.pdf · Lance Rea CIO Davis & Gilbert LLP lrea@dglaw.com. A Little Background info

DriftnetDriftnet• Displays images pulled from TCP stream

N O l f• Your NTOP server is a nice place for it• Careful what you wish for…• “if you are possessed of Victorian sensibilities,

and share an unswitched network with others who are not, you should probably not use it.”

• http://www.ex-parrot.com/~chris/driftnet/http://www.ex parrot.com/ chris/driftnet/

Page 32: Lance Rea CIO Davis & Gilbert LLP lrea@dglawilta.personifycloud.com/webfiles/productfiles/1970/OSS1.pdf · Lance Rea CIO Davis & Gilbert LLP lrea@dglaw.com. A Little Background info

Nagios LinksNagios Links• Official Nagios Website: nagios.org• Nagios Plugins Website: nagiosplugins.orgg g g p g g• Nagios Exchange: monitoringexchange.org• Monitoring Forge: monitoringforge.org• Socbox: http://gforge.ingby.com/gf/project/socbox/

• Your local on-line documentationhttp://yournagioshost/docs/index.html

• Building a Monitoring Infrastructure with NAGIOS –David Josephson (book)

Page 33: Lance Rea CIO Davis & Gilbert LLP lrea@dglawilta.personifycloud.com/webfiles/productfiles/1970/OSS1.pdf · Lance Rea CIO Davis & Gilbert LLP lrea@dglaw.com. A Little Background info

Cacti LinksCacti Links

• Main Cacti Site: http://cacti netMain Cacti Site: http://cacti.net• CactiEZ: http://cactiez.cactiusers.org

// /f /• CactiEZ Forums: http://cactiusers.org/forums/

Page 34: Lance Rea CIO Davis & Gilbert LLP lrea@dglawilta.personifycloud.com/webfiles/productfiles/1970/OSS1.pdf · Lance Rea CIO Davis & Gilbert LLP lrea@dglaw.com. A Little Background info

NTOP LinksNTOP Links• Home Site: http://www.ntop.org• Basic Setup Tips: • Basic Setup Tips:

http://bobcares.com/article60.html• Video on setup: Search for “install ntop”Video on setup: Search for install ntop• NTOP Usage:

http://www.ntop.org/UsageNotes.htmlhttp://www.ntop.org/UsageNotes.html• NTOP Guide:

http://techowto.files.wordpress.com/2008/09/ntop-guide.pdf

Page 35: Lance Rea CIO Davis & Gilbert LLP lrea@dglawilta.personifycloud.com/webfiles/productfiles/1970/OSS1.pdf · Lance Rea CIO Davis & Gilbert LLP lrea@dglaw.com. A Little Background info

Other LinksOther Links• Snort: http://www.snort.org• OpenNMS looks promising: www openNMS org• OpenNMS looks promising: www.openNMS.org• Checkout: NMap, SmokePing, & WireShark• Nagios Fork Icinga: www.icinga.org• Observium: www.observium.orgg