Holy Hell... It works...
Copied the jetdirect.inc.php to a new file called canon.inc.php
snmpwalked... seems the sysDescr is unique to each model so I will just replicate as necessary to reflect our fleet...
I suppose the issue now is that because it is polling via "jetdirect" it is assigning a HP logo...
Small potatoes however...
I am getting consumable and page counts for the beancounters...
Cheers,
Matt.
From: Adam Armstrong adama@memetic.org To: Observium Network Observation System observium@observium.org, Date: 05/29/2013 05:08 PM Subject: Re: [Observium] Little more help with SNMP/MIB for Canon. Sent by: "observium" observium-bounces@observium.org
You'd need to create a new is type for canon printers.
Then you can permit that is to find things using the jet direct MIBs.
Adam.
Matthew Coene mcoene@Bacardi.com wrote:
Good Afternoon All,
Tom, Looks like you were right... Tried snmpwalking our Canon devices
with
the HP-LASERJET-COMMON MIB...
Looking at the rest of the code, specifically the "jetdirect" bits that
you
mentioned...
<?php
if (!$os) { if (strstr($sysDescr, "JETDIRECT")) { $os = "jetdirect"; } else if (strstr($sysDescr, "HP ETHERNET MULTI-ENVIRONMENT")) { $os = "jetdirect"; } else if (strstr($sysObjectId, ".1.3.6.1.4.1.11.1")) { $os = "jetdirect"; } }
I can say that the OID string that seems to be the most common to the ID is... (actually there are a few)
iso.3.6.1.2.1.43.9.2.1.8.1.1 = STRING: "Canon"
I am hoping there might be some way to just adapt the existing framework, to use the the new OID / MIB to report the Canon's specifically instead of generic?
Am I even remotely on some sort of right track or way off on some far removed dead end tangent??
Cheers,
Matt.
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
_________________________ ______________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium