Registrations to Open-AudIT forums are now closed. To ask any new questions please visit Opmantek Community Questions.

Open-AudIT

What's on your network?
It is currently Sat Apr 20, 2024 11:36 am

All times are UTC + 10 hours




Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 9 posts ] 
Author Message
 Post subject: What am i working on?
PostPosted: Wed Jun 20, 2012 10:29 pm 
Offline
Site Admin
User avatar

Joined: Mon Jun 07, 2004 11:48 am
Posts: 1964
Location: Brisbane, Australia
Printers. OMFG printers. They are killing me.
:-)

_________________
Support and Development hours available from [url=https://opmantek.com]Opmantek[/url].
Please consider a purchase to help make Open-AudIT better for everyone.


Top
 Profile  
Reply with quote  
PostPosted: Thu Jun 21, 2012 1:11 am 
Offline
Moderator

Joined: Fri Jul 20, 2007 8:27 am
Posts: 1259
<fairytaleland>It's 2012 and the world has gone digital. I think you can safely ignore printers now.</fairytaleland>


Top
 Profile  
Reply with quote  
PostPosted: Thu Jun 21, 2012 7:13 am 
Offline
Site Admin
User avatar

Joined: Mon Jun 07, 2004 11:48 am
Posts: 1964
Location: Brisbane, Australia
We have around 1500 of the damn things...

_________________
Support and Development hours available from [url=https://opmantek.com]Opmantek[/url].
Please consider a purchase to help make Open-AudIT better for everyone.


Top
 Profile  
Reply with quote  
PostPosted: Wed Jun 27, 2012 2:35 am 
Offline
Contributor

Joined: Wed Apr 07, 2010 8:04 am
Posts: 105
Location: Boston, MA
I beg to differ on your view of paper vs digital.
I work for an ivy league university in the states, you can say every year students come in with the latest of the latest technology and faculty are using more online learning tools than ever before. So we all expected our printing services to plateau (or go down) with the advent of iPads and eReaders and we didn't ask for our tipical 5% budget increase this year for paper and ink. Oh boy, we couldn't have been more wrong, we ran out of money half way our second semester.
I don't know in the corporate world, but I can certainly say, paper is not dead and printers aren't going anywhere any time soon.

_________________
Old OA Setup: 500 Windows 7 workstations & 200 Apple OSX with OA v1.5.2 on Windows Server 2003 and WAMP 2
New OA Setup: 100 Windows servers with OA 2.2 on Windows Server 2016 and WAMP 3


Top
 Profile  
Reply with quote  
PostPosted: Wed Jun 27, 2012 4:00 am 
Offline
Moderator

Joined: Fri Jul 20, 2007 8:27 am
Posts: 1259
Everyone must have missed my <fairytaleland> tags. :D


Top
 Profile  
Reply with quote  
PostPosted: Wed Jun 27, 2012 10:08 am 
Offline
Site Admin
User avatar

Joined: Mon Jun 07, 2004 11:48 am
Posts: 1964
Location: Brisbane, Australia
Check out v8 of the audit script.
It now detects if a printer is actually connected (by IP or USB).
Unfortunately I haven't been able to detect a DOT4 connected printer. Some of them show in WMI (under Win32_USBhub), but not all and not consistently. Damn. For now, and DOT4 connected printer is assumed to actually exist (same with LPT1 connected printers).
I'm nearly ready to unleash beta6 on you all :D

_________________
Support and Development hours available from [url=https://opmantek.com]Opmantek[/url].
Please consider a purchase to help make Open-AudIT better for everyone.


Top
 Profile  
Reply with quote  
PostPosted: Thu Jun 28, 2012 3:33 am 
Offline
Moderator

Joined: Fri Jul 20, 2007 8:27 am
Posts: 1259
Tested the printer stuff. Two things:

I think the second nslookup where the portname starts with "IP_" (line 2136) is redundant as it's handled by the previous lookup code (line 2115) because you've populated printer_ip_address earlier at line 2037.

We sometimes have multiple printers that connect to the same shared printer port but use different configs. So we have a "Konica BW" and a "Konica Color" that connect to different server shares but have the same IP address. These audit fine but when the OA server processes these the multiple printers are collapsed into one because the system_key is the IP address rather than something like the UUID. Just FYI.


Top
 Profile  
Reply with quote  
PostPosted: Thu Jul 26, 2012 3:16 am 
Offline
Newbie
User avatar

Joined: Fri Mar 05, 2010 9:20 am
Posts: 14
So.. about the printers...

I've been looking at how the collected data is handled with printers, and I think this issue stems from administrative styles, but I'm getting a weird correlation.

In the system table of OAv2 db, my printers end up looking a little funky.

Fields correlate to strange data for me:
system key = IP
or
system Key = PCHostname_device_Model (i.e. "as6861_HP_LaserJet_1300_PCL_6")
I think this latter result is only for locally connected printers.

UUID = printer share name (i.e.: \\asprint\PAS1)
or
UUID = printer model (hp_LaserJet_1300_PCL_6) this is also on locally connected devices

in the Printers report, I get no hostnames, just a list of IP addresses and onMouseOver information (only Status, Mfgr., and Model show up).

I know most of our hardware uses HP Jetdirect standards for communication as most of our devices are HP or Zebra (whose mini-print-servers are Jetdirect compatible)

The devices with hostnames on the report image were either static DNS pointers or I manually edited the entry on the printers report to try and make it more legible for my own use.

Additionally, You'll notice the 0.0.0.0 items at the top of the list. I'm wondering if these are the locally attached printers showing up in the system table as printers, but with no presentable information.

As always, thanks for the awesome work you do, and thanks for staying with it so well,
-Jacob


Attachments:
File comment: Printers Report
printersreport.png
printersreport.png [ 175.61 KiB | Viewed 10809 times ]

_________________
Server Info:
OS : Server 2003 R2 Ent & Server 2008 Ent, Server 2000
Auditing: 120 WinXP or Win7 Pro Desktops (Dell, HP, Lenovo), 30 HP Networked Print devices, Cisco, Dell, DLink switches
LDAP: Active Directory Server 2008 Domain
Top
 Profile  
Reply with quote  
PostPosted: Sat Jul 28, 2012 6:38 am 
Offline
Newbie
User avatar

Joined: Fri Mar 05, 2010 9:20 am
Posts: 14
While I'm at it, printers running on USB are crashing some of my audits (I have a win 7 x64 machine with an old HP large format printer on it with archaic drivers)

Mark, I'll PM you my actual audit window, but its crashing hard unless I disable printer auditing in my script for this machine.

_________________
Server Info:
OS : Server 2003 R2 Ent & Server 2008 Ent, Server 2000
Auditing: 120 WinXP or Win7 Pro Desktops (Dell, HP, Lenovo), 30 HP Networked Print devices, Cisco, Dell, DLink switches
LDAP: Active Directory Server 2008 Domain


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 9 posts ] 

All times are UTC + 10 hours


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group