RE: snmpwalk problem

2019-01-24 Thread Jurkiewicz Jean-Marc
Hi Elie, In my comprehension of SNMP, I use snmpwalk to get all the" leaves" of a "branch" (and "under-branches"), and snmpget to get a specific "leave" of a branch. So snmpwalk localhost jinny.generic.jar.smppsirTable.smppsirEntry.smppsir-dlvmo.115 make not really sense, or am I wrong ? I

RE: couldn't open udp:162 -- errno 98 ("Address already in use")

2017-05-17 Thread Jurkiewicz Jean-Marc
Hi, From what I see : It seems that the SNMP trap daemon is working and listening on port 162, what is OK. How is this daemon configured : snmptrapd.conf ? => per default the Traps are not handled How is your cisco router configured: / does it send Traps ? snmp-server host

RE: MIB format

2016-05-18 Thread Jurkiewicz Jean-Marc
Hi I think that in : .1.3.6.1.4.1.9.9.187.1.2.5.1.17.32.1.14.16.255.255.17.0.0.0.0.0.0.0.0.2=04 00 04 00 is the Error code and Error subcode (https://tools.ietf.org/html/rfc4271#page-21) NOT 32.1.14.16.255.255.17.0.0.0.0.0.0.0.0.2 So the error 04 = Hold time expired Subcode 02 = bad message

RE: Best practice to get counters from a huge amount of routers.

2016-05-09 Thread Jurkiewicz Jean-Marc
Hi, Like James, I wrote tools that handle several 10K variables on 5 minute interval. I am not at all trying to discourage you in your project. There are some concern you should keep in mind: Please always remember that the primary role of the network / network equipment you try to

RE: Please correct my understanding regarding snmpwalk

2016-03-20 Thread Jurkiewicz Jean-Marc
Hi, Snmptranslate knows what .1.3.6.1.4.1.8072.2 is, but the equipment ( localhost in this case) has no “answer” to that request : No Such Object available on this agent at this OID Best regards JMJ De : Aslam Abbas [mailto:xach...@gmail.com] Envoyé : vendredi, 18. mars 2016 11:50 À :

RE: Antw: Network interfaces rename

2015-11-04 Thread Jurkiewicz Jean-Marc
> Is it possible to change the network interfaces names No : ifDescr (1.3.6.1.2.1.2.2.1.2) is Read-Only ( unless you are the fabricant of the device on which you read it (127.0.0.1) ) > ( or to create ‘aliases’) ? Yes if the device on which you read it (127.0.0.1) support it Best regards

RE: Network interfaces rename

2015-11-04 Thread Jurkiewicz Jean-Marc
If you "aliased" the Interface ( set a description to the interface), you will find MIBs variable (ifAlias = 1.3.6.1.2.1.31.1.1.1.18) that will allow you to display these aliases [jur466@nocu07 ~]$ snmpwalk -c MyCS MyRouter 1.3.6.1.2.1.2.2.1.2 .1.3.6.1.2.1.2.2.1.2.1 = STRING: Vlan1

RE: Snmpd blind scan on different subnet

2015-07-30 Thread Jurkiewicz Jean-Marc
Is IP connectivity insured between the subnets ( can you ping the moved computer from the SNMP-querying one ?) Firewalls ??? Etc etc Best regards JM De : Tien To Tran [mailto:totrant...@gmail.com] Envoyé : jeudi, 30. juillet 2015 13:04 À : net-snmp-users@lists.sourceforge.net Objet : Snmpd

RE: perl pass_persist getnext/getbulk - no end of MIB

2015-07-13 Thread Jurkiewicz Jean-Marc
Hi all, GETBULK always fills the returned buffer, so if your request does not completely fill the returned buffer, the agent will read further in the OID tree to fill the buffer. (please have a look at http://jmjmon.eu/LaSupervisionDeReseau/SNMP_Mon-V010.pdf page 74 and further) From my

RE: Where to find SNMP MIB files close to root?

2015-07-09 Thread Jurkiewicz Jean-Marc
Hi Martin, May I kindly ask you to read the RFC1155 and 1156... you will find a lot of information and most of the answers to your questions... Readings about ASN.1 A good starting point for you - as far as I can estimate your know-how about SNMP - concurrently to reading at least these RFCs,

RE: correlation of MIB files and MIB support on SNMP agents

2015-07-09 Thread Jurkiewicz Jean-Marc
-Message d'origine- De : Martin T [mailto:m4rtn...@gmail.com] Envoyé : jeudi, 9. juillet 2015 15:58 À : Jurkiewicz Jean-Marc Cc : stua...@alleninstitute.org; net-snmp-users@lists.sourceforge.net Objet : Re: correlation of MIB files and MIB support on SNMP agents Hi, by SNMP agent I mean a piece

RE: correlation of MIB files and MIB support on SNMP agents

2015-07-09 Thread Jurkiewicz Jean-Marc
Hi Stuart, How should mib2c or equivalent analyse the MIB file and generate C code for instance returning the amount of octet that went through the interface with index 3 that is the Fast Ethernet 0 of a Switch, if there is no counter implemented on that interface ??? Mib2c should then be

RE: correlation of MIB files and MIB support on SNMP agents

2015-07-09 Thread Jurkiewicz Jean-Marc
Hi Martin 1) What do you understand by SNMP agent ? Do you mean the management station ? 2) To answer your question : Please have a look to : http://jmjmon.eu/LaSupervisionDeReseau/SNMP_Mon-V010.pdf page 14+ RFCs and IAB Status are the answer to your question If you talk about private MIBs,

