Strong :)

One last thing, do you know the tool call "Getif" ?
Do you know a better tool than it (to browse mib, walk ect ...) on windows 7?

Also, I use getif to browse the MIB, and I cannot get the description I added 
on an OID (into my mib : DESCRIPTION "Test description")


Cordialement,


Jérôme BELLEGARDE
Apprenti ingénieur en Informatique
 
ADS Picardie
PAE du Haut Villé Rue Hippolyte Bayard  60000 Beauvais
Tél : 03.60.36.40.21
E-mail : [email protected]
Site Web : www.alpha-d-s.net


---------------------------------------------------------------------------

-----Message d'origine-----
De : Dave Shield [mailto:[email protected]] 
Envoyé : jeudi 2 août 2012 17:18
À : Jérôme BELLEGARDE
Cc : [email protected]
Objet : Re: Problème String into OID

On 2 August 2012 16:03, Jérôme BELLEGARDE 
<[email protected]> wrote:
> ./configure --with-default-snmp-version="2" --with-sys-contact="@@no.where" 
> --with-sys-location="Unknown" --with-logfile="/var/log/snmpd.log" 
> --with-persistent-directory="/var/net-snmp" 
> --with-mibs="SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:NOTIFICATION-LOG-MIB:DISMAN-EVENT-MIB:DISMAN-SCHEDULE-MIB:UCD-SNMP-MIB:UCD-DEMO-MIB:SNMP-TARGET-MIB:NET-SNMP-AGENT-MIB:HOST-RESOURCES-TYPES:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB:SNMP-FRAMEWORK-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:IP-FORWARD-MIB:NET-SNMP-PASS-MIB:NET-SNMP-EXTEND-MIB:UCD-DLMOD-MIB:SNMP-NOTIFICATION-MIB:SNMPv2-TM:NET-SNMP-VACM-MIB:ADSP-MIB"
>  --with-mib-modules="adspFAFtp adspFASql adspFAConnexionFtp 
> adspFAFichierPresent adspFARecupFichier adspFAPresenceFacture adspBAYFtp 
> adspBAYSql adspBAYConnexionFtp adspBAYFichierPresent adspBAYRecupFichier 
> adspBAYPresenceFacture SupervisionTSEClient"
>
> By adding all the things, my MIB and my module from my mib
>
> Is there is a better solution to get this work :) ?

Yes

Dave

   Oh - you want to know what it is?   :-)
Create a file   'agent/mibgroup/adsp.h'  containing the following:

     config_require( adspFAFtp )
     config_require( adspFASql )
        :
     config_require( adspBAYPresenceFacture )
     config_add_mib(  ADSP-MIB )

and then run

     ./configure  --with-default-snmp-version="2"  --with-defaults 
--with-mib-modules=adsp

and that should pull in the other modules codes automatically 
('config_require') as well as adding the relevant MIB file(s) to the default 
list.

Dave

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to