Issue samsung printer m4080 fx (#14391)

* Added printer support to Samsung M4080FX which appears as generic

* Added printer support to Samsung M4080FX which appears as generic

* Create samsungprinter_m4080fx.json

Co-authored-by: PipoCanaja <38363551+PipoCanaja@users.noreply.github.com>
This commit is contained in:
Daniel
2022-10-02 14:54:53 -03:00
committed by GitHub
parent daa8c757f6
commit de524f2e05
3 changed files with 1103 additions and 0 deletions

View File

@@ -10,6 +10,7 @@ discovery:
- 'Samsung C'
- 'Samsung S'
- 'Samsung ML'
- 'Samsung M4080FX'
discovery_modules:
printer-supplies: true
poller_modules:

View File

@@ -0,0 +1,989 @@
{
"os": {
"discovery": {
"devices": [
{
"sysName": "<private>",
"sysObjectID": ".1.3.6.1.4.1.236.11.5.11.62.1",
"sysDescr": "Samsung M4080FX; V11.01.03.04_02-27-2017;Engine V1.00.06 01-19-2017_V1.00;NIC ;S/N",
"sysContact": "<private>",
"version": null,
"hardware": null,
"features": null,
"location": null,
"os": "samsungprinter",
"type": "printer",
"serial": null,
"icon": "samsungprinter.svg"
}
]
},
"poller": "matches discovery"
},
"ports": {
"discovery": {
"ports": [
{
"port_descr_type": null,
"port_descr_descr": null,
"port_descr_circuit": null,
"port_descr_speed": null,
"port_descr_notes": null,
"ifDescr": "Embedded Ethernet Controller, 10/100/1000 Mpbs, v1.0, UTP RJ-45, connector A1, 1000 Mbps(Full Duplex)",
"ifName": "Embedded Ethernet Controller, 10/100/1000 Mpbs, v1.0, UTP RJ-45, connector A1, 1000 Mbps(Full Duplex)",
"portName": null,
"ifIndex": 1,
"ifSpeed": null,
"ifSpeed_prev": null,
"ifConnectorPresent": null,
"ifPromiscuousMode": null,
"ifOperStatus": "up",
"ifOperStatus_prev": null,
"ifAdminStatus": null,
"ifAdminStatus_prev": null,
"ifDuplex": null,
"ifMtu": null,
"ifType": "ethernetCsmacd",
"ifAlias": "Embedded Ethernet Controller, 10/100/1000 Mpbs, v1.0, UTP RJ-45, connector A1, 1000 Mbps(Full Duplex)",
"ifPhysAddress": null,
"ifHardType": null,
"ifLastChange": 0,
"ifVlan": "",
"ifTrunk": null,
"counter_in": null,
"counter_out": null,
"ignore": 0,
"disabled": 0,
"detailed": 0,
"deleted": 0,
"pagpOperationMode": null,
"pagpPortState": null,
"pagpPartnerDeviceId": null,
"pagpPartnerLearnMethod": null,
"pagpPartnerIfIndex": null,
"pagpPartnerGroupIfIndex": null,
"pagpPartnerDeviceName": null,
"pagpEthcOperationMode": null,
"pagpDeviceId": null,
"pagpGroupIfIndex": null,
"ifInUcastPkts": null,
"ifInUcastPkts_prev": null,
"ifInUcastPkts_delta": null,
"ifInUcastPkts_rate": null,
"ifOutUcastPkts": null,
"ifOutUcastPkts_prev": null,
"ifOutUcastPkts_delta": null,
"ifOutUcastPkts_rate": null,
"ifInErrors": null,
"ifInErrors_prev": null,
"ifInErrors_delta": null,
"ifInErrors_rate": null,
"ifOutErrors": null,
"ifOutErrors_prev": null,
"ifOutErrors_delta": null,
"ifOutErrors_rate": null,
"ifInOctets": null,
"ifInOctets_prev": null,
"ifInOctets_delta": null,
"ifInOctets_rate": null,
"ifOutOctets": null,
"ifOutOctets_prev": null,
"ifOutOctets_delta": null,
"ifOutOctets_rate": null,
"poll_prev": null,
"ifInNUcastPkts": null,
"ifInNUcastPkts_prev": null,
"ifInNUcastPkts_delta": null,
"ifInNUcastPkts_rate": null,
"ifOutNUcastPkts": null,
"ifOutNUcastPkts_prev": null,
"ifOutNUcastPkts_delta": null,
"ifOutNUcastPkts_rate": null,
"ifInDiscards": null,
"ifInDiscards_prev": null,
"ifInDiscards_delta": null,
"ifInDiscards_rate": null,
"ifOutDiscards": null,
"ifOutDiscards_prev": null,
"ifOutDiscards_delta": null,
"ifOutDiscards_rate": null,
"ifInUnknownProtos": null,
"ifInUnknownProtos_prev": null,
"ifInUnknownProtos_delta": null,
"ifInUnknownProtos_rate": null,
"ifInBroadcastPkts": null,
"ifInBroadcastPkts_prev": null,
"ifInBroadcastPkts_delta": null,
"ifInBroadcastPkts_rate": null,
"ifOutBroadcastPkts": null,
"ifOutBroadcastPkts_prev": null,
"ifOutBroadcastPkts_delta": null,
"ifOutBroadcastPkts_rate": null,
"ifInMulticastPkts": null,
"ifInMulticastPkts_prev": null,
"ifInMulticastPkts_delta": null,
"ifInMulticastPkts_rate": null,
"ifOutMulticastPkts": null,
"ifOutMulticastPkts_prev": null,
"ifOutMulticastPkts_delta": null,
"ifOutMulticastPkts_rate": null
},
{
"port_descr_type": null,
"port_descr_descr": null,
"port_descr_circuit": null,
"port_descr_speed": null,
"port_descr_notes": null,
"ifDescr": "Loopback Interface",
"ifName": "Loopback Interface",
"portName": null,
"ifIndex": 2,
"ifSpeed": null,
"ifSpeed_prev": null,
"ifConnectorPresent": null,
"ifPromiscuousMode": null,
"ifOperStatus": "up",
"ifOperStatus_prev": null,
"ifAdminStatus": null,
"ifAdminStatus_prev": null,
"ifDuplex": null,
"ifMtu": null,
"ifType": "softwareLoopback",
"ifAlias": "Loopback Interface",
"ifPhysAddress": null,
"ifHardType": null,
"ifLastChange": 0,
"ifVlan": "",
"ifTrunk": null,
"counter_in": null,
"counter_out": null,
"ignore": 0,
"disabled": 0,
"detailed": 0,
"deleted": 0,
"pagpOperationMode": null,
"pagpPortState": null,
"pagpPartnerDeviceId": null,
"pagpPartnerLearnMethod": null,
"pagpPartnerIfIndex": null,
"pagpPartnerGroupIfIndex": null,
"pagpPartnerDeviceName": null,
"pagpEthcOperationMode": null,
"pagpDeviceId": null,
"pagpGroupIfIndex": null,
"ifInUcastPkts": null,
"ifInUcastPkts_prev": null,
"ifInUcastPkts_delta": null,
"ifInUcastPkts_rate": null,
"ifOutUcastPkts": null,
"ifOutUcastPkts_prev": null,
"ifOutUcastPkts_delta": null,
"ifOutUcastPkts_rate": null,
"ifInErrors": null,
"ifInErrors_prev": null,
"ifInErrors_delta": null,
"ifInErrors_rate": null,
"ifOutErrors": null,
"ifOutErrors_prev": null,
"ifOutErrors_delta": null,
"ifOutErrors_rate": null,
"ifInOctets": null,
"ifInOctets_prev": null,
"ifInOctets_delta": null,
"ifInOctets_rate": null,
"ifOutOctets": null,
"ifOutOctets_prev": null,
"ifOutOctets_delta": null,
"ifOutOctets_rate": null,
"poll_prev": null,
"ifInNUcastPkts": null,
"ifInNUcastPkts_prev": null,
"ifInNUcastPkts_delta": null,
"ifInNUcastPkts_rate": null,
"ifOutNUcastPkts": null,
"ifOutNUcastPkts_prev": null,
"ifOutNUcastPkts_delta": null,
"ifOutNUcastPkts_rate": null,
"ifInDiscards": null,
"ifInDiscards_prev": null,
"ifInDiscards_delta": null,
"ifInDiscards_rate": null,
"ifOutDiscards": null,
"ifOutDiscards_prev": null,
"ifOutDiscards_delta": null,
"ifOutDiscards_rate": null,
"ifInUnknownProtos": null,
"ifInUnknownProtos_prev": null,
"ifInUnknownProtos_delta": null,
"ifInUnknownProtos_rate": null,
"ifInBroadcastPkts": null,
"ifInBroadcastPkts_prev": null,
"ifInBroadcastPkts_delta": null,
"ifInBroadcastPkts_rate": null,
"ifOutBroadcastPkts": null,
"ifOutBroadcastPkts_prev": null,
"ifOutBroadcastPkts_delta": null,
"ifOutBroadcastPkts_rate": null,
"ifInMulticastPkts": null,
"ifInMulticastPkts_prev": null,
"ifInMulticastPkts_delta": null,
"ifInMulticastPkts_rate": null,
"ifOutMulticastPkts": null,
"ifOutMulticastPkts_prev": null,
"ifOutMulticastPkts_delta": null,
"ifOutMulticastPkts_rate": null
}
]
},
"poller": {
"ports": [
{
"port_descr_type": "embedded ethernet controller, 10/100/1000 mpbs, v1.0, utp rj-45, connector a1, 1000 mbps",
"port_descr_descr": "Full Duplex",
"port_descr_circuit": null,
"port_descr_speed": null,
"port_descr_notes": "Full Duplex",
"ifDescr": "Embedded Ethernet Controller, 10/100/1000 Mpbs, v1.0, UTP RJ-45, connector A1, 1000 Mbps(Full Duplex)",
"ifName": "Embedded Ethernet Controller, 10/100/1000 Mpbs, v1.0, UTP RJ-45, connector A1, 1000 Mbps(Full Duplex)",
"portName": null,
"ifIndex": 1,
"ifSpeed": 1000000000,
"ifSpeed_prev": null,
"ifConnectorPresent": null,
"ifPromiscuousMode": null,
"ifOperStatus": "up",
"ifOperStatus_prev": "up",
"ifAdminStatus": "up",
"ifAdminStatus_prev": null,
"ifDuplex": null,
"ifMtu": 1500,
"ifType": "ethernetCsmacd",
"ifAlias": "Embedded Ethernet Controller, 10/100/1000 Mpbs, v1.0, UTP RJ-45, connector A1, 1000 Mbps(Full Duplex)",
"ifPhysAddress": "8425191deb52",
"ifHardType": null,
"ifLastChange": 0,
"ifVlan": "",
"ifTrunk": null,
"counter_in": null,
"counter_out": null,
"ignore": 0,
"disabled": 0,
"detailed": 0,
"deleted": 0,
"pagpOperationMode": null,
"pagpPortState": null,
"pagpPartnerDeviceId": null,
"pagpPartnerLearnMethod": null,
"pagpPartnerIfIndex": null,
"pagpPartnerGroupIfIndex": null,
"pagpPartnerDeviceName": null,
"pagpEthcOperationMode": null,
"pagpDeviceId": null,
"pagpGroupIfIndex": null,
"ifInUcastPkts": 947705,
"ifInUcastPkts_prev": 0,
"ifInUcastPkts_delta": null,
"ifInUcastPkts_rate": null,
"ifOutUcastPkts": 737744,
"ifOutUcastPkts_prev": 0,
"ifOutUcastPkts_delta": null,
"ifOutUcastPkts_rate": null,
"ifInErrors": 0,
"ifInErrors_prev": 0,
"ifInErrors_delta": null,
"ifInErrors_rate": null,
"ifOutErrors": 0,
"ifOutErrors_prev": 0,
"ifOutErrors_delta": null,
"ifOutErrors_rate": null,
"ifInOctets": 86034567,
"ifInOctets_prev": 0,
"ifInOctets_delta": null,
"ifInOctets_rate": null,
"ifOutOctets": 423140166,
"ifOutOctets_prev": 0,
"ifOutOctets_delta": null,
"ifOutOctets_rate": null,
"poll_prev": null,
"ifInNUcastPkts": 0,
"ifInNUcastPkts_prev": 0,
"ifInNUcastPkts_delta": null,
"ifInNUcastPkts_rate": null,
"ifOutNUcastPkts": 0,
"ifOutNUcastPkts_prev": 0,
"ifOutNUcastPkts_delta": null,
"ifOutNUcastPkts_rate": null,
"ifInDiscards": 0,
"ifInDiscards_prev": 0,
"ifInDiscards_delta": null,
"ifInDiscards_rate": null,
"ifOutDiscards": 0,
"ifOutDiscards_prev": 0,
"ifOutDiscards_delta": null,
"ifOutDiscards_rate": null,
"ifInUnknownProtos": 0,
"ifInUnknownProtos_prev": 0,
"ifInUnknownProtos_delta": null,
"ifInUnknownProtos_rate": null,
"ifInBroadcastPkts": 0,
"ifInBroadcastPkts_prev": 0,
"ifInBroadcastPkts_delta": null,
"ifInBroadcastPkts_rate": null,
"ifOutBroadcastPkts": 0,
"ifOutBroadcastPkts_prev": 0,
"ifOutBroadcastPkts_delta": null,
"ifOutBroadcastPkts_rate": null,
"ifInMulticastPkts": 0,
"ifInMulticastPkts_prev": 0,
"ifInMulticastPkts_delta": null,
"ifInMulticastPkts_rate": null,
"ifOutMulticastPkts": 0,
"ifOutMulticastPkts_prev": 0,
"ifOutMulticastPkts_delta": null,
"ifOutMulticastPkts_rate": null
},
{
"port_descr_type": null,
"port_descr_descr": null,
"port_descr_circuit": null,
"port_descr_speed": null,
"port_descr_notes": null,
"ifDescr": "Loopback Interface",
"ifName": "Loopback Interface",
"portName": null,
"ifIndex": 2,
"ifSpeed": 10000000,
"ifSpeed_prev": null,
"ifConnectorPresent": null,
"ifPromiscuousMode": null,
"ifOperStatus": "up",
"ifOperStatus_prev": "up",
"ifAdminStatus": "up",
"ifAdminStatus_prev": null,
"ifDuplex": null,
"ifMtu": 16436,
"ifType": "softwareLoopback",
"ifAlias": "Loopback Interface",
"ifPhysAddress": null,
"ifHardType": null,
"ifLastChange": 0,
"ifVlan": "",
"ifTrunk": null,
"counter_in": null,
"counter_out": null,
"ignore": 0,
"disabled": 0,
"detailed": 0,
"deleted": 0,
"pagpOperationMode": null,
"pagpPortState": null,
"pagpPartnerDeviceId": null,
"pagpPartnerLearnMethod": null,
"pagpPartnerIfIndex": null,
"pagpPartnerGroupIfIndex": null,
"pagpPartnerDeviceName": null,
"pagpEthcOperationMode": null,
"pagpDeviceId": null,
"pagpGroupIfIndex": null,
"ifInUcastPkts": 2011277,
"ifInUcastPkts_prev": 0,
"ifInUcastPkts_delta": null,
"ifInUcastPkts_rate": null,
"ifOutUcastPkts": 2011277,
"ifOutUcastPkts_prev": 0,
"ifOutUcastPkts_delta": null,
"ifOutUcastPkts_rate": null,
"ifInErrors": 0,
"ifInErrors_prev": 0,
"ifInErrors_delta": null,
"ifInErrors_rate": null,
"ifOutErrors": 0,
"ifOutErrors_prev": 0,
"ifOutErrors_delta": null,
"ifOutErrors_rate": null,
"ifInOctets": 189307534,
"ifInOctets_prev": 0,
"ifInOctets_delta": null,
"ifInOctets_rate": null,
"ifOutOctets": 189307534,
"ifOutOctets_prev": 0,
"ifOutOctets_delta": null,
"ifOutOctets_rate": null,
"poll_prev": null,
"ifInNUcastPkts": 0,
"ifInNUcastPkts_prev": 0,
"ifInNUcastPkts_delta": null,
"ifInNUcastPkts_rate": null,
"ifOutNUcastPkts": 0,
"ifOutNUcastPkts_prev": 0,
"ifOutNUcastPkts_delta": null,
"ifOutNUcastPkts_rate": null,
"ifInDiscards": 0,
"ifInDiscards_prev": 0,
"ifInDiscards_delta": null,
"ifInDiscards_rate": null,
"ifOutDiscards": 0,
"ifOutDiscards_prev": 0,
"ifOutDiscards_delta": null,
"ifOutDiscards_rate": null,
"ifInUnknownProtos": 0,
"ifInUnknownProtos_prev": 0,
"ifInUnknownProtos_delta": null,
"ifInUnknownProtos_rate": null,
"ifInBroadcastPkts": 0,
"ifInBroadcastPkts_prev": 0,
"ifInBroadcastPkts_delta": null,
"ifInBroadcastPkts_rate": null,
"ifOutBroadcastPkts": 0,
"ifOutBroadcastPkts_prev": 0,
"ifOutBroadcastPkts_delta": null,
"ifOutBroadcastPkts_rate": null,
"ifInMulticastPkts": 0,
"ifInMulticastPkts_prev": 0,
"ifInMulticastPkts_delta": null,
"ifInMulticastPkts_rate": null,
"ifOutMulticastPkts": 0,
"ifOutMulticastPkts_prev": 0,
"ifOutMulticastPkts_delta": null,
"ifOutMulticastPkts_rate": null
}
]
}
},
"processors": {
"discovery": {
"processors": [
{
"entPhysicalIndex": 0,
"hrDeviceIndex": 5,
"processor_oid": ".1.3.6.1.2.1.25.3.3.1.2.5",
"processor_index": "5",
"processor_type": "hr",
"processor_usage": 2,
"processor_descr": "Main Video Controller Processor,null null-nullHz",
"processor_precision": 1,
"processor_perc_warn": 75
}
]
},
"poller": "matches discovery"
},
"sensors": {
"discovery": {
"sensors": [
{
"sensor_deleted": 0,
"sensor_class": "count",
"poller_type": "snmp",
"sensor_oid": ".1.3.6.1.2.1.43.10.2.1.4.1.1",
"sensor_index": "prtMarkerLifeCount",
"sensor_type": "samsungprinter",
"sensor_descr": "Life time impressions",
"group": null,
"sensor_divisor": 1,
"sensor_multiplier": 1,
"sensor_current": 22934,
"sensor_limit": null,
"sensor_limit_warn": null,
"sensor_limit_low": null,
"sensor_limit_low_warn": null,
"sensor_alert": 1,
"sensor_custom": "No",
"entPhysicalIndex": null,
"entPhysicalIndex_measured": null,
"sensor_prev": null,
"user_func": null,
"state_name": null
},
{
"sensor_deleted": 0,
"sensor_class": "count",
"poller_type": "snmp",
"sensor_oid": ".1.3.6.1.2.1.43.10.2.1.5.1.1",
"sensor_index": "prtMarkerPowerOnCount",
"sensor_type": "samsungprinter",
"sensor_descr": "Impressions since powered on",
"group": null,
"sensor_divisor": 1,
"sensor_multiplier": 1,
"sensor_current": 473,
"sensor_limit": null,
"sensor_limit_warn": null,
"sensor_limit_low": null,
"sensor_limit_low_warn": null,
"sensor_alert": 1,
"sensor_custom": "No",
"entPhysicalIndex": null,
"entPhysicalIndex_measured": null,
"sensor_prev": null,
"user_func": null,
"state_name": null
},
{
"sensor_deleted": 0,
"sensor_class": "state",
"poller_type": "snmp",
"sensor_oid": ".1.3.6.1.2.1.25.3.2.1.5.1",
"sensor_index": "0",
"sensor_type": "hrDeviceStatus",
"sensor_descr": "Printer Device Status",
"group": null,
"sensor_divisor": 1,
"sensor_multiplier": 1,
"sensor_current": 3,
"sensor_limit": null,
"sensor_limit_warn": null,
"sensor_limit_low": null,
"sensor_limit_low_warn": null,
"sensor_alert": 1,
"sensor_custom": "No",
"entPhysicalIndex": "0",
"entPhysicalIndex_measured": null,
"sensor_prev": null,
"user_func": null,
"state_name": "hrDeviceStatus"
},
{
"sensor_deleted": 0,
"sensor_class": "state",
"poller_type": "snmp",
"sensor_oid": ".1.3.6.1.2.1.25.3.5.1.2.1",
"sensor_index": "0",
"sensor_type": "hrPrinterDetectedErrorState",
"sensor_descr": "Printer Error Status",
"group": null,
"sensor_divisor": 1,
"sensor_multiplier": 1,
"sensor_current": 1,
"sensor_limit": null,
"sensor_limit_warn": null,
"sensor_limit_low": null,
"sensor_limit_low_warn": null,
"sensor_alert": 1,
"sensor_custom": "No",
"entPhysicalIndex": "0",
"entPhysicalIndex_measured": null,
"sensor_prev": null,
"user_func": null,
"state_name": "hrPrinterDetectedErrorState"
}
],
"state_indexes": [
{
"state_name": "hrDeviceStatus",
"state_descr": "Unknown",
"state_draw_graph": 0,
"state_value": 1,
"state_generic_value": 3
},
{
"state_name": "hrDeviceStatus",
"state_descr": "Running",
"state_draw_graph": 0,
"state_value": 2,
"state_generic_value": 0
},
{
"state_name": "hrDeviceStatus",
"state_descr": "Warning",
"state_draw_graph": 0,
"state_value": 3,
"state_generic_value": 1
},
{
"state_name": "hrDeviceStatus",
"state_descr": "Testing",
"state_draw_graph": 0,
"state_value": 4,
"state_generic_value": 0
},
{
"state_name": "hrDeviceStatus",
"state_descr": "Down",
"state_draw_graph": 0,
"state_value": 5,
"state_generic_value": 2
},
{
"state_name": "hrPrinterDetectedErrorState",
"state_descr": "Normal",
"state_draw_graph": 0,
"state_value": 0,
"state_generic_value": 0
},
{
"state_name": "hrPrinterDetectedErrorState",
"state_descr": "Paper Low",
"state_draw_graph": 0,
"state_value": 1,
"state_generic_value": 1
},
{
"state_name": "hrPrinterDetectedErrorState",
"state_descr": "No Paper",
"state_draw_graph": 0,
"state_value": 2,
"state_generic_value": 2
},
{
"state_name": "hrPrinterDetectedErrorState",
"state_descr": "Toner Low",
"state_draw_graph": 0,
"state_value": 3,
"state_generic_value": 1
},
{
"state_name": "hrPrinterDetectedErrorState",
"state_descr": "No Toner",
"state_draw_graph": 0,
"state_value": 4,
"state_generic_value": 2
},
{
"state_name": "hrPrinterDetectedErrorState",
"state_descr": "Door Open",
"state_draw_graph": 0,
"state_value": 5,
"state_generic_value": 2
},
{
"state_name": "hrPrinterDetectedErrorState",
"state_descr": "Jammed",
"state_draw_graph": 0,
"state_value": 6,
"state_generic_value": 2
},
{
"state_name": "hrPrinterDetectedErrorState",
"state_descr": "Offline",
"state_draw_graph": 0,
"state_value": 7,
"state_generic_value": 2
},
{
"state_name": "hrPrinterDetectedErrorState",
"state_descr": "Service Needed",
"state_draw_graph": 0,
"state_value": 8,
"state_generic_value": 2
},
{
"state_name": "hrPrinterDetectedErrorState",
"state_descr": "Warning, multiple issues",
"state_draw_graph": 0,
"state_value": 9,
"state_generic_value": 1
},
{
"state_name": "hrPrinterDetectedErrorState",
"state_descr": "Critical, multiple issues",
"state_draw_graph": 0,
"state_value": 10,
"state_generic_value": 2
}
]
},
"poller": {
"sensors": [
{
"sensor_deleted": 0,
"sensor_class": "count",
"poller_type": "snmp",
"sensor_oid": ".1.3.6.1.2.1.43.10.2.1.4.1.1",
"sensor_index": "prtMarkerLifeCount",
"sensor_type": "samsungprinter",
"sensor_descr": "Life time impressions",
"group": null,
"sensor_divisor": 1,
"sensor_multiplier": 1,
"sensor_current": 22934,
"sensor_limit": null,
"sensor_limit_warn": null,
"sensor_limit_low": null,
"sensor_limit_low_warn": null,
"sensor_alert": 1,
"sensor_custom": "No",
"entPhysicalIndex": null,
"entPhysicalIndex_measured": null,
"sensor_prev": null,
"user_func": null,
"state_name": null
},
{
"sensor_deleted": 0,
"sensor_class": "count",
"poller_type": "snmp",
"sensor_oid": ".1.3.6.1.2.1.43.10.2.1.5.1.1",
"sensor_index": "prtMarkerPowerOnCount",
"sensor_type": "samsungprinter",
"sensor_descr": "Impressions since powered on",
"group": null,
"sensor_divisor": 1,
"sensor_multiplier": 1,
"sensor_current": 473,
"sensor_limit": null,
"sensor_limit_warn": null,
"sensor_limit_low": null,
"sensor_limit_low_warn": null,
"sensor_alert": 1,
"sensor_custom": "No",
"entPhysicalIndex": null,
"entPhysicalIndex_measured": null,
"sensor_prev": null,
"user_func": null,
"state_name": null
},
{
"sensor_deleted": 0,
"sensor_class": "state",
"poller_type": "snmp",
"sensor_oid": ".1.3.6.1.2.1.25.3.2.1.5.1",
"sensor_index": "0",
"sensor_type": "hrDeviceStatus",
"sensor_descr": "Printer Device Status",
"group": null,
"sensor_divisor": 1,
"sensor_multiplier": 1,
"sensor_current": 3,
"sensor_limit": null,
"sensor_limit_warn": null,
"sensor_limit_low": null,
"sensor_limit_low_warn": null,
"sensor_alert": 1,
"sensor_custom": "No",
"entPhysicalIndex": "0",
"entPhysicalIndex_measured": null,
"sensor_prev": null,
"user_func": null,
"state_name": "hrDeviceStatus"
},
{
"sensor_deleted": 0,
"sensor_class": "state",
"poller_type": "snmp",
"sensor_oid": ".1.3.6.1.2.1.25.3.5.1.2.1",
"sensor_index": "0",
"sensor_type": "hrPrinterDetectedErrorState",
"sensor_descr": "Printer Error Status",
"group": null,
"sensor_divisor": 1,
"sensor_multiplier": 1,
"sensor_current": 0,
"sensor_limit": null,
"sensor_limit_warn": null,
"sensor_limit_low": null,
"sensor_limit_low_warn": null,
"sensor_alert": 1,
"sensor_custom": "No",
"entPhysicalIndex": "0",
"entPhysicalIndex_measured": null,
"sensor_prev": 1,
"user_func": null,
"state_name": "hrPrinterDetectedErrorState"
}
],
"state_indexes": [
{
"state_name": "hrDeviceStatus",
"state_descr": "Unknown",
"state_draw_graph": 0,
"state_value": 1,
"state_generic_value": 3
},
{
"state_name": "hrDeviceStatus",
"state_descr": "Running",
"state_draw_graph": 0,
"state_value": 2,
"state_generic_value": 0
},
{
"state_name": "hrDeviceStatus",
"state_descr": "Warning",
"state_draw_graph": 0,
"state_value": 3,
"state_generic_value": 1
},
{
"state_name": "hrDeviceStatus",
"state_descr": "Testing",
"state_draw_graph": 0,
"state_value": 4,
"state_generic_value": 0
},
{
"state_name": "hrDeviceStatus",
"state_descr": "Down",
"state_draw_graph": 0,
"state_value": 5,
"state_generic_value": 2
},
{
"state_name": "hrPrinterDetectedErrorState",
"state_descr": "Normal",
"state_draw_graph": 0,
"state_value": 0,
"state_generic_value": 0
},
{
"state_name": "hrPrinterDetectedErrorState",
"state_descr": "Paper Low",
"state_draw_graph": 0,
"state_value": 1,
"state_generic_value": 1
},
{
"state_name": "hrPrinterDetectedErrorState",
"state_descr": "No Paper",
"state_draw_graph": 0,
"state_value": 2,
"state_generic_value": 2
},
{
"state_name": "hrPrinterDetectedErrorState",
"state_descr": "Toner Low",
"state_draw_graph": 0,
"state_value": 3,
"state_generic_value": 1
},
{
"state_name": "hrPrinterDetectedErrorState",
"state_descr": "No Toner",
"state_draw_graph": 0,
"state_value": 4,
"state_generic_value": 2
},
{
"state_name": "hrPrinterDetectedErrorState",
"state_descr": "Door Open",
"state_draw_graph": 0,
"state_value": 5,
"state_generic_value": 2
},
{
"state_name": "hrPrinterDetectedErrorState",
"state_descr": "Jammed",
"state_draw_graph": 0,
"state_value": 6,
"state_generic_value": 2
},
{
"state_name": "hrPrinterDetectedErrorState",
"state_descr": "Offline",
"state_draw_graph": 0,
"state_value": 7,
"state_generic_value": 2
},
{
"state_name": "hrPrinterDetectedErrorState",
"state_descr": "Service Needed",
"state_draw_graph": 0,
"state_value": 8,
"state_generic_value": 2
},
{
"state_name": "hrPrinterDetectedErrorState",
"state_descr": "Warning, multiple issues",
"state_draw_graph": 0,
"state_value": 9,
"state_generic_value": 1
},
{
"state_name": "hrPrinterDetectedErrorState",
"state_descr": "Critical, multiple issues",
"state_draw_graph": 0,
"state_value": 10,
"state_generic_value": 2
}
]
}
},
"printer-supplies": {
"discovery": {
"printer_supplies": [
{
"supply_index": 1,
"supply_type": "toner",
"supply_oid": ".1.3.6.1.2.1.43.11.1.1.9.1.1",
"supply_descr": "Black Toner Cartridge S/N:CRUM-",
"supply_capacity": 20000,
"supply_current": 88,
"supply_capacity_oid": ".1.3.6.1.2.1.43.11.1.1.8.1.1"
},
{
"supply_index": 2,
"supply_type": "fuser",
"supply_oid": ".1.3.6.1.2.1.43.11.1.1.9.1.2",
"supply_descr": "Fuser S/N:",
"supply_capacity": 90000,
"supply_current": 75,
"supply_capacity_oid": ".1.3.6.1.2.1.43.11.1.1.8.1.2"
},
{
"supply_index": 3,
"supply_type": "other",
"supply_oid": ".1.3.6.1.2.1.43.11.1.1.9.1.3",
"supply_descr": "Transfer Roller",
"supply_capacity": 150000,
"supply_current": 85,
"supply_capacity_oid": ".1.3.6.1.2.1.43.11.1.1.8.1.3"
},
{
"supply_index": 4,
"supply_type": "other",
"supply_oid": ".1.3.6.1.2.1.43.11.1.1.9.1.4",
"supply_descr": "ADF Roller",
"supply_capacity": 100000,
"supply_current": 96,
"supply_capacity_oid": ".1.3.6.1.2.1.43.11.1.1.8.1.4"
},
{
"supply_index": 5,
"supply_type": "other",
"supply_oid": ".1.3.6.1.2.1.43.11.1.1.9.1.5",
"supply_descr": "MP Roller",
"supply_capacity": 100000,
"supply_current": 100,
"supply_capacity_oid": ".1.3.6.1.2.1.43.11.1.1.8.1.5"
},
{
"supply_index": 6,
"supply_type": "other",
"supply_oid": ".1.3.6.1.2.1.43.11.1.1.9.1.6",
"supply_descr": "Tray 1 Roller",
"supply_capacity": 200000,
"supply_current": 91,
"supply_capacity_oid": ".1.3.6.1.2.1.43.11.1.1.8.1.6"
},
{
"supply_index": 7,
"supply_type": "other",
"supply_oid": ".1.3.6.1.2.1.43.11.1.1.9.1.7",
"supply_descr": "Tray 1 Retard Roller Life",
"supply_capacity": 200000,
"supply_current": 91,
"supply_capacity_oid": ".1.3.6.1.2.1.43.11.1.1.8.1.7"
},
{
"supply_index": 1,
"supply_type": "input",
"supply_oid": ".1.3.6.1.2.1.43.8.2.1.10.1.1",
"supply_descr": "Tray 1",
"supply_capacity": 550,
"supply_current": 10,
"supply_capacity_oid": ".1.3.6.1.2.1.43.8.2.1.9.1.1"
},
{
"supply_index": 2,
"supply_type": "input",
"supply_oid": ".1.3.6.1.2.1.43.8.2.1.10.1.2",
"supply_descr": "MP Tray",
"supply_capacity": 100,
"supply_current": 0,
"supply_capacity_oid": ".1.3.6.1.2.1.43.8.2.1.9.1.2"
}
]
},
"poller": "matches discovery"
}
}

View File

@@ -0,0 +1,113 @@
1.3.6.1.2.1.1.1.0|4|Samsung M4080FX; V11.01.03.04_02-27-2017;Engine V1.00.06 01-19-2017_V1.00;NIC ;S/N
1.3.6.1.2.1.1.2.0|6|1.3.6.1.4.1.236.11.5.11.62.1
1.3.6.1.2.1.1.3.0|67|3721980054
1.3.6.1.2.1.1.4.0|4|<private>
1.3.6.1.2.1.1.5.0|4|<private>
1.3.6.1.2.1.2.2.1.1.1|2|1
1.3.6.1.2.1.2.2.1.1.2|2|2
1.3.6.1.2.1.2.2.1.2.1|4|Embedded Ethernet Controller, 10/100/1000 Mpbs, v1.0, UTP RJ-45, connector A1, 1000 Mbps(Full Duplex)
1.3.6.1.2.1.2.2.1.2.2|4|Loopback Interface
1.3.6.1.2.1.2.2.1.3.1|2|6
1.3.6.1.2.1.2.2.1.3.2|2|24
1.3.6.1.2.1.2.2.1.4.1|2|1500
1.3.6.1.2.1.2.2.1.4.2|2|16436
1.3.6.1.2.1.2.2.1.5.1|66|1000000000
1.3.6.1.2.1.2.2.1.5.2|66|10000000
1.3.6.1.2.1.2.2.1.6.1|4x|8425191DEB52
1.3.6.1.2.1.2.2.1.6.2|4|
1.3.6.1.2.1.2.2.1.7.1|2|1
1.3.6.1.2.1.2.2.1.7.2|2|1
1.3.6.1.2.1.2.2.1.8.1|2|1
1.3.6.1.2.1.2.2.1.8.2|2|1
1.3.6.1.2.1.2.2.1.9.1|67|0
1.3.6.1.2.1.2.2.1.9.2|67|0
1.3.6.1.2.1.2.2.1.10.1|65|86034567
1.3.6.1.2.1.2.2.1.10.2|65|189307534
1.3.6.1.2.1.2.2.1.11.1|65|947705
1.3.6.1.2.1.2.2.1.11.2|65|2011277
1.3.6.1.2.1.2.2.1.12.1|65|0
1.3.6.1.2.1.2.2.1.12.2|65|0
1.3.6.1.2.1.2.2.1.13.1|65|0
1.3.6.1.2.1.2.2.1.13.2|65|0
1.3.6.1.2.1.2.2.1.14.1|65|0
1.3.6.1.2.1.2.2.1.14.2|65|0
1.3.6.1.2.1.2.2.1.15.1|65|0
1.3.6.1.2.1.2.2.1.15.2|65|0
1.3.6.1.2.1.2.2.1.16.1|65|423140166
1.3.6.1.2.1.2.2.1.16.2|65|189307534
1.3.6.1.2.1.2.2.1.17.1|65|737744
1.3.6.1.2.1.2.2.1.17.2|65|2011277
1.3.6.1.2.1.2.2.1.18.1|65|0
1.3.6.1.2.1.2.2.1.18.2|65|0
1.3.6.1.2.1.2.2.1.19.1|65|0
1.3.6.1.2.1.2.2.1.19.2|65|0
1.3.6.1.2.1.2.2.1.20.1|65|0
1.3.6.1.2.1.2.2.1.20.2|65|0
1.3.6.1.2.1.2.2.1.21.1|66|0
1.3.6.1.2.1.2.2.1.21.2|66|0
1.3.6.1.2.1.2.2.1.22.1|6|0.0
1.3.6.1.2.1.2.2.1.22.2|6|0.0
1.3.6.1.2.1.25.1.1.0|67|12524640
1.3.6.1.2.1.25.3.2.1.3.1|4|Samsung M408x Series
1.3.6.1.2.1.25.3.2.1.3.2|4|Samsung Multixpress Copy Service, Simplex/Duplex
1.3.6.1.2.1.25.3.2.1.3.3|4|Samsung Color Scanner, 600x600 DPI
1.3.6.1.2.1.25.3.2.1.3.4|4|Samsung Fax Card, ITU G3, 33,600bps, V.34
1.3.6.1.2.1.25.3.2.1.3.5|4|Main Video Controller Processor,null null-nullHz
1.3.6.1.2.1.25.3.2.1.3.6|4|HDD,TOSHIBA MQ01ABF0
1.3.6.1.2.1.25.3.2.1.3.7|4|Random Access Memory,1.0GB RAM
1.3.6.1.2.1.25.3.2.1.3.8|4|Ethernet, 10/100/1000Mpbs v1 UTP RJ-45 A1 1000 Mbps(Full Duplex)
1.3.6.1.2.1.25.3.2.1.3.9|4|Samsung Duplex Auto Document Feeder,40ipm,stacking 100 pages
1.3.6.1.2.1.25.3.2.1.3.10|4|Universal Serial Bus 2.0, 480Mbps, Support for external devices
1.3.6.1.2.1.25.3.2.1.3.11|4|Universal Serial Bus 2.0, 480Mbps, Support for one port for printing
1.3.6.1.2.1.25.3.2.1.5.1|2|3
1.3.6.1.2.1.25.3.3.1.2.5|2|2
1.3.6.1.2.1.25.3.5.1.2.1|4x|8000
1.3.6.1.2.1.43.8.2.1.9.1.1|2|550
1.3.6.1.2.1.43.8.2.1.9.1.2|2|100
1.3.6.1.2.1.43.8.2.1.10.1.1|2|55
1.3.6.1.2.1.43.8.2.1.10.1.2|2|0
1.3.6.1.2.1.43.8.2.1.13.1.1|4|Tray 1
1.3.6.1.2.1.43.8.2.1.13.1.2|4|MP Tray
1.3.6.1.2.1.43.10.2.1.2.1.1|2|4
1.3.6.1.2.1.43.10.2.1.3.1.1|2|7
1.3.6.1.2.1.43.10.2.1.4.1.1|65|22934
1.3.6.1.2.1.43.10.2.1.5.1.1|65|473
1.3.6.1.2.1.43.10.2.1.6.1.1|2|1
1.3.6.1.2.1.43.10.2.1.7.1.1|2|0
1.3.6.1.2.1.43.10.2.1.8.1.1|2|3
1.3.6.1.2.1.43.10.2.1.9.1.1|2|600
1.3.6.1.2.1.43.10.2.1.10.1.1|2|600
1.3.6.1.2.1.43.10.2.1.11.1.1|2|-2
1.3.6.1.2.1.43.10.2.1.12.1.1|2|-2
1.3.6.1.2.1.43.10.2.1.13.1.1|2|-2
1.3.6.1.2.1.43.10.2.1.14.1.1|2|-2
1.3.6.1.2.1.43.10.2.1.15.1.1|2|0
1.3.6.1.2.1.43.11.1.1.5.1.1|2|3
1.3.6.1.2.1.43.11.1.1.5.1.2|2|15
1.3.6.1.2.1.43.11.1.1.5.1.3|2|1
1.3.6.1.2.1.43.11.1.1.5.1.4|2|1
1.3.6.1.2.1.43.11.1.1.5.1.5|2|1
1.3.6.1.2.1.43.11.1.1.5.1.6|2|1
1.3.6.1.2.1.43.11.1.1.5.1.7|2|1
1.3.6.1.2.1.43.11.1.1.6.1.1|4|Black Toner Cartridge S/N:CRUM-
1.3.6.1.2.1.43.11.1.1.6.1.2|4|Fuser S/N:
1.3.6.1.2.1.43.11.1.1.6.1.3|4|Transfer Roller
1.3.6.1.2.1.43.11.1.1.6.1.4|4|ADF Roller
1.3.6.1.2.1.43.11.1.1.6.1.5|4|MP Roller
1.3.6.1.2.1.43.11.1.1.6.1.6|4|Tray 1 Roller
1.3.6.1.2.1.43.11.1.1.6.1.7|4|Tray 1 Retard Roller Life
1.3.6.1.2.1.43.11.1.1.8.1.1|2|20000
1.3.6.1.2.1.43.11.1.1.8.1.2|2|90000
1.3.6.1.2.1.43.11.1.1.8.1.3|2|150000
1.3.6.1.2.1.43.11.1.1.8.1.4|2|100000
1.3.6.1.2.1.43.11.1.1.8.1.5|2|100000
1.3.6.1.2.1.43.11.1.1.8.1.6|2|200000
1.3.6.1.2.1.43.11.1.1.8.1.7|2|200000
1.3.6.1.2.1.43.11.1.1.9.1.1|2|17600
1.3.6.1.2.1.43.11.1.1.9.1.2|2|67066
1.3.6.1.2.1.43.11.1.1.9.1.3|2|127066
1.3.6.1.2.1.43.11.1.1.9.1.4|2|95643
1.3.6.1.2.1.43.11.1.1.9.1.5|2|99959
1.3.6.1.2.1.43.11.1.1.9.1.6|2|181069
1.3.6.1.2.1.43.11.1.1.9.1.7|2|181069
1.3.6.1.6.3.10.2.1.3.0|2|166068819