fusioninventory / fusioninventory-agent

FusionInventory Agent
http://fusioninventory.org/
GNU General Public License v2.0
253 stars 125 forks source link

Missing Information for Kyocera Printer #1019

Open vollkommenIrrelevant opened 1 year ago

vollkommenIrrelevant commented 1 year ago

Hello,

i'm missing a lot of information for the Kyocera printer - for example the toner status or the number of printed pages. If I made a snmp-walk I got a looot of information which are not shown from netdiscovery.

Result from Netdiscovery:

C:\Program Files\FusionInventory-Agent>fusioninventory-netdiscovery --first X.X.X --last X.X.X --credentials version:2c,community:X.X.X --debug
[debug] scanning block X.X.X-X.X.X
[debug] creating 1 worker threads
[debug] [thread 1] creation
[debug] [thread 1] #1, scanning X.X.X
[debug] [thread 1] #1, full match for sysobjectID .1.3.6.1.4.1.1347.41 in database
[debug] [thread 1] #1, sysobjectID match: kyocera mib support enabled
[debug] [thread 1] #1, - scanning X.X.X with SNMP, credentials 1: success
[debug] [thread 1] #1, - scanning X.X.X with netbios: no result
[debug] [thread 1] #1, - scanning X.X.X with echo ping: success
[debug] [thread 1] #1, - scanning X.X.X in arp table: no result
<?xml version="1.0" encoding="UTF-8" ?>
<REQUEST>
  <CONTENT>
    <DEVICE>
      <AUTHSNMP>1</AUTHSNMP>
      <DESCRIPTION>KYOCERA Document Solutions Printing System</DESCRIPTION>
      <DNSHOSTNAME>X.X.X</DNSHOSTNAME>
      <IP>X.X.X</IP>
      <IPS>
        <IP>X.X.X</IP>
      </IPS>
      <LOCATION>ASDF</LOCATION>
      <MAC>XX:XX:XX:XX:XX:XX</MAC>
      <MANUFACTURER>Kyocera</MANUFACTURER>
      <MODEL>TASKalfa 2552ci</MODEL>
      <SERIAL>SERIAL</SERIAL>
      <SNMPHOSTNAME>HOSTNAME</SNMPHOSTNAME>
      <TYPE>PRINTER</TYPE>
      <UPTIME>48 days, 18:19:37.63</UPTIME>
    </DEVICE>
    <MODULEVERSION>4.2</MODULEVERSION>
    <PROCESSNUMBER>1</PROCESSNUMBER>
  </CONTENT>
  <DEVICEID>foo</DEVICEID>
  <QUERY>NETDISCOVERY</QUERY>
</REQUEST>
[debug] [thread 1] termination
[debug] All netdiscovery threads terminated
vollkommenIrrelevant commented 1 year ago

@ddurieux Do you need some Information more to help you finding a solution for this?

vollkommenIrrelevant commented 1 year ago

Ps. Maybe it's the same problem as described in this closed report: https://github.com/fusioninventory/fusioninventory-agent/issues/629

@g-bougard As far as I understand GLPI-Agent is a fork of fusioninventory. Do you import such updates or is it nessescary to create a own bugreport for glpi-agent?

g-bougard commented 1 year ago

Hi @vollkommenIrrelevant I can backport of course but I see no update right now. You should probably share a snmp walk so we can have a chance to discover which SNMP OIDs to use.

vollkommenIrrelevant commented 1 year ago

A bit complicated due to reasons of privacy because it contains IPs, Serials and so on...

Some parts as example: Total pages printed .1.3.6.1.2.1.43.10.2.1.4.1.1 = Integer: 89273 <= is not part of fusioninventory-netdiscovery and is was not imported into glpi MemorySize: iso.3.6.1.2.1.25.2.2 = NO RESPONSE FOR OUR MACHINE

The Mib is downloadable here: https://www.circitor.fr/Mibs/Mib/K/KYOCERA-Private-MIB.mib

don't know if this is saved somewhere in glpi: Type of Toner Cyan: iso.3.6.1.2.1.43.11.1.1.6.1.1 = STRING: "TK-8345C" Magenta: iso.3.6.1.2.1.43.11.1.1.6.1.2 = STRING: "TK-8345M" Yellow: iso.3.6.1.2.1.43.11.1.1.6.1.3 = STRING: "TK-8345Y" Black: iso.3.6.1.2.1.43.11.1.1.6.1.4 = STRING: "TK-8345K" Waste: iso.3.6.1.2.1.43.11.1.1.6.1.5 = STRING: "Waste Toner Box"

Fuel Level of Toner: PrtMarkerSuppliesSupplyUnitTC (INTEGER) {other(1), unknown(2), tenThousandthsOfInches(3), micrometers(4), impressions(7), sheets(8), hours(11), thousandthsOfOunces(12), tenthsOfGrams(13), hundrethsOfFluidOunces(14), tenthsOfMilliliters(15), feet(16), meters(17), items(18), percent(19) } iso.3.6.1.2.1.43.11.1.1.9.1.1 = INTEGER: 1320 iso.3.6.1.2.1.43.11.1.1.9.1.2 = INTEGER: 11880 iso.3.6.1.2.1.43.11.1.1.9.1.3 = INTEGER: 6240 iso.3.6.1.2.1.43.11.1.1.9.1.4 = INTEGER: 17400 iso.3.6.1.2.1.43.11.1.1.9.1.5 = INTEGER: -3

Paper Feeds Max Paper Capacity per tray .1.3.6.1.2.1.43.8.2.1.9.1.1 = INTEGER: 150 Max Paper Capacity per tray .1.3.6.1.2.1.43.8.2.1.9.1.2 = INTEGER: 500 Max Paper Capacity per tray .1.3.6.1.2.1.43.8.2.1.9.1.3 = INTEGER: 500 actual Paper in tray .1.3.6.1.2.1.43.8.2.1.10.1.1 = INTEGER: 0 actual Paper in tray .1.3.6.1.2.1.43.8.2.1.10.1.2 = INTEGER: 350 actual Paper in tray .1.3.6.1.2.1.43.8.2.1.10.1.3 = INTEGER: 0

g-bougard commented 1 year ago

Hi @vollkommenIrrelevant you can share your snmp walk in private if you want, eventually obfuscating sensible datas. Anyway, I can see none of the OIDs you reported are specified by the MIB you linked...

vollkommenIrrelevant commented 1 year ago

How can I share it in private?

g-bougard commented 1 year ago

By email: gbougard <at> teclib <dot> com