应该将‘action=’设置为什么才能使提交使用相同的页面?
当我对以下内容进行提交时,目前我得到的是: action="./diag_system_ page _controls.htm“..but can just have action="”来表明我想重新加载相同的页面?
<span hidden="hidden">
<form id="SNMP_operation_windmarks_form_id" class="body_t" action=
嗨,我最近几天在做SNMP工作,我开发了一个小应用程序(SNMP Agent),它
* Run on 161 port.
* Have a tree structured OID support.
* Respond to all Get,GetNext,Set Pdu Request types.
* Tested with some SNMP Managers(free available) by get and set the values of the OID's.
但是,现在的问题是,当我用Cacti尝试它时,它不会有任何响应,但检测到windows snmp service
我通过以下方式将Oracle MIB添加到net-snmp:
snmp.conf中的mibs +OR-mib
shell中的#MIBS=+OR-mib
#export MIBS
#snmp restart
但是当我重新加载时:
#snmpwalk -v2c -c private 127.0.0.1 .1.3.6.1.4.1.111
我得到了:
snmpv2-smi::enterprises.111= no such available on this agent at this OID
我该如何解决这个问题?
谢谢
我正在尝试使用v3 -snmp5.5从一个简单的c程序发出SNMP snmp5.5请求。代码如下:
struct snmp_session session;
/* I've set all the properties, to make an SNMPv3 get */
sessionHandle = snmp_sess_open(&session);
/* setup pdu with a get request for some oid */
status = snmp_synch_response(pdu, &response);
我在与snmpd相同的机器上
有一个C函数,它将一些字符串返回给提供的指针:
void snmp_error(netsnmp_session *sess, int *clib_errorno,
int *snmp_errorno, char **errstring);
Perl6版本是:
sub snmp_error(Snmp-session, int32 is rw, int32 is rw, Str is rw) is native("netsnmp") { * };
snmp_error($sess, my int32 $errno, my int
我的snmp版本是5.7.2,在我将其安装到ubuntu上并尝试像这样获得磁盘空间后:
cloud@cloud:~/snmp/net-snmp-5.7.2$ snmpwalk -v 2c -c public 10.0.0.125 .1.3.6.1.4.1.2021.9.1.11
UCD-SNMP-MIB::dskTotalLow = No Such Object available on this agent at this OID
当我更改mib时,得到正确的答案如下:
cloud@cloud:~/snmp/net-snmp-5.7.2$ snmpwalk -v 2c -c public 1