Skip to content

Latest commit

 

History

History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

SNMP Printer

Overview

Good day!

This is my first attempt at creating a public template. As far as I'm aware, it should be operatable on multiple Dell laser printers. The model this was created on was the 'Dell 3115CN'. Confirmed models that are supported:

  • Dell 3115CN
  • Dell C1765NFW
  • Dell 2145CN

I hope it'll be of use to some of you. It's been a fun project.

Author

Thomas Roefs

Macros used

There are no macros links in this template.

Template links

Name
Template SNMP Generic
Template SNMP Interfaces
Template SNMP Device

Discovery rules

Name Description Type Key and additional info
Cover

-

SNMP agent prtCoverDescription

Update: 3600

Input

-

SNMP agent prtInputDescription

Update: 3600

Media Path

-

SNMP agent prtMediaPathDescription

Update: 3600

Supplies

-

SNMP agent prtMarkerSuppliesDescription

Update: 3600

Output

-

SNMP agent prtOutputDescription

Update: 3600

Network interfaces

You may also consider using IF-MIB::ifType or IF-MIB::ifAlias for discovery depending on your filtering needs. {$SNMP_COMMUNITY} is a global macro.

SNMP agent ifDescr

Update: 3600

Items collected

Name Description Type Key and additional info
Device Type

-

SNMP agent hrDeviceDescr

Update: 43200

Printer power on counter

-

SNMP agent prtMarkerPowerOnCount

Update: 60

Printer lifetime counter

-

SNMP agent prtMarkerLifeCount

Update: 60

Printer status

-

SNMP agent hrPrinterStatus

Update: 60

Device console display

-

SNMP agent prtConsoleDisplayBufferText

Update: 60

Printer error state

-

SNMP agent hrPrinterDetectedErrorState

Update: 60

Device serial number

-

SNMP agent prtGeneralSerialNumber

Update: 43200

Device MAC address

-

SNMP agent ifPhysAddress

Update: 3600

Cover $1

-

