SOLVEd!
sorry. for the answer :D
i did a strace of my snmpwalk and looks for snmp.conf search
i saw that my snmpwal looks for snmp.conf into
/usr/local/net-snmp-5.4.2.1/share/snmp/snmp.conf
i add mibs +ALL inside and now works great!
tahnks
ciao
Francesco
Francesco Andreozzi
Cell +39
2009/9/15 Francesco Andreozzi :
> but i put this info inside system wide snmp.conf (/etc/snmp/snmp.conf)
> but when i execute my snmpwalk always same output... oid for non default
> mibs! still to add -mALL
Is this a vendor-supplied version of "snmpwalk", or one you compiled yourself?
If you compi
ops, sorry...
but i put this info inside system wide snmp.conf (/etc/snmp/snmp.conf)
but when i execute my snmpwalk always same output... oid for non
default mibs! still to add -mALL
why this file is ignored ?
thanks Francesco
--
Francesco Andreozzi
Cell +39-335-1823624
NetStorm S.n.c
2009/9/15 Francesco Andreozzi :
> according to this page
> http://net-snmp.sourceforge.net/wiki/index.php/TUT:Using_and_loading_MIBS
> in my snmpd.conf i add
>
> mibs +ALL
No - that's not what it says.
Take a closer look at the name of the file that this tutorial refers to.
It's not "snmpd.conf"
Hi all, recently i write some mibs and agents.
All works great, but to receive the right output i need to execute
snmpwalk with -m ALL option, in order to load all my mibs files.
I looks at snmpd documentation and i saw an option for snmpd.conf
according to this page
http://net-snmp.sourceforge.
Hi,
I wrote an SNMP agentx subagent using code generated by mib2c program
and having example-demon.c as a base of my subagent daemon
(http://www.net-snmp.org/tutorial/tutorial-5/toolkit/demon/example-demon.c).
I'm wondering if there's a way to detect that subagent has been disconnected
from the m
Great man :)
Now you can solve others problems too...
From: Martin [mailto:[email protected]]
Sent: Tuesday, September 15, 2009 2:02 PM
To: [email protected]
Subject: Re: SubAgent Tutorial Problem
Problem solved:
The OID was not access
Problem solved:
The OID was not accessible because of insuficient user permissions. Giving more
permissions solved the Problem.
Nobody helped me i solved it myself :(
- Original Message -
From: Martin
To: [email protected]
Sent: Thursday, September 10, 2009
Further debugging showed that the change below caused _next_data_point()
To return NULL every time. To make snmpwalk actually work, the statement
should be "return put_index_data;". Sorry for the confusion.
-Leo Bredehoft