SNMP Error for SNMPv3 JetDirect device

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
simonp
Posts: 1
Joined: Thu Oct 15, 2009 3:06 pm

SNMP Error for SNMPv3 JetDirect device

Post by simonp »

I successfully set snmpv3 on a HP LaserJet printer, i.e I can do this from the cacti server:

Code: Select all

$ snmpget -v 3  -u cacti  -l AuthPriv -x DES -a MD5 -X  areallygoodpassword -A areallygoodpassword myprinter_ip -n Jetdirect system.sysDescr.0 
and get:

Code: Select all

 SNMPv2-MIB::sysDescr.0 = STRING: HP ETHERNET MULTI-ENVIRONMENT,ROM none,JETDIRECT,JD148,EEPROM V.38.76,CIDATE 10/17/2008
But when I try to add the device in cacti, i get "SNMP Error". The availability detection is set to SNMP. This is what's in the SNMP Options section:
  • SNMP Version: Version 3
  • SNMP Username: cacti
  • SNMP Password: areallygoodpassword
  • SNMP Auth Protocol: MD5
  • SNMP Privacy Passphrase: areallygoodpassword
  • SNMP Privacy Protocol: DES
  • SNMP Context: Jetdirect
The rest are the defaults.

Of course, I can't get any data query from the printer.

I successfully set Net-SNMP hosts with SNMPv3 in cacti, my problem is with the printer.


I have 2 questions:
  1. How can I see the exact SNMP query done by cmd.php? Even when I set the log verbosity to DEBUG, I don't get any log lines for my host id. For example, how can I be sure that the context is given in the snmp command?
  2. Any idea what the problem is? Where should I look?
My cacti setup:
  • OS: Debian Lenny (5.0.3)
  • Cacti version: 0.8.7b
  • PHP version: 5.2.6-1+lenny3
  • NET-SNMP version: 5.4.1
Thanks!
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

Lots of updates since cacti 0.8.7e + patches, you should consider upgrading.

The poller cache also will hint at what cacti should use. Otherwise to see what is really going on, you could really low level and sniff with WireShark.
Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests