Hello,
I understand want you mean but this is my asn1 structure.
In the vabind struct i have a choice for "string" that is -> OCTET STRING.
But as you see it doesn't mean what kind of octet string.
My engine is a very fast poller and when it works it had no time to check if
data is an ascii or not because
find it with per exemple a regex is to much slow.
Sorry for my emphasis and my english :-)
Laurent
SEQUENCE {
version INTEGER,
community OCTET STRING,
PDU_TYPE CHOICE {
get-request [00] sPDU,
get-next-request [01] sPDU,
get-response [02] sPDU,
set-response [03] sPDU,
get-bulk-request [05] bPDU
}
}
sPDU ::= SEQUENCE {
request-id INTEGER,
error-status INTEGER,
error-index INTEGER,
variable-bindings SEQUENCE OF VarBind
}
bPDU ::= SEQUENCE {
request-id INTEGER,
non-repeaters INTEGER,
max-repeaters INTEGER,
variable-bindings SEQUENCE OF VarBind
}
VarBind ::=
SEQUENCE {
name ObjectName,
value ObjectSyntax
}
ObjectName ::= OBJECT IDENTIFIER
ObjectSyntax ::=
CHOICE {
number INTEGER,
string OCTET STRING,
object OBJECT IDENTIFIER,
empty NULL,
net IpAddress,
Counter [APPLICATION 1] IMPLICIT INTEGER, --counter32
for v2
Gauge [APPLICATION 2] IMPLICIT INTEGER, --gauge32 for v2
ticks [APPLICATION 3] IMPLICIT INTEGER,
opaque [APPLICATION 4] OCTET STRING,
--nsap [APPLICATION 5] OCTET STRING,
Counter64 [APPLICATION 6] INTEGER --unvaible in v1
}
IpAddress ::= [APPLICATION 0] IMPLICIT INTEGER
> Message du 08/07/08 à 03h00
> De : "Mike Ayers" <[EMAIL PROTECTED]>
> A : [EMAIL PROTECTED]
> Copie à : [email protected]
> Objet : RE: SNMP expertise
>
>
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED] On
> > Behalf Of Dave Shield
> > Sent: Monday, July 07, 2008 8:55 AM
>
> > As far as basic SNMP is concerned - a string is a string is a string.
>
> ...is, pedantically, a sequence of octets.
>
>
> HTH,
>
> Mike
>
> -------------------------------------------------------------------------
> Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
> Studies have shown that voting for your favorite open source project,
> along with a healthy diet, reduces your potential for chronic lameness
> and boredom. Vote Now at http://www.sourceforge.net/community/cca08
> _______________________________________________
> 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
>
>
>
____________________________________________________
Sur le mail Voila, vous pouvez personnaliser l’anti-spam ! http://mail.voila.fr
-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
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