On 22/06/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> I tried a simple query as u suggested. Please checkout if the query is 
> correct.

I can't.
Whether this is correct depends on the configuration of the agent that
you are trying to query.   The fact that you're getting an error back would
tend to indicate that it isn't.


>   And why it is giving "snmpset: Unknown Report message" error.

> Received 104 bytes from UDP: [10.200.90.113]:161
> 0080: ......  30 0E 06 09  2B 06 01 06
> 0096: 03 0C 01 05  00 41 01 06

This report PDU contains the varbind
    SNMP-TARGET-MIB::snmpUnknownContexts.0 = 6

It appears that the Net-SNMP library doesn't detect this particular
report - hence the error that you're seeing.

This response would tend to indicate that the agent that you're
querying doesn't use the default context.   So it looks as if
     -n  jetDirect
is probably required.


I presume that you're trying to talk to an HP printer.
Try looking at the SNMPv3 configuration via the Web interface.
I'd suggest that you don't post passwords on a public mailing list :-)
but details of the rest of the configuration might help in deciding
the appropriate request invocation.

Dave

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to