Community discussions

MikroTik App
 
Micropat
just joined
Topic Author
Posts: 3
Joined: Fri Oct 22, 2010 11:49 am

Probe for printer page count

Mon Oct 25, 2010 1:09 pm

Hello,

Looking for help to get printer page count on my network printers (Dell, NRG,...).
I've got some problems to make my owns probes.
I've searched in the forum but didn't found what i was looking for.
Who could be kind enough to give me examples of handmade probes for printer count pages ?
Thanks for any help.
 
chrisd13
Frequent Visitor
Frequent Visitor
Posts: 68
Joined: Mon Feb 20, 2006 4:05 pm
Location: UK

Re: Probe for printer page count

Mon Oct 25, 2010 2:35 pm

First off you will need to find the correct SNMP OID for the value you are after. As an example we have Samsung printers here on site and the total page count is the following OID.. 1.3.6.1.4.1.236.11.5.1.1.9.2.0. Samsung MiBs are not very good so I had to do an SNMPwalk through my printer and find the value that matched with the output from the printer's counter info page.

Once you have the correct OID you can then create a chart to graph the value, or create a probe to set a threshold so once a value is hit you will be alerted that teh threshold has exceeded.

To creaet the graph, go to Graphs and then add a new Data Source like below...
Test_Printer_Page_Count.jpg
In the code window replace the OID with the OID that you have retreived for your printer's total page count. This will now graph on a chart.

To setup the probe dothe following...

Go to Probes and create a new probe like below...
Test_Printer_Page_Count_Probe.jpg
You can then set a threshold value so once it is exceeded you will be notified that the threshold has been passed once you setup the notificatin for the probe.

Add the probe to the printer device and assign a notificatin to the probe so you will be alerted by a method you specify, i.e. email, beep, popup.

And that should do it...

Hope that helps.
You do not have the required permissions to view the files attached to this post.
 
Micropat
just joined
Topic Author
Posts: 3
Joined: Fri Oct 22, 2010 11:49 am

Re: Probe for printer page count

Mon Oct 25, 2010 5:58 pm

Hello,
Many thanks to you chrisd13 for this good topic !
I've searched for the good oids in the printers with a free software named FreeSnmp from NsaSoft and found page count starting here 1.3.6.1.4.1.367.3.2.1.2.19.5.1.9.1 (for NRG MPC 3500) and here 1.3.6.1.4.1.367.3.2.1.2.19.5.1.9.1 for Dell 1350cnw.
I'm very new to Dude and Snmp but it's really useful.

It works fine !
Here is a print screen of my probe for page count for DELL 1350cnw printer

Best regards.
You do not have the required permissions to view the files attached to this post.
 
chrisd13
Frequent Visitor
Frequent Visitor
Posts: 68
Joined: Mon Feb 20, 2006 4:05 pm
Location: UK

Re: Probe for printer page count

Mon Oct 25, 2010 6:24 pm

Excellent, Glad to hear you were able to find the corresponding OIDs.
 
chrisd13
Frequent Visitor
Frequent Visitor
Posts: 68
Joined: Mon Feb 20, 2006 4:05 pm
Location: UK

Re: Probe for printer page count

Mon Oct 25, 2010 6:38 pm

You could also put the Page Count on the label of the device on your map too.
If you want to do this, right click on the device and go to Appearence. Click on the label field and add the following line in the field...

Page Count: [oid("oid_for_page_count")]
Test_Printer_Page_Count_Appearence.jpg
You will then get the following displayed on the device's label.
Test_Printer_Page_Count_Label.jpg
You do not have the required permissions to view the files attached to this post.

Who is online

Users browsing this forum: No registered users and 8 guests