Hi Paulo (sorry for misspelling your name previously),
My SNMP knowledge is fairly limited and I am not very familiar with the
IF-MIB, having only used NetSNMP for control and monitoring of
proprietary information. However I think I can see what the problem is.
To use the example from the snmpget manpage which you've kindly quoted,
I think the command you have entered is analogous to doing:
snmpget -c public zeus sysDescr.0
The answer to this is "what's sysDescr"? You need to give enough
information to find the item of information you want. "sysDescr" is
found inside "system". "system" itself holds some of the core SNMP
object definitions and so is known at the top level. To get to the
information you want to see, you need to indicate whereabouts it is in
the MIB, using its identifier (OID), such as "system.sysDescr.0", but I
suspect somebody has already given you the OID, if you look back over
previous e-mails!
This is just general SNMP stuff though, nothing to do with NetSNMP. Can
I suggest that you spend some time reading about SNMP in general, then
you'll hopefully be armed with the answers to these kinds of questions.
Despite the name, SNMP isn't all that simple - you can expect to spend
quite some time learning about it before you are really ready to use it
- sorry, but I don't think there are any shortcuts. If you find any, do
let me know! Thanks.
Regards
Raffles
Paulo Ricardo wrote:
very Nice Raffles.
I have one more question:
See the example below:
snmpget -c public zeus system.sysDescr.0
I tried the follow command:
snmpget -v1 -Cf -c public DNS2 LinkDown
and I receive the following message:
[EMAIL PROTECTED]> snmpget -v1 -Cf -c public DNS2 LinkDown
Error in packet
Reason: (noSuchName) There is no such variable name in this MIB.
Failed object: IF-MIB::linkDown
I suppose that the something are missing in the variable name,
Can you say which is the completely variable name for this case???
Ex system.LinkDown.0 ----> I test with this and the same error occurs
BR
Paulo
--
Visit our website at www.roke.co.uk
Roke Manor Research Ltd, Roke Manor, Romsey, Hampshire SO51 0ZN, UK.
The information contained in this e-mail and any attachments is proprietary to
Roke Manor Research Ltd and must not be passed to any third party without
permission. This communication is for information only and shall not create or
change any contractual relationship.
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users