SNMP agent prtCoverDescription[{#SNMPVALUE}]

Update: 3600

LLD

Cover Status of $1

-

SNMP agent prtCoverStatus[{#SNMPVALUE}]

Update: 600

LLD

Input Capacity $1

-

Calculated prtInputCapacity[{#SNMPVALUE}]

Update: 600

LLD

Input current level $1

-

SNMP agent prtInputCurrentLevel[{#SNMPVALUE}]

Update: 600

LLD

Input $1

-

SNMP agent prtInputDescription[{#SNMPVALUE}]

Update: 3600

LLD

Input max capacity $1

-

SNMP agent prtInputMaxCapacity[{#SNMPVALUE}]

Update: 3600

LLD

Input Media Name $1

-

SNMP agent prtInputMediaName[{#SNMPVALUE}]

Update: 3600

LLD

Input Model $1

-

SNMP agent prtInputModel[{#SNMPVALUE}]

Update: 3600

LLD

Input SerialNumber $1

-

SNMP agent prtInputSerialNumber[{#SNMPVALUE}]

Update: 3600

LLD

Input status $1

-

SNMP agent prtInputStatus[{#SNMPVALUE}]

Update: 600

LLD

Input Type $1

-

SNMP agent prtInputType[{#SNMPVALUE}]

Update: 3600

LLD

Media Path Description of supplies $1

-

SNMP agent prtMediaPathDescription[{#SNMPVALUE}]

Update: 3600

LLD

Media Path Status of supplies $1

-

SNMP agent prtMediaPathStatus[{#SNMPVALUE}]

Update: 600

LLD

Media Path Type of supplies $1

-

SNMP agent prtMediaPathType[{#SNMPVALUE}]

Update: 3600

LLD

Color Value of supplies $1

-

SNMP agent prtMarkerColorantValue[{#SNMPVALUE}]

Update: 3600

LLD

Capacity of supplies $1

-

Calculated prtMarkerSuppliesCapacity[{#SNMPVALUE}]

Update: 600

LLD

Description of supplies $1

-

SNMP agent prtMarkerSuppliesDescription[{#SNMPVALUE}]

Update: 3600

LLD

Level of supplies $1

-

SNMP agent prtMarkerSuppliesLevel[{#SNMPVALUE}]

Update: 600

LLD

max Capacity of supplies $1

-

SNMP agent prtMarkerSuppliesMaxCapacity[{#SNMPVALUE}]

Update: 3600

LLD

Output $1

-

SNMP agent prtOutputDescription[{#SNMPVALUE}]

Update: 3600

LLD

Output max Capacity $1

-

SNMP agent prtOutputMaxCapacity[{#SNMPVALUE}]

Update: 3600

LLD

Output remaining Capacity $1

-

SNMP agent prtOutputRemainingCapacity[{#SNMPVALUE}]

Update: 600

LLD

Output Status $1

-

SNMP agent prtOutputStatus[{#SNMPVALUE}]

Update: 600

LLD

Admin status of interface $1

The desired state of the interface.

SNMP agent ifAdminStatus[{#SNMPVALUE}]

Update: 60

LLD

Alias of interface $1

-

SNMP agent ifAlias[{#SNMPVALUE}]

Update: 3600

LLD

Description of interface $1

A textual string containing information about the interface. This string should include the name of the manufacturer, the product name and the version of the interface hardware/software.

SNMP agent ifDescr[{#SNMPVALUE}]

Update: 3600

LLD

Inbound errors on interface $1

For packet-oriented interfaces, the number of inbound packets that contained errors preventing them from being deliverable to a higher-layer protocol. For character-oriented or fixed-length interfaces, the number of inbound transmission units that contained errors preventing them from being deliverable to a higher-layer protocol.

SNMP agent ifInErrors[{#SNMPVALUE}]

Update: 60

LLD

Incoming traffic on interface $1

The number of octets in valid MAC frames received on this interface, including the MAC header and FCS.

SNMP agent ifInOctets[{#SNMPVALUE}]

Update: 60

LLD

Operational status of interface $1

The current operational state of the interface.

SNMP agent ifOperStatus[{#SNMPVALUE}]

Update: 60

LLD

Outbound errors on interface $1

For packet-oriented interfaces, the number of outbound packets that could not be transmitted because of errors. For character-oriented or fixed-length interfaces, the number of outbound transmission units that could not be transmitted because of errors.

SNMP agent ifOutErrors[{#SNMPVALUE}]

Update: 60

LLD

Outgoing traffic on interface $1

The number of octets transmitted in MAC frames on this interface, including the MAC header and FCS.

SNMP agent ifOutOctets[{#SNMPVALUE}]

Update: 60

LLD

Triggers

Name Description Expression Priority
Operational status was changed on {HOST.NAME} interface {#SNMPVALUE}

-

Expression: {SNMP Printer:ifOperStatus[{#SNMPVALUE}].diff(0)}=1

Recovery expression:

information
Cover {#SNMPVALUE} on printer {HOST.NAME} is not closed

-

Expression: {SNMP Printer:prtCoverStatus[{#SNMPVALUE}].last(,600)}<>4 and {SNMP Printer:prtCoverStatus[{#SNMPVALUE}].last(,600)}<>6

Recovery expression:

information
Input {#SNMPVALUE} on printer {HOST.NAME} has changed

-

Expression: {SNMP Printer:prtInputStatus[{#SNMPVALUE}].last(,600)}<>0

Recovery expression:

information
{#SNMPVALUE} is low on printer {HOST.NAME}

-

Expression: {SNMP Printer:prtMarkerSuppliesCapacity[{#SNMPVALUE}].last()}<10

Recovery expression:

information
Output {#SNMPVALUE} on printer {HOST.NAME} has changed

-

Expression: {SNMP Printer:prtOutputStatus[{#SNMPVALUE}].last(,600)}<>0

Recovery expression:

information
Cover {#SNMPVALUE} on printer {HOST.NAME} is not closed (LLD)

-

Expression: {SNMP Printer:prtCoverStatus[{#SNMPVALUE}].last(,600)}<>4 and {SNMP Printer:prtCoverStatus[{#SNMPVALUE}].last(,600)}<>6

Recovery expression:

information
Input {#SNMPVALUE} on printer {HOST.NAME} has changed (LLD)

-

Expression: {SNMP Printer:prtInputStatus[{#SNMPVALUE}].last(,600)}<>0

Recovery expression:

information
{#SNMPVALUE} is low on printer {HOST.NAME} (LLD)

-

Expression: {SNMP Printer:prtMarkerSuppliesCapacity[{#SNMPVALUE}].last()}<10

Recovery expression:

information
Output {#SNMPVALUE} on printer {HOST.NAME} has changed (LLD)

-

Expression: {SNMP Printer:prtOutputStatus[{#SNMPVALUE}].last(,600)}<>0

Recovery expression:

information
Operational status was changed on {HOST.NAME} interface {#SNMPVALUE} (LLD)

-

Expression: {SNMP Printer:ifOperStatus[{#SNMPVALUE}].diff(0)}=1

Recovery expression:

information