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
艾云怎么样?艾云是一家去年年底成立的国人主机商家,商家主要销售基于KVM虚拟架构的VPS服务,机房目前有美国洛杉矶、圣何塞和英国伦敦,目前商家推出了一些年付特价套餐,性价比非常高,洛杉矶套餐低至85元每年,给500M带宽,可解奈飞,另外圣何塞也有特价机器;1核/1G/20G SSD/3T/2.5Gbps,有需要的朋友以入手。点击进入:艾云官方网站艾云vps促销套餐:KVM虚拟架构,自带20G的防御...
sharktech怎么样?sharktech鲨鱼机房(Sharktech)我们也叫它SK机房,是一家成立于2003年的老牌国外主机商,提供的产品包括独立服务器租用、VPS主机等,自营机房在美国洛杉矶、丹佛、芝加哥和荷兰阿姆斯特丹等,主打高防产品,独立服务器免费提供60Gbps/48Mpps攻击防御。机房提供1-10Gbps带宽不限流量服务器,最低丹佛/荷兰机房每月49美元起,洛杉矶机房最低59美元...
bgpto怎么样?bgp.to日本机房、新加坡机房的独立服务器在搞特价促销,日本独立服务器低至6.5折优惠,新加坡独立服务器低至7.5折优惠,所有优惠都是循环的,终身不涨价。服务器不限制流量,支持升级带宽,免费支持Linux和Windows server中文版(还包括Windows 10). 特色:自动部署,无需人工干预,用户可以在后台自己重装系统、重启、关机等操作!bgpto主打日本(东京、大阪...
postgresql9.0为你推荐
百度爱好者如何加入知道记者团,有什么条件吗,加入以后都干些什么?公司网络被攻击受到网络人身攻击如何处理?对对塔对对塔和魔方格那个是正宗的?西部妈妈网我爸妈在云南做非法集资了,钱肯定交了很多,我不恨她们。他们叫我明天去看,让我用心的看,,说是什么...刘祚天你们知道21世纪的DJ分为几种类型吗?(答对者重赏)原代码求数字代码大全?同ip网站同IP网站9个越来越多,为什么?同一ip网站同IP的网站互相链接会被K吗?同ip站点同IP做同类站好吗?51sese.comwww.51xuanh.com这是什么网站是骗人的吗?
yaokan永久域名经常更换 域名注册使用godaddy 双线服务器租用 个人域名备案 wordpress主机 香港ufo bbr java主机 搬瓦工官网 便宜建站 免费ftp空间申请 52测评网 40g硬盘 200g硬盘 isp服务商 爱奇艺vip免费试用7天 smtp虚拟服务器 主机返佣 酸酸乳 如何登陆阿里云邮箱 更多