You are here: Re: snmp: string index in OID is considered invalid :-( « PHP Programming Language « IT news, forums, messages
Re: snmp: string index in OID is considered invalid :-(

Posted by Christian Hammers on 10/19/05 16:17

Hello

On 2005-10-19 Steve wrote:
> > $ snmpwalk -Ir -On myhost \
> > 'ASCEND-MIBINET-MIB::internetProfile-Active."cir-1-26"'
> > .1.3.6.1.4.1.529.23.1.1.1.2.8.99.105.114.45.49.45.50.54 = INTEGER: yes(2)
>
> Have you escaped all of the single and/or double quotes correctly in
> your PHP snmp*() calls?

I tried the following ways, can you imagine more? :)

'ASCEND-MIBINET-MIB::internetProfile-Active."cir-1-26"');
'ASCEND-MIBINET-MIB::internetProfile-Active.\"cir-1-26\"');
'ASCEND-MIBINET-MIB::internetProfile-Active.\\"cir-1-26\\"');
"ASCEND-MIBINET-MIB::internetProfile-Active.\"cir-1-26\"");
"ASCEND-MIBINET-MIB::internetProfile-Active.\\\"cir-1-26\\\"");
"ASCEND-MIBINET-MIB::internetProfile-Active.'cir-1-26'");
"ASCEND-MIBINET-MIB::internetProfile-Active.\'cir-1-26\'");
"ASCEND-MIBINET-MIB::internetProfile-Active.\\'cir-1-26\\'");

bye,

-christian-

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация