[zebra 22858] Re: Help for zebra ospf management vi snmp.

Yasuhiro Ohara <[email protected]>
Newsgroups gmane.network.zebra
Message-ID <[email protected]>
It may be a bug of ospfd.

I confirmed that the same goes here (my environment).
Brief check shows me that ospf_snmp.c:ospfIfEntry (), which
is the function that should response the SNMP query,
resulted like "Can't find the interface" error.

The function ended here
  1682    oi = ospf_if_lookup_by_local_addr (ospf, ifp, ifaddr);
  1683    if (oi == NULL)
  1684      return NULL;
and ifaddr was empty (but I'm not sure if it is the source of the
problem).

Let me check again later and hopefully I may give you a patch then ...

regards,
yasu

From: Czanik József <[email protected]>
Subject: [zebra 22856] Help for zebra ospf management vi snmp.
Date: Fri, 19 May 2006 11:25:10 +0200
Message-ID: <[email protected]>

> Dear zebra users,
> 
> I would like get a little help from somebody.
> I am using zebra 0.95 and NET-SNMP under solaris 9 OS.
> I would like to manage the zebra ospf via SNMP.
> But unfortunately when I am polling this host not all objects ID are answering.
> I got answer from: 		Object ID .1.3.6.1.2.1.14.1
> 					Object ID .1.3.6.1.2.1.14.2
> 					Object ID .1.3.6.1.2.1.14.4
> 					Object ID .1.3.6.1.2.1.14.10
> 					Object ID .1.3.6.1.2.1.14.12
> But !!! Unfortunately I couldn't get answer from:
> 					Object ID .1.3.6.1.2.1.14.7
> 					Object ID .1.3.6.1.2.1.14.8
> The SNMP software therefore said there is no ospf on this host.
> Does anybody know how can I get these two containers from the zebra via SNMP?
> The NET-SNMP configure command " ./configure -with-mib-modules=smux
> The zebra configure command: ./configure -enable-snmp
> Please help me! 
> 
> Thanks!
> 
> Jozsef
> 
> Jozsef CZANIK
> Networkmanager
> Budapest Stock Exchange
> 
> Budapest
> Deak Ferenc u. 5.
> 1052 Hungary
> Phone: + 36 1 429 6774
> Fax: + 36 1 328 0480
> Mobile: +36 30 303 6774
> e-mail: [email protected]
> -----------------------------------------------------------------------------------------------
> 
> 
> 
> --------------------------------------------------------------------------------------------
> Ez az elektronikus levél bizalmas és/vagy jogilag védett információkat tartalmazhat, és kizárólag a címzettnek szól. Amennyiben ezt a levelet sérülten kapta meg vagy nem Ön annak valós címzettje kérjük, haladéktalanul tájékoztassa erről a feladót, és a levelet törölje rendszeréből. Az elektronikus levél engedély nélküli másolása, sokszorosítása, terjesztése, módosítása és nyilvánosságra hozatala szigorúan tiltott.
> 
> (Az elektronikus úton történő levelezés elsősorban információs célokat szolgál. A Budapesti Értéktőzsde Részvénytársaság nem tesz és nem fogad el hivatalos kötelezettségvállalásokat kizárólag elektronikus levél útján, hacsak erről ellentétes tartalmú megállapodás nem született a felek között.)
> 
> --------------------------------------------------------------------------------------------
> This e-mail may contain confidential and/or copyrighted information and is intended solely for the person or organization to whom it is addressed. If you receive this e-mail in a damaged form or if you are not the intended recipient, please inform the sender immediately and delete the e-mail from your system. Unauthorised copying, distribution, modification, or disclosure of this e-mail is strictly forbidden.
> 
> (E-mails are primarily sent for informational purposes. The Budapest Stock Exchange Ltd. neither undertakes nor acknowledges any official obligations via e-mails, unless the parties have agreed otherwise.)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.