Whereas in latest data it says - No Such Instance currently exists at this OID. Same time if I do a snmpwalk on my zabbix server; I get results.
I want to create my own MIB. I'm struggling on this from couple of weeks. I followed this tutorial and using net-snmp 5.7.3. What I'm doing is:
My setup: I have two VM's, both
Ubuntu 16 , one is snmp-server with IP:192.168.5.20 and the other snmp-agent with IP:192.168.5.21. I wrote a MIB, which compiles good without any error (This compilation is done only on the agent system, not on the server). I have already done this:
My MIB files are in this path:
/usr/share/snmp/mibs which is the default search path. I've already compiled it and generated .c and .h files successfully with the command: mib2c -c mib2c.int_watch.conf objectName . And than configured the snmp like this:
Everything worked fine. After this when I do (on the agent)
snmptranslate I get the output as:
And with the command
snmptranslate -On objectName.0 I get output as:
So, I'm getting the expected outputs on the agent system. Now my problem is I don't know how to get the same values from my server!
When I run
snmpget , from the server, I get this error:
Output when specified the OID:
Output when I do these:
I have searched it and still searching but no luck. What should I do? How should I use
snmpget from my server on my own MIBs? I mean something like I do with sysDescr.0 from my server.
I want to do this:
snmpget 192.168.5.21 myObjectName.0 and get the values.
EDIT: I have already seen these answers, but doesn't works. snmp extend not working and snmp no such object...
UPDATE 2:
When I do
snmpwalk on server:
When I do snmpget with
pingFullCompliance.15.46.49.46.51.46.54.46.49.46.50.46.49.46.56.48 :
So where am I going wrong? And what is pingFullCompliance.15.46.49.46.51.46.54.46.49.46.50.46.49.46.56.48? Why such a long OID?
Where am I going wrong? Can anyone point me in the right direction? Any suggestions are greatly appreciated.
Ashish Srivastava
Ashish SrivastavaAshish Srivastava
bumped to the homepage by Community♦yesterday
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
1 Answer
I had the exact same issue,It didn't work with 5.6.2.
How I solved it:
I've upgraded to 5.7.3 , then it started working.you need to take care for the following:
The following tutorial also helped:
ranshransh
Not the answer you're looking for? Browse other questions tagged snmpubuntu-16.04net-snmpsnmpdmib or ask your own question.
First of all, I'm a complete SNMP newbee.
My current situation: I need to monitor a LSI MegaRAID SAS 9361-8i in a Ubuntu 16.04 machine (let's call it fserv) with Zabbix. I managed to install/configure SNMP to display some information on the Zabbix server. So I'm sure snmp works in general on fserv and provides data to the Zabbix server.I have installed the lsi snmp agent on fserv but I'm not sure if it is configured right.I have modified the snmpd.conf file to pass the lsi agent. If I enter snmpwalk -v2c -c public <ip-from-fserv> .1.3.6.1.4.1.3582 on the Zabbix server the answer is iso.3.6.1.4.1.3582 = No Such Instance currently exists at this OID . Same happens if I run the command with snmpwalk -v2c -c public localhost .1.3.6.1.4.1.3582 on fserv.One thing which looks a little bit odd to me is that the lsi_mrdsnmpd service is marked as active (exited). I think it should be active but this is just a guess. My conf files: lsi_mrdsnmpd.conf snmpd.conf I have no clue what to do next.
des_Viech
des_Viechdes_Viech
1 Answer
You need to install the agent extension to monitor LSI MegaRAID:
By default snmpd supports RFC1213(MIB-2) and HOST-RESOURCES mibs.
In order to extend it you'll need to:
Also you'll need to copy MIB files. So net-snmp can pick them up:
Andrew KomiaginAndrew Komiagin
5,56311 gold badge88 silver badges1919 bronze badges
Not the answer you're looking for? Browse other questions tagged snmpzabbixraid or ask your own question.Comments are closed.
|
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |