RE: Net-SNMP and non ASCII characters

2012-06-22 Thread Octavi Fullana
avi Fullana -Mensaje original- De: dave.shi...@gmail.com [mailto:dave.shi...@gmail.com] En nombre de Dave Shield Enviado el: viernes, 22 de junio de 2012 13:05 Para: Octavi Fullana CC: net-snmp-users@lists.sourceforge.net Asunto: Re: Net-SNMP and non ASCII characters On 22 June 2012 11:46, Oc

Re: Net-SNMP and non ASCII characters

2012-06-22 Thread Dave Shield
On 22 June 2012 11:46, Octavi Fullana wrote: > I use Ubuntu Server 10.04.3. I tried to setup LANG variable to es_ES.UTF-8 > (previously it was en_US.UTF-8) in /etc/default/locale And did that work? If you type the command 'locale' in the shell, do you see es_ES or en_US? Dave --

RE: Net-SNMP and non ASCII characters

2012-06-22 Thread Octavi Fullana
...@gmail.com] En nombre de Dave Shield Enviado el: miércoles, 20 de junio de 2012 17:35 Para: Octavi Fullana CC: net-snmp-users@lists.sourceforge.net Asunto: Re: Net-SNMP and non ASCII characters On 20 June 2012 16:26, Octavi Fullana wrote: > Can you please give me some guidelines to correc

Re: Net-SNMP and non ASCII characters

2012-06-20 Thread Dave Shield
On 20 June 2012 16:26, Octavi Fullana wrote: > Can you please give me some guidelines to correctly setup locales? > I already installed "es-ES", but  still receive the hexadecimal output That probably makes the Spanish locale available, but doesn't necessary make it active. What O/S are you work

RE: Net-SNMP and non ASCII characters

2012-06-20 Thread Octavi Fullana
ve Shield Enviado el: miércoles, 20 de junio de 2012 17:17 Para: Octavi Fullana CC: net-snmp-users@lists.sourceforge.net Asunto: Re: Net-SNMP and non ASCII characters On 13 June 2012 11:52, Octavi Fullana wrote: > But if I use the -Oa (force output as ASCII): > snmpget -Oa -v 1 -c community Le

Re: Net-SNMP and non ASCII characters

2012-06-20 Thread Dave Shield
On 13 June 2012 11:52, Octavi Fullana wrote: > But if I use the -Oa (force output as ASCII): > snmpget -Oa -v 1 -c community Lexmark_printer_IP .1.3.6.1.2.1.43.11.1.1.6.1.5 > > I get "Caja de desecho de t.ner" That is the purpose of the -Oa client option, yes. > I have tried to add the -Oa swi

Re: Net-SNMP and non ASCII characters

2012-06-20 Thread Wes Hardaker
Octavi Fullana writes: > I have tried to add the -Oa switch in the SNMPDOPTS line inside the > /etc/init.d/snmpd script, but it is ignored. Does anybody know how to > force the output to be ASCII for all snmp items? The applications use the isprint() function to determine if a character is print