共 13 篇文章 |
|
ubuntu server安装SNMP后无法远程访问的解决方法注:在centos中,注释掉/etc/sysconfig/snmpd中的内容即可[root@rs3 keepalived]# cat /etc/sysconfig/snmpd # snmpd command line options#OPTIONS="-LS0-6d -Lf /dev/null -p /var/run/snmpd.pid 127.0.0.1"Ubuntu是近年来非常热门、颇受好评的一个Linux发行版分支,所以选ubuntu系... 阅103 转0 评0 公众公开 14-09-25 11:05 |
snmpd 命令手册SNMPD(8) Net-SNMP SNMPD(8)NAME snmpd - daemon to respond to SNMP request packets.# 注释 :snmpd 命令是响应 SNMP 请求的守护进程。# 注释 :-H 选项显示所有 snmpd 知道的配置文件指令然后退出。# 注释 :-u <uid> 表示在打开监听 sockets 之后切换 uid 为指定值 # <uid> 部分可以... 阅3813 转8 评0 公众公开 14-07-14 10:09 |
关于SNMP的MIB文件的语法简述MIB file的开始和结束。MIB核心部分(对象标识,标量节点,表格对象的定义)对象标识。xxx是一个子树支,它定义在enterprises树支下,“22566” 是子树xxx在父树enterprises下的一个唯一对象标识符。zkClassInfoTable OBJECT IDENTIFIER ::= {xxx 1}SYNTAX SEQUENCE OF ZkClassInfoEntry.zkClassInfoEntry OBJECT... 阅4946 转13 评0 公众公开 14-07-10 16:20 |
% snmpget localhost NET-SNMP-TUTORIAL-MIB::nstAgentSubagentObject.0 NET-SNMP-TUTORIAL-MIB::nstAgentSubagentObject.0 = No Such Object available on this agent at this OID Start the subagent.% snmpget localhost NET-SNMP-TUTORIAL-MIB::nstAgentSubagentObject.0 NET-SNMP-TUTORIAL-MIB::nstAgentSubagentObject.0 = No Such Objec... 阅81 转0 评0 公众公开 14-07-09 15:25 |
net-snmp -- 如何打开agentx support.AgentX support is now included in the agent by default, but needsto be explicitly enabled before use.This support is also enabled automaticallywhen the ''-x'' flag is given (to specify a different master AgentX socket),or when the agent is invoked as an AgentX subage... 阅509 转1 评0 公众公开 14-07-04 10:46 |
Linux下安装与配置snmp服务一、安装snmp服务1、检查系统是否已经安装snmp的rpm包。net-snmp-libs-5.3.2.2-5.el5.i386.rpm.检查是否安装net-snmp-utils-5.3.2.2-5.el5,net-snmp-libs-5.3.2.2-5.el5,net-snmp-5.3.2.2-5.el5三个rpm包。net-snmp-5.3.2.2-5.el5.i386.rpm时,会提示必须先安装net-snmp-libs-5.3.2.2-5.el5.i386.rpm。(3)net-snm... 阅40 转0 评0 公众公开 14-07-03 15:57 |
浅谈 Linux 系统中的 SNMP Trap简介。#include <net-snmp/net-snmp-config.h> #include <net-snmp/net-snmp-includes.h>初始化。snmp_parse_oid(TRAP_NAME_1, tmpOID, &tmpOID_len)) snmp_error(“snmp_parse_oid”); snmp_add_var(pdu, objid_sysuptime, sizeof(objid_sysuptime)/sizeof(oid), ''t'', tempbu... 阅47 转0 评0 公众公开 14-07-03 14:18 |
SNMP support for keepalived | Vincent Bernatkeepalived.$ git clone https://github.com/vincentbernat/keepalived.git$ cd keepalived$ git checkout snmp$ ./configure --enable-snmp$ make.You get bin/keepalived which is the SNMP enabled keepaliveddaemon.May 28 17:21:19 L1 Keepalived_vrrp: NET-SNMP version 5.4.3 AgentX subag... 阅687 转3 评0 公众公开 14-07-01 14:58 |