Thank you, work nicely.

Just one last things, when i compile my mib each time, I do it like that :

./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 :) ?


Cordialy,


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

On 2 August 2012 14:44, Jérôme BELLEGARDE 
<[email protected]> wrote:
> My question is now, how can I store a string into an OID

Please see the code in 'agent/mibgroup/examples/watched.c'
which does exactly this.

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