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
Code: Select all
SNMPv2-MIB::sysDescr.0 = STRING: HP ETHERNET MULTI-ENVIRONMENT,ROM none,JETDIRECT,JD148,EEPROM V.38.76,CIDATE 10/17/2008
- 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
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:
- 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?
- Any idea what the problem is? Where should I look?
- OS: Debian Lenny (5.0.3)
- Cacti version: 0.8.7b
- PHP version: 5.2.6-1+lenny3
- NET-SNMP version: 5.4.1