RE: find SNMP ifIndex value if hostname and SNMP ifDescr are known

2015-05-15 Thread Jurkiewicz Jean-Marc
[mailto:m4rtn...@gmail.com] Envoyé : mercredi, 13. mai 2015 10:40 À : Jurkiewicz Jean-Marc Cc : net-snmp-users@lists.sourceforge.net Objet : Re: find SNMP ifIndex value if hostname and SNMP ifDescr are known Jean-Marc, sorry, my mistake. $ in grep -E GigabitEthernet5/26$ ensures that I get

RE: find SNMP ifIndex value if hostname and SNMP ifDescr are known

2015-05-12 Thread Jurkiewicz Jean-Marc
Hi, gsed -r s/IF-MIB::ifDescr.([0-9]+) .*/\1/ part is to make sure that I get the ifIndex of the physical interface and not the sub-interface like GigabitEthernet5/26.123. Isn't that achieved by the $ in grep -E GigabitEthernet5/26$ Some further information would be welcome in order to be

RE: SNMP traps and unknown log file

2015-01-27 Thread Jurkiewicz Jean-Marc
Hi, I can only share my experience on Fedora 20 where the trap daemon replaces the very first « .1 » by iso, So I had to: JmonTH.pl: ### Fedora20 trap daemon sends the traps in the form : iso.3.6.1.6.3.1.1.4.1.0 JmonTH.pl: ### Substitute Starting iso by 1 JmonTH.pl: $line

RE: Extracting index(es) from response OID

2014-10-14 Thread Jurkiewicz Jean-Marc
Hi, Shane, I guess you are talking about Indexes ( not indices). The index is the last value after the last dot. i.e 1.2.3.4.5.6 = 123 , 6 is the index, 123 is the returned value This index refers a table that is only valid for the MIB you are reading. A same physical entity/interface ( i.e. a

RE: Timeout

2013-07-29 Thread Jurkiewicz Jean-Marc
With « term mon » ( Terminal monitor) + debug snmp entered on the switch, you should get some messages on the switch. Do you see some ? Best regards JM De : Abid Ayoub [mailto:abid.ay...@gmail.com] Envoyé : Montag, 29. Juli 2013 10:01 À : Lee Cc : net-snmp-users@lists.sourceforge.net Objet :

RE: Timeout

2013-07-29 Thread Jurkiewicz Jean-Marc
etc De : Abid Ayoub [mailto:abid.ay...@gmail.com] Envoyé : Montag, 29. Juli 2013 13:41 À : Jurkiewicz Jean-Marc Cc : Lee; net-snmp-users@lists.sourceforge.net Objet : Re: Timeout Hi, after i enter : term mon debug snmp packets i get : SNMP packet debugging is on Abid 2013/7/29 Jurkiewicz

How to force snmptrapd to pass pure numerical OIDs to the trap handler (readable)

2013-07-22 Thread Jurkiewicz Jean-Marc
Hi, I am currently porting my own monitoring tool using net-snmp from a Fedora8 to a Fedora19 system. This system processes traps send by network equipment (Cisco). My snmptrapd.conf looks like : # Example configuration file for snmptrapd # # No traps are handled by default, you must edit

How to force snmptrapd to pass pure numerical OIDs to the trap handler

2013-07-18 Thread Jurkiewicz Jean-Marc
Hi, I am currently porting my own monitoring tool using net-snmp from a Fedora8 to a Fedora19 system. This system processes traps send by network equipment (Cisco). My snmptrapd.conf looks like : cat /etc/snmp/snmptrapd.conf # Example configuration file for snmptrapd # # No traps are handled