Hello,
I tried to set a value from setCmd. Execution doesn't return any error but the 
snmp request is not sent !
g = setCmd(SnmpEngine()
, CommunityData('public', mpModel=1)
, UdpTransportTarget(('x.x.x.x', 161))
, ContextData()
, ObjectType(ObjectIdentity('1.3.6.1.2.1.2.2.1.7.364904448'), int('1')))
According to the MIB information, the value can be 1, 2 or 3 (integer type).
I assume that the type value set (int('1)) is not the right one, but I don't 
find the solution to pass the right type.
Thanks for your help.
Christian
___________________________
Christian Doaré (Groupe Open)
Tél :      +33 2 96 07 02 63
Mobile :  +33 6 33 51 41 15
cdoare....@orange.com<mailto:cdoare....@orange.com>


_________________________________________________________________________________________________________________________

Ce message et ses pieces jointes peuvent contenir des informations 
confidentielles ou privilegiees et ne doivent donc
pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce 
message par erreur, veuillez le signaler
a l'expediteur et le detruire ainsi que les pieces jointes. Les messages 
electroniques etant susceptibles d'alteration,
Orange decline toute responsabilite si ce message a ete altere, deforme ou 
falsifie. Merci.

This message and its attachments may contain confidential or privileged 
information that may be protected by law;
they should not be distributed, used or copied without authorisation.
If you have received this email in error, please notify the sender and delete 
this message and its attachments.
As emails may be altered, Orange is not liable for messages that have been 
modified, changed or falsified.
Thank you.

-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to