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
Friendhosting商家在前面的篇幅中也又陆续介绍到,是一家保加利亚主机商,主要提供销售VPS和独立服务器出租业务,数据中心分布在:荷兰、保加利亚、立陶宛、捷克、乌克兰和美国洛杉矶等。这不近期黑色星期五活动,商家也有推出了黑五优惠,VPS全场一次性45折,虚拟主机4折,全球多机房可选,老用户续费可获9折加送1个月使用时长,VDS折后最低仅€14.53/年,有需要的可以看看。Friendhos...
厦门靠谱云股份有限公司 双十一到了,站长我就给介绍一家折扣力度名列前茅的云厂商——萤光云。1H2G2M的高防50G云服务器,依照他们的规则叠加优惠,可以做到12元/月。更大配置和带宽的价格,也在一般云厂商中脱颖而出,性价比超高。官网:www.lightnode.cn叠加优惠:全区季付55折+满100-50各个配置价格表:地域配置双十一优惠价说明福州(带50G防御)/上海/北京1H2G2M12元/月...
点击进入亚云官方网站(www.asiayun.com)公司名:上海玥悠悠云计算有限公司成都铂金宿主机IO测试图亚洲云Asiayun怎么样?亚洲云Asiayun好不好?亚云由亚云团队运营,拥有ICP/ISP/IDC/CDN等资质,亚云团队成立于2018年,经过多次品牌升级。主要销售主VPS服务器,提供云服务器和物理服务器,机房有成都、美国CERA、中国香港安畅和电信,香港提供CN2 GIA线路,CE...
postgresql9.0为你推荐
网红名字被抢注关于新浪微博昵称被抢注。我改微博名称时显示被抢注,但是却搜索这个昵称,又显示找不到这个人,请问为什梦之队官网NBA梦之队在哪下载?老虎数码我想买个一千左右的数码相机!最好低于一千五!再给我说一下像素是多少?长尾关键词挖掘工具外贸长尾关键词挖掘工具哪个好用51sese.comwww.51xuanh.com这是什么网站是骗人的吗?www.sesehu.comwww.121gao.com 是谁的网站啊kb123.net股市里的STAQ、NET市场是什么?partnersonline电脑内一切浏览器无法打开广告法新修订的《广告法》有哪些内容关键词分析如何进行关键词指数分析
国外免费vps vps虚拟服务器 lnmp softbank官网 iis安装教程 2017年黑色星期五 轻博 国外网站代理服务器 789电视网 135邮箱 如何安装服务器系统 怎么建立邮箱 免费外链相册 免费的asp空间 西安主机 中国linux 登陆qq空间 香港ip 塔式服务器 ncp 更多