Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

inventory network printers #629

Closed
Smiley-k opened this issue Jan 28, 2019 · 4 comments
Closed

inventory network printers #629

Smiley-k opened this issue Jan 28, 2019 · 4 comments

Comments

@Smiley-k
Copy link

Smiley-k commented Jan 28, 2019

Hi,

my agent does not display counter and other information about the printer, it just finds it.

image

image

but if I manually perform the action, the agent sees this information, why ?

[root@glpi log]# fusioninventory-netinventory --host 192.168.63.133 --credentials version:2c,community:public
<?xml version="1.0" encoding="UTF-8" ?>
<REQUEST>
  <CONTENT>
    <DEVICE>
      <CARTRIDGES>
        <TONERBLACK>84</TONERBLACK>
        <WASTETONER>OK</WASTETONER>
      </CARTRIDGES>
      <INFO>
        <COMMENTS>KYOCERA Document Solutions Printing System</COMMENTS>
        <ID>0</ID>
        <IPS>
          <IP>192.168.63.133</IP>
        </IPS>
        <MAC>00:17:c8:04:a5:42</MAC>
        <MANUFACTURER>Kyocera</MANUFACTURER>
        <MODEL>FS-C8525MFP</MODEL>
        <SERIAL>V1J6307072</SERIAL>
        <TYPE>PRINTER</TYPE>
        <UPTIME>10 days, 01:11:17.39</UPTIME>
      </INFO>
      <PAGECOUNTERS>
        <BLACK>756</BLACK>
        <COLOR>7180</COLOR>
        <COPYBLACK>2186</COPYBLACK>
        <COPYCOLOR>9109</COPYCOLOR>
        <COPYTOTAL>11295</COPYTOTAL>
        <FAXTOTAL>0</FAXTOTAL>
        <PRINTBLACK>26793</PRINTBLACK>
        <PRINTCOLOR>42031</PRINTCOLOR>
        <PRINTTOTAL>11295</PRINTTOTAL>
        <SCANNED>23253</SCANNED>
        <TOTAL>7936</TOTAL>
      </PAGECOUNTERS>
      <PORTS>
        <PORT>
          <IFDESCR>eth0</IFDESCR>
          <IFINERRORS>0</IFINERRORS>
          <IFINOCTETS>3383104359</IFINOCTETS>
          <IFINTERNALSTATUS>1</IFINTERNALSTATUS>
          <IFLASTCHANGE>0.00 seconds</IFLASTCHANGE>
          <IFMTU>1500</IFMTU>
          <IFNAME>eth0</IFNAME>
          <IFNUMBER>1</IFNUMBER>
          <IFOUTERRORS>0</IFOUTERRORS>
          <IFOUTOCTETS>886637073</IFOUTOCTETS>
          <IFSPEED>100000000</IFSPEED>
          <IFSTATUS>1</IFSTATUS>
          <IFTYPE>6</IFTYPE>
          <IP>192.168.63.133</IP>
          <IPS>
            <IP>192.168.63.133</IP>
          </IPS>
          <MAC>00:17:c8:04:a5:42</MAC>
        </PORT>
      </PORTS>
    </DEVICE>
    <MODULEVERSION>3.1</MODULEVERSION>
    <PROCESSNUMBER>1</PROCESSNUMBER>
  </CONTENT>
  <DEVICEID>foo</DEVICEID>
  <QUERY>SNMPQUERY</QUERY>
</REQUEST>
[root@glpi log]# 

UPD: HP and Xerox printers are perfectly removable, problem is observed only with kyocera printers

these are the models used.
ECOSYS M2035dn
FS-C8525MFP
ECOSYS M2640idw
ECOSYS M2635dn

GLPI 9.3.3 FusionInventory 9.3+1.1

FusionInventory-Agent_v2.4.2-1.el7

@Smiley-k
Copy link
Author

at the moment, solved the problem so

"import printer works Printer constraint (name). I turn it off,"

http://forum.fusioninventory.org/viewtopic.php?id=2900

@geeksmooth
Copy link

@Smiley-k

...
      <PAGECOUNTERS>
        <BLACK>756</BLACK>
        <COLOR>7180</COLOR>
        <COPYBLACK>2186</COPYBLACK>
        <COPYCOLOR>9109</COPYCOLOR>
        <COPYTOTAL>11295</COPYTOTAL>
        <FAXTOTAL>0</FAXTOTAL>
        <PRINTBLACK>26793</PRINTBLACK>
        <PRINTCOLOR>42031</PRINTCOLOR>
        <PRINTTOTAL>11295</PRINTTOTAL>
        <SCANNED>23253</SCANNED>
        <TOTAL>7936</TOTAL>
      </PAGECOUNTERS>
...

Did you notice about total counter ?! it appears to be wrongs... is it matching the printer's info page ?!

@Stoatwblr
Copy link
Contributor

There's another issue relating to counters where I provided patches for Kyoceras. Please check that

@g-bougard
Copy link
Contributor

Closing without issuer feedback

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants