nagios插件开发指南 - nagios plug-in development guidelines(翻译)

nagios插件开发指南 - nagios plug-in development guidelines(翻译)

ID:6335444

大小:172.50 KB

页数:30页

时间:2018-01-10

nagios插件开发指南 - nagios plug-in development guidelines(翻译)_第1页
nagios插件开发指南 - nagios plug-in development guidelines(翻译)_第2页
nagios插件开发指南 - nagios plug-in development guidelines(翻译)_第3页
nagios插件开发指南 - nagios plug-in development guidelines(翻译)_第4页
nagios插件开发指南 - nagios plug-in development guidelines(翻译)_第5页
资源描述:

《nagios插件开发指南 - nagios plug-in development guidelines(翻译)》由会员上传分享,免费在线阅读,更多相关内容在行业资料-天天文库

1、Nagiosplug-indevelopmentguidelinesNagiosPluginsDevelopmentTeamCopyright©2000-2009NagiosPluginsDevelopmentTeamTableofContentsPreface1. Developmentplatformrequirements开发平台要求2. PluginOutputforNagiosNagios插件输出2.1. Printonlyonelineoftext只输出一行文本2.2. Verboseoutput详细输出2.3. ScreenOutput屏

2、幕输出2.4. PluginReturnCodesplugin返回代码2.5. Thresholdandranges阀值和区间2.6. Performancedata性能数据2.7. Translations翻译3. SystemCommandsandAuxiliaryFiles系统命令和附录文件3.1. Don'texecutesystemcommandswithoutspecifyingtheirfullpath不指定完整路径的情况下请不要执行系统命令3.2. Usespopen()ifexternalcommandsmustbeexecuted使

3、用spopen()执行外部命令3.3. Don'tmaketempfilesunlessabsolutelyrequired如果不是绝对需要不要创建临时文件3.4. Don'tbetrickedintofollowingsymlinks不要被下面的符号连接欺骗3.5. Validateallinput验证所有输入4. PerlPluginsPerl插件5. RuntimeTimeouts运行时超时5.1. UseDEFAULT_SOCKET_TIMEOUT使用DEFAULT_SOCKET_TIMEOUT5.2. Addalarmstonetworkpl

4、ugins添加报警到网络插件6. PluginOptions插件选项6.1. OptionProcessing选项处理6.2. Pluginswithmorethanonetypeofthreshold,orwiththresholdranges有多个临界值或有临界值序列的插件7. Testcases测试用例7.1. Testcasesforplugins插件测试用例7.2. TestingtheClibraryfunctions测试C库函数8. Codingguidelines编码向导8.1. CcodingC编码8.2. Creditingsour

5、ces认证源码8.3. CVScommentsCVS提交8.4. Translationsfordevelopers开发者翻译8.5. Translationsfortranslators翻译人员翻译9. Submissionofnewpluginsandpatches提交新插件或补丁9.1. Patches补丁9.2. Contributedplugins分发插件9.3. Newplugins新插件ListofTables1. Verboseoutputlevels详细输出级别2. PluginReturnCodes插件返回代码3. Exampler

6、anges系列实例4. Commandlineexamples命令行实例PrefaceThepurposeofthisguidelinesistoprovideareferencefortheplug-indevelopersandencouragethestandarizationofthedifferentkindofplug-ins:C,shell,perl,python,etc.这个向导的目的是为插件开发者提供一个手册,并为不同类型插件(如:C,shell,perl,python等)提供一个标准。NagiosPlug-inDevelopment

7、GuidelinesCopyright(C)2000-2009(NagiosPluginsTeam)Permissionisgrantedtomakeanddistributeverbatimcopiesofthismanualprovidedthecopyrightnoticeandthispermissionnoticearepreservedonallcopies.Thepluginsthemselvesarecopyrightedbytheirrespectiveauthors.插件的版权归开发者个人。TableofContents1. Dev

8、elopmentplatformrequirements2. PluginOutputforN

当前文档最多预览五页,下载文档查看全文

此文档下载收益归作者所有

当前文档最多预览五页,下载文档查看全文
温馨提示:
1. 部分包含数学公式或PPT动画的文件,查看预览时可能会显示错乱或异常,文件下载后无此问题,请放心下载。
2. 本文档由用户上传,版权归属用户,天天文库负责整理代发布。如果您对本文档版权有争议请及时联系客服。
3. 下载前请仔细阅读文档内容,确认文档内容符合您的需求后进行下载,若出现内容与标题不符可向本站投诉处理。
4. 下载文档时可能由于网络波动等原因无法下载或下载错误,付费完成后未能成功下载的用户请联系客服处理。