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
hostkvm怎么样?hostkvm是一家国内老牌主机商家,商家主要销售KVM架构的VPS,目前有美国、日本、韩国、中国香港等地的服务,站长目前还持有他家香港CN2线路的套餐,已经用了一年多了,除了前段时间香港被整段攻击以外,一直非常稳定,是做站的不二选择,目前商家针对香港云地和韩国机房的套餐进行7折优惠,其他套餐为8折,商家支持paypal和支付宝付款。点击进入:hostkvm官方网站地址hos...
特网云特网云为您提供高速、稳定、安全、弹性的云计算服务计算、存储、监控、安全,完善的云产品满足您的一切所需,深耕云计算领域10余年;我们拥有前沿的核心技术,始终致力于为政府机构、企业组织和个人开发者提供稳定、安全、可靠、高性价比的云计算产品与服务。官方网站:https://www.56dr.com/ 10年老品牌 值得信赖 有需要的请联系======================特网云美国高防御...
sharktech怎么样?sharktech鲨鱼机房(Sharktech)我们也叫它SK机房,是一家成立于2003年的老牌国外主机商,提供的产品包括独立服务器租用、VPS主机等,自营机房在美国洛杉矶、丹佛、芝加哥和荷兰阿姆斯特丹等,主打高防产品,独立服务器免费提供60Gbps/48Mpps攻击防御。机房提供1-10Gbps带宽不限流量服务器,最低丹佛/荷兰机房每月49美元起,洛杉矶机房最低59美元...
postgresql9.0为你推荐
网红名字被抢注我想问这个网红 名字叫什么 讲一下谢谢了安徽汽车网中国汽车十大品牌funnymudpee京东的显卡什么时候能降回正常价格啊,想买个1060bbs.99nets.com怎么把电脑的IP设置和路由器一个网段巫正刚想在淘宝开一个类似于耐克、阿迪之类的店、需要多少钱、如何能够代理www.kanav001.com跪求下载[GJOS-024] 由愛可奈 [Kana Yume] 現役女子高生グラビア种子的网址谁有kb123.net连网方式:wap和net到底有什么不一样的partnersonline国外外贸平台有哪些?www.ijinshan.com在电脑看港台电视台那个网站最好而又不用钱速度又快dadi.tv电视机如何从iptv转换成tv?
enom site5 免备案cdn 美国仿牌空间 debian7 河南移动邮件系统 bgp双线 33456 香港亚马逊 视频服务器是什么 lamp怎么读 中国联通宽带测速 可外链的相册 电信宽带测速软件 攻击服务器 密钥索引 免费获得q币 globalsign hosts文件 cdn免备案空间 更多