hyperic hq监控IBM Lotus Domino邮件服务器
webmaster 在 2011-07-19 09:05 提交
这里有个简单的Lotus Domino SNMP for Hyperic插件。属于社区贡献插件。已在Hyperic 3.2.x和Lotus Domino 6.5.5测试过。
Plugin: IBM Lotus Domino
Version: 1.0
Author: Vincent Knecht
注意:可能会编辑NOTES.MIB,在IMPORTS区块添加下面一行:
enterprise FROM SNMPv2-SMI
它需要启用IDomino SNMP agent, 并启动 quryset任务。
操作步骤(Windows服务器上):
net stop snmp
lnsnmp -Sc
net start snmp
net start lnsnmp
在Domino控制台,加载quryset
在notes.ini文件, 在ServerTasks行添加 quryset
<plugin name= "lotusdomino" > <property name= "MIBDIR" value= "/usr/share/snmp/mibs" /> <property name= "MIBS" value= "${MIBDIR}/NOTES-MIB.txt" /> <server name= "Lotus Domino" description= "Domino SNMP Agent" > <config include= "snmp" /> <!-- <filter name= "index" value= "snmpIndexName=${snmpIndexName},snmpIndexValue=%snmpIndexValue%" /> <filter name= "template" value= "${snmp.template}:${alias}:${index}" /> --> <property name= "PROC_QUERY" value= "State.Name.eq=nserver" /> <config> <option name= "installpath" description= "Lotus Domino Installation Path" type= "string" default = "/opt/domino" /> <option name= "snmpIp" description= "Lotus Domino SNMP agent IP" type= "ipaddress" default = "127.0.0.1" /> <option name= "snmpPort" description= "Lotus Domino SNMP agent port" type= "port" default = "161" /> <option name= "snmpVersion" description= "SNMP Version" default = "v2c" type= "enum" > <include name= "v1" /> <include name= "v2c" /> </option> <option name= "snmpCommunity" description= "SNMP Community" default = "mySNMPreadCommunity" /> </config> <plugin type= "measurement" class = "org.hyperic.hq.product.SNMPMeasurementPlugin" /> <plugin type= "autoinventory" class = "org.hyperic.hq.product.SNMPDetector" /> <property name= "template" value= "{snmp.template}:${alias}" /> <metric name= "Availability" template= "${snmp.template},Avail=true:lnNotesServerState:0" indicator= "true" /> <metric name= "Users" alias= "lnServerUsers" template= "${snmp.template}:${alias}:0" indicator= "true" /> <metric name= "Transaction per minute" alias= "lnServerTransPerMin" template= "${snmp.template}:${alias}:0" indicator= "true" /> <metric name= "Tasks" alias= "lnTaskCount" template= "${snmp.template}:${alias}:0" indicator= "true" /> <metric name= "Waiting Mails (remote delivery)" alias= "lnWaitingMail" template= "${snmp.template}:${alias}:0" indicator= "true" /> <metric name= "Waiting Mails (local delivery)" alias= "lnNumWaitingRecipients" template= "${snmp.template}:${alias}:0" indicator= "true" /> <metric name= "Dead Mails" alias= "lnDeadMail" template= "${snmp.template}:${alias}:0" indicator= "true" /> <!-- <metric name= "Users with Appointments" alias= "lnCalTotalUsers" indicator= "true" /> --> </server> </plugin> Lotus Domino serverLog Track Supported: No
|