首页 \ 问答 \ java 开发 SNMP 一些疑问

java 开发 SNMP 一些疑问

trap(告警)方式,代码是怎么实现的?  网元怎么知道什么时候需要报警? 还有代理端是怎么监听到有网元发消息过来的?难道是开个线程一直等待接收么? 都不太明白。 具体的SNMP含义已经明白了  而且百度上介绍SNMP知识的一大堆,不需要你们再复制粘贴了,  代码实现 给说下。 可能我问题没有说清楚,就是SNMP的trap告警 是怎么设置的?  比如说管理电脑集群,当被管理电脑的CPU使用率达到80%的时候 就向服务端发送告警。 这条告警该怎么设置?
更新时间:2022-10-31 19:10

最满意答案

您好,希望以下回答能帮助您
 好像不行,handlebars 的if功能比较弱,还是用自定义helper吧
如您还有疑问可继续追问。

其他回答

我不会~~~但还是要微笑~~~:)

相关问答

更多
  • 最后,我能够做到这一点,但我要以一种不太好的方式说出来:( 我注册了一个自定义助手,如下所示: // Need to mark selected option inside a select. Handlebars.registerHelper('select', function(variable, value) { if (variable == value) { return new Handlebars.SafeString('selected=selected'); ...
  • 相关文章

    更多
  • spring 疑问
  • 关于transient疑问
  • java垃圾回收的疑问
  • 关于Storm的一些疑问解答
  • 一段代码的疑问
  • 一段很简单代码的疑问
  • 关于原型模式clone浅拷贝的疑问
  • spring3MVC +spring security3 关于扩展UserDetailsService 无法注入service的疑问.
  • java开发环境配置
  • 传智播客JAVA邮件开发视频教程
  • 最新问答

    更多
  • 获取MVC 4使用的DisplayMode后缀(Get the DisplayMode Suffix being used by MVC 4)
  • 如何通过引用返回对象?(How is returning an object by reference possible?)
  • 矩阵如何存储在内存中?(How are matrices stored in memory?)
  • 每个请求的Java新会话?(Java New Session For Each Request?)
  • css:浮动div中重叠的标题h1(css: overlapping headlines h1 in floated divs)
  • 无论图像如何,Caffe预测同一类(Caffe predicts same class regardless of image)
  • xcode语法颜色编码解释?(xcode syntax color coding explained?)
  • 在Access 2010 Runtime中使用Office 2000校对工具(Use Office 2000 proofing tools in Access 2010 Runtime)
  • 从单独的Web主机将图像传输到服务器上(Getting images onto server from separate web host)
  • 从旧版本复制文件并保留它们(旧/新版本)(Copy a file from old revision and keep both of them (old / new revision))
  • 西安哪有PLC可控制编程的培训
  • 在Entity Framework中选择基类(Select base class in Entity Framework)
  • 在Android中出现错误“数据集和渲染器应该不为null,并且应该具有相同数量的系列”(Error “Dataset and renderer should be not null and should have the same number of series” in Android)
  • 电脑二级VF有什么用
  • Datamapper Ruby如何添加Hook方法(Datamapper Ruby How to add Hook Method)
  • 金华英语角.
  • 手机软件如何制作
  • 用于Android webview中图像保存的上下文菜单(Context Menu for Image Saving in an Android webview)
  • 注意:未定义的偏移量:PHP(Notice: Undefined offset: PHP)
  • 如何读R中的大数据集[复制](How to read large dataset in R [duplicate])
  • Unity 5 Heighmap与地形宽度/地形长度的分辨率关系?(Unity 5 Heighmap Resolution relationship to terrain width / terrain length?)
  • 如何通知PipedOutputStream线程写入最后一个字节的PipedInputStream线程?(How to notify PipedInputStream thread that PipedOutputStream thread has written last byte?)
  • python的访问器方法有哪些
  • DeviceNetworkInformation:哪个是哪个?(DeviceNetworkInformation: Which is which?)
  • 在Ruby中对组合进行排序(Sorting a combination in Ruby)
  • 网站开发的流程?
  • 使用Zend Framework 2中的JOIN sql检索数据(Retrieve data using JOIN sql in Zend Framework 2)
  • 条带格式类型格式模式编号无法正常工作(Stripes format type format pattern number not working properly)
  • 透明度错误IE11(Transparency bug IE11)
  • linux的基本操作命令。。。