1PostgreSQL,PostgreSQLmonitoringandmonitoringpostgresql.
orgStefanKaltenbrunnerstefan@kaltenbrunner.
cchttp://www.
kaltenbrunner.
cc/blogNagiosconference2008Nuremberg,GermanySeptember2008AboutmyselfStefanKaltenbrunnerSeniorSystemsArchitectatconovacommunicationsMajorcontributortoPostgreSQLprojectInfrastructureandWebteamPatchesandPortabilityAgendaPostgreSQLPostgreSQLInternalsMonitoringPostgreSQLWhat,WhyandHowToolsMonitoringpostgresql.
orgQ&AAgendaPostgreSQLPostgreSQLInternalsMonitoringPostgreSQLWhat,WhyandHowToolsMonitoringpostgresql.
orgQ&APostgreSQLBSDlicencedORDBMSOpensourceProject20yearold,13yearsofOSSFast,reliableandstrongcommunityAdaptedandusedasthebaseforcommercialandproprietarysolutionsPostgreSQL~900.
000linesofcodehundredsofsubprojects~200activedevelopershttp://ohloh.
netprojects/postgres/AgendaPostgreSQLPostgreSQLInternalsMonitoringPostgreSQLWhat,WhyandHowToolsMonitoringpostgresql.
orgQ&AProcessbasedarchitectureOneprocessperconnectionNumberofdedicatedprocessesSharedmemoryOSlevelcachingHighlyportable(Unix,Windows,.
.
.
)PostgreSQLInternalsPIDTTYSTATTIMECOMMAND3321S0:01/usr/local/pgsql/bin/postgres-D/var/data/pg833324Ss0:10\_postgres:writerprocess3325Ds0:06\_postgres:walwriterprocess3326Ss0:02\_postgres:autovacuumlauncherprocess3327Ss0:01\_postgres:statscollectorprocess27998Ds0:14\_postgres:postgrestest[local]SELECT28583Ss0:01\_postgres:postgrestest[local]INSERTPostgreSQLInternalsPIDTTYSTATTIMECOMMAND3321S0:01/usr/local/pgsql/bin/postgres-D/var/data/pg833324Ss0:10\_postgres:writerprocess3325Ds0:06\_postgres:walwriterprocess3326Ss0:02\_postgres:autovacuumlauncherprocess3327Ss0:01\_postgres:statscollectorprocess27998Ds0:14\_postgres:postgrestest[local]SELECT28583Ss0:01\_postgres:postgrestest[local]INSERTPostgreSQLInternalsPIDTTYSTATTIMECOMMAND3321S0:01/usr/local/pgsql/bin/postgres-D/var/data/pg833324Ss0:10\_postgres:writerprocess3325Ds0:06\_postgres:walwriterprocess3326Ss0:02\_postgres:autovacuumlauncherprocess3327Ss0:01\_postgres:statscollectorprocess27998Ds0:14\_postgres:postgrestest[local]SELECT28583Ss0:01\_postgres:postgrestest[local]INSERTPostgreSQLInternalsPIDTTYSTATTIMECOMMAND3321S0:01/usr/local/pgsql/bin/postgres-D/var/data/pg833324Ss0:10\_postgres:writerprocess3325Ds0:06\_postgres:walwriterprocess3326Ss0:02\_postgres:autovacuumlauncherprocess3327Ss0:01\_postgres:statscollectorprocess27998Ds0:14\_postgres:postgrestest[local]SELECT28583Ss0:01\_postgres:postgrestest[local]INSERTPostgreSQLInternalsPIDTTYSTATTIMECOMMAND3321S0:01/usr/local/pgsql/bin/postgres-D/var/data/pg833324Ss0:10\_postgres:writerprocess3325Ds0:06\_postgres:walwriterprocess3326Ss0:02\_postgres:autovacuumlauncherprocess3327Ss0:01\_postgres:statscollectorprocess27998Ds0:14\_postgres:postgrestest[local]SELECT28583Ss0:01\_postgres:postgrestest[local]INSERTPostgreSQLInternalsPIDTTYSTATTIMECOMMAND3321S0:01/usr/local/pgsql/bin/postgres-D/var/data/pg833324Ss0:10\_postgres:writerprocess3325Ds0:06\_postgres:walwriterprocess3326Ss0:02\_postgres:autovacuumlauncherprocess3327Ss0:01\_postgres:statscollectorprocess27998Ds0:14\_postgres:postgrestest[local]SELECT28583Ss0:01\_postgres:postgrestest[local]INSERTPostgreSQLInternalsAgendaPostgreSQLPostgreSQLInternalsMonitoringPostgreSQLWhat,WhyandHowToolsMonitoringpostgresql.
orgQ&AMonitoringPostgreSQLPieceofsoftware–needsCPU,RAMandDiskCurrentstateHistoricstateTrendsApplicationspecificinformationSlowqueriesErrorsInternalstateAgendaPostgreSQLPostgreSQLInternalsMonitoringPostgreSQLWhat,WhyandHowToolsMonitoringpostgresql.
orgQ&APostgreSQLMonitoringDirectandindirectIO,CPUandMemoryusageMaintenancetasksBackgroundactivityAverageandworstcaselatencyApplicationspecificusesPostgreSQLMonitoringLocksActiveQueriesQueryDistributionCacheefficiencyDiskUsageAgendaPostgreSQLPostgreSQLInternalsMonitoringPostgreSQLWhat,WhyandHowToolsMonitoringpostgresql.
orgQ&AMonitoringPostgreSQLStatisticscollectorSystemcatalogsLogfiles(role,databaseandsession)DtraceOperatingSystemtoolsMonitoringPostgreSQLcheck_postgres.
plpgFouineMuninpgsnmpdcat/grep/awkandsedTools-check_postgres.
plSwissarmyknifeofstatusmonitoringTablesizes,Transactionstatus,replication,maintainanceoperations,locks,numberofconnectionsandqueryruntimeMRTGmodeMusthaveforanynagiosbasedPostgreSQLmonitoringTools-check_postgres.
plmastermind@mastermind:~$check_postgres.
pl-w"10MB"-dbtest--actiondatabase_sizePOSTGRES_DATABASE_SIZEWARNING:DB"test"test:43719908(42MB)postgres:4324580(4223kB)template0:4243460(4144kB)template1:4243460(4144kB)|time=0.
04test=43719908postgres=4324580template0=4243460template1=4243460mastermind@mastermind:~$check_postgres.
pl-w"16"-dbtest--actionwal_filesPOSTGRES_WAL_FILESOK:8|time=0.
04mastermind@mastermind:~$check_postgres.
pl-w"1minute"-dbtest--actionquery_runtime--queryname"pg_class"POSTGRES_QUERY_RUNTIMEOK:DB"test"queryruntime:0.
00089seconds|time=0.
04qtime=0.
00089mastermind@mastermind:~$check_postgres.
pl-w"1minute"-dbtest--actiontxn_timePOSTGRES_TXN_TIMEWARNING:longesttxn:528s|time=0.
04maxtime:528Tools-pgFouinePHPbasedlogfileanalyzerCreatesnicelyformatedreportsreplay/benchmarkintegrationRequiresqueryloggingTools-pgFouineTools-pgFouineTools-MuninSimplemonitoringsolutionPluginbasedwithagentonthehostPostgresqlpluginsavailableNagiosintegrationforalertingTools-MuninTools-pgsnmpdSNMPbasedmonitoringRFC1697(RDBMS-MIB)NoPostgreSQLspecificMIByetMostlyusefulinSNMPonlyenvironmentsAgendaPostgreSQLPostgreSQLInternalsMonitoringPostgreSQLWhat,WhyandHowToolsMonitoringpostgresql.
orgQ&AMonitoringpostgresql.
org~50monitoredhosts(abouthalffullycommunitymanaged)340monitoredservicesFreeBSD,Debian,Ubuntu,Slackware,CentOS,RedhatEnterpriseLinuxandVMwareAustria,Canada,France,Israel,Panama,Sweden,USAMonitoringpostgresql.
orgNagiosbasedSmokepinglatencytrackingMuningraphingTracConfigurationchangemanagementInternalticketingDocsCoordinationthroughIMandMailinglistsMonitoringpostgresql.
orgFreeBSDjails2-8jails/hostNagios+NRPEMunin/SmokepingCustomchecksProjectspecificthingsHardwarechecksSecurityrelatedchecksMonitoringpostgresql.
orgThankyou!
Questions
LOCVPS发布了7月份促销信息,全场VPS主机8折优惠码,续费同价,同时香港云地/邦联机房带宽免费升级不加价,原来3M升级至6M,2GB内存套餐优惠后每月44元起。这是成立较久的一家国人VPS服务商,提供美国洛杉矶(MC/C3)、和中国香港(邦联、沙田电信、大埔)、日本(东京、大阪)、新加坡、德国和荷兰等机房VPS主机,基于XEN或者KVM虚拟架构,均选择国内访问线路不错的机房,适合建站和远程办...
百纵科技:美国高防服务器,洛杉矶C3机房 独家接入zenlayer清洗 带金盾硬防,CPU全系列E52670、E52680v3 DDR4内存 三星固态盘阵列!带宽接入了cn2/bgp线路,速度快,无需备案,非常适合国内外用户群体的外贸、搭建网站等用途。C3机房,双程CN2线路,默认200G高防,3+1(高防IP),不限流量,季付送带宽美国洛杉矶C3机房套餐处理器内存硬盘IP数带宽线路防御价格/月套...
华纳云(HNCloud Limited)是一家专业的全球数据中心基础服务提供商,总部在香港,隶属于香港联合通讯国际有限公司,拥有香港政府颁发的商业登记证明,保证用户的安全性和合规性。 华纳云是APNIC 和 ARIN 会员单位。主要提供数据中心基础服务、互联网业务解决方案, 以及香港服务器租用、香港服务器托管、香港云服务器、美国云服务器,云计算、云安全技术研发等产品和服务。其中云服务器基于成熟的 ...
postgresql9.0为你推荐
.cn域名cn域名和com域名有啥区别?各有啥优点?newworldNew World Group是什么组织rawtoolsRAW是什么衣服牌子www.e12.com.cn有什么好的高中学习网?51sese.com谁有免费看电影的网站?www.zhiboba.com登录哪个网站可以看nba当天的直播 是直播dadi.tv1223tv影院首页地址是什么?1223tv影院在哪里可以找到?hao.rising.cn电脑每次开机的时候,都会弹出“http://hao.rising.cn/?b=34” 但是这个时百度关键字百度推广多少关键词合适www.1100.com诺亚洲1100怎么下电影
国内免费空间 香港vps主机 新网域名解析 域名抢注工具 星星海 stablehost 安云加速器 鲨鱼机 搜狗抢票助手 免费ftp空间申请 免费全能空间 小米数据库 大容量存储器 七夕快乐英文 股票老左 nerds 服务器监测 paypal注册教程 全能空间 photobucket 更多