mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
* adding paper tray status and error states * adding paper tray test data * Create jetdirect_papertray.json * Store printer supply type * Update json data * fix style
827 lines
35 KiB
JSON
827 lines
35 KiB
JSON
{
|
|
"os": {
|
|
"discovery": {
|
|
"devices": [
|
|
{
|
|
"sysName": "<private>",
|
|
"sysObjectID": ".1.3.6.1.4.1.11.2.3.9.1",
|
|
"sysDescr": "HP ETHERNET MULTI-ENVIRONMENT,ROM none,JETDIRECT,JD149,EEPROM JDI99999999,CIDATE 05/28/2018",
|
|
"sysContact": null,
|
|
"version": null,
|
|
"hardware": null,
|
|
"features": null,
|
|
"os": "jetdirect",
|
|
"type": "printer",
|
|
"serial": null,
|
|
"icon": "hp.svg",
|
|
"location": null
|
|
}
|
|
]
|
|
},
|
|
"poller": {
|
|
"devices": [
|
|
{
|
|
"sysName": "<private>",
|
|
"sysObjectID": ".1.3.6.1.4.1.11.2.3.9.1",
|
|
"sysDescr": "HP ETHERNET MULTI-ENVIRONMENT,ROM none,JETDIRECT,JD149,EEPROM JDI99999999,CIDATE 05/28/2018",
|
|
"sysContact": "<private>",
|
|
"version": null,
|
|
"hardware": "Color LaserJet flow MFP M880",
|
|
"features": null,
|
|
"os": "jetdirect",
|
|
"type": "printer",
|
|
"serial": null,
|
|
"icon": "hp.svg",
|
|
"location": "<private>"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"ports": {
|
|
"discovery": {
|
|
"ports": [
|
|
{
|
|
"port_descr_type": null,
|
|
"port_descr_descr": null,
|
|
"port_descr_circuit": null,
|
|
"port_descr_speed": null,
|
|
"port_descr_notes": null,
|
|
"ifDescr": "HP ETHERNET MULTI-ENVIRONMENT,ROM none,JETDIRECT,JD149,EEPROM JDI99999999",
|
|
"ifName": "HP ETHERNET MULTI-ENVIRONMENT,ROM none,JETDIRECT,JD149,EEPROM JDI99999999",
|
|
"portName": null,
|
|
"ifIndex": 1,
|
|
"ifSpeed": null,
|
|
"ifConnectorPresent": null,
|
|
"ifPromiscuousMode": null,
|
|
"ifHighSpeed": null,
|
|
"ifOperStatus": null,
|
|
"ifOperStatus_prev": null,
|
|
"ifAdminStatus": null,
|
|
"ifAdminStatus_prev": null,
|
|
"ifDuplex": null,
|
|
"ifMtu": null,
|
|
"ifType": "softwareLoopback",
|
|
"ifAlias": "HP ETHERNET MULTI-ENVIRONMENT,ROM none,JETDIRECT,JD149,EEPROM JDI99999999",
|
|
"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": "HP ETHERNET MULTI-ENVIRONMENT,ROM none,JETDIRECT,JD149,EEPROM JDI99999999",
|
|
"ifName": "HP ETHERNET MULTI-ENVIRONMENT,ROM none,JETDIRECT,JD149,EEPROM JDI99999999",
|
|
"portName": null,
|
|
"ifIndex": 2,
|
|
"ifSpeed": null,
|
|
"ifConnectorPresent": null,
|
|
"ifPromiscuousMode": null,
|
|
"ifHighSpeed": null,
|
|
"ifOperStatus": null,
|
|
"ifOperStatus_prev": null,
|
|
"ifAdminStatus": null,
|
|
"ifAdminStatus_prev": null,
|
|
"ifDuplex": null,
|
|
"ifMtu": null,
|
|
"ifType": "ethernetCsmacd",
|
|
"ifAlias": "HP ETHERNET MULTI-ENVIRONMENT,ROM none,JETDIRECT,JD149,EEPROM JDI99999999",
|
|
"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": null,
|
|
"port_descr_descr": null,
|
|
"port_descr_circuit": null,
|
|
"port_descr_speed": null,
|
|
"port_descr_notes": null,
|
|
"ifDescr": "HP ETHERNET MULTI-ENVIRONMENT,ROM none,JETDIRECT,JD149,EEPROM JDI99999999",
|
|
"ifName": "HP ETHERNET MULTI-ENVIRONMENT,ROM none,JETDIRECT,JD149,EEPROM JDI99999999",
|
|
"portName": null,
|
|
"ifIndex": 1,
|
|
"ifSpeed": 0,
|
|
"ifConnectorPresent": null,
|
|
"ifPromiscuousMode": null,
|
|
"ifHighSpeed": null,
|
|
"ifOperStatus": "up",
|
|
"ifOperStatus_prev": null,
|
|
"ifAdminStatus": "up",
|
|
"ifAdminStatus_prev": null,
|
|
"ifDuplex": null,
|
|
"ifMtu": 1536,
|
|
"ifType": "softwareLoopback",
|
|
"ifAlias": "HP ETHERNET MULTI-ENVIRONMENT,ROM none,JETDIRECT,JD149,EEPROM JDI99999999",
|
|
"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": 0,
|
|
"ifInUcastPkts_prev": 0,
|
|
"ifInUcastPkts_delta": null,
|
|
"ifInUcastPkts_rate": null,
|
|
"ifOutUcastPkts": 31702,
|
|
"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": 0,
|
|
"ifInOctets_prev": 0,
|
|
"ifInOctets_delta": null,
|
|
"ifInOctets_rate": null,
|
|
"ifOutOctets": 0,
|
|
"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": "HP ETHERNET MULTI-ENVIRONMENT,ROM none,JETDIRECT,JD149,EEPROM JDI99999999",
|
|
"ifName": "HP ETHERNET MULTI-ENVIRONMENT,ROM none,JETDIRECT,JD149,EEPROM JDI99999999",
|
|
"portName": null,
|
|
"ifIndex": 2,
|
|
"ifSpeed": 1000000000,
|
|
"ifConnectorPresent": null,
|
|
"ifPromiscuousMode": null,
|
|
"ifHighSpeed": null,
|
|
"ifOperStatus": "up",
|
|
"ifOperStatus_prev": null,
|
|
"ifAdminStatus": "up",
|
|
"ifAdminStatus_prev": null,
|
|
"ifDuplex": null,
|
|
"ifMtu": 1500,
|
|
"ifType": "ethernetCsmacd",
|
|
"ifAlias": "HP ETHERNET MULTI-ENVIRONMENT,ROM none,JETDIRECT,JD149,EEPROM JDI99999999",
|
|
"ifPhysAddress": "10e7c662708e",
|
|
"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": 0,
|
|
"ifInUcastPkts_prev": 0,
|
|
"ifInUcastPkts_delta": null,
|
|
"ifInUcastPkts_rate": null,
|
|
"ifOutUcastPkts": 1423600,
|
|
"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": 3891030065,
|
|
"ifInOctets_prev": 0,
|
|
"ifInOctets_delta": null,
|
|
"ifInOctets_rate": null,
|
|
"ifOutOctets": 127908410,
|
|
"ifOutOctets_prev": 0,
|
|
"ifOutOctets_delta": null,
|
|
"ifOutOctets_rate": null,
|
|
"poll_prev": null,
|
|
"ifInNUcastPkts": 0,
|
|
"ifInNUcastPkts_prev": 0,
|
|
"ifInNUcastPkts_delta": null,
|
|
"ifInNUcastPkts_rate": null,
|
|
"ifOutNUcastPkts": 7265,
|
|
"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": 5301,
|
|
"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
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"sensors": {
|
|
"discovery": {
|
|
"sensors": [
|
|
{
|
|
"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": 2,
|
|
"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": 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": "matches discovery"
|
|
},
|
|
"toner": {
|
|
"discovery": {
|
|
"toner": [
|
|
{
|
|
"toner_index": 1,
|
|
"toner_type": "tonerCartridge",
|
|
"toner_oid": ".1.3.6.1.2.1.43.11.1.1.9.1.1",
|
|
"toner_descr": "Black Cartridge",
|
|
"toner_capacity": 100,
|
|
"toner_current": 92,
|
|
"toner_capacity_oid": ".1.3.6.1.2.1.43.11.1.1.8.1.1"
|
|
},
|
|
{
|
|
"toner_index": 10,
|
|
"toner_type": "fuser",
|
|
"toner_oid": ".1.3.6.1.2.1.43.11.1.1.9.1.10",
|
|
"toner_descr": "Fuser Kit HP 110",
|
|
"toner_capacity": 100,
|
|
"toner_current": 84,
|
|
"toner_capacity_oid": ".1.3.6.1.2.1.43.11.1.1.8.1.10"
|
|
},
|
|
{
|
|
"toner_index": 11,
|
|
"toner_type": "other",
|
|
"toner_oid": ".1.3.6.1.2.1.43.11.1.1.9.1.11",
|
|
"toner_descr": "Document Feeder",
|
|
"toner_capacity": 100,
|
|
"toner_current": 99,
|
|
"toner_capacity_oid": ".1.3.6.1.2.1.43.11.1.1.8.1.11"
|
|
},
|
|
{
|
|
"toner_index": 12,
|
|
"toner_type": "other",
|
|
"toner_oid": ".1.3.6.1.2.1.43.11.1.1.9.1.12",
|
|
"toner_descr": "Clean Rollers HP",
|
|
"toner_capacity": 100,
|
|
"toner_current": 97,
|
|
"toner_capacity_oid": ".1.3.6.1.2.1.43.11.1.1.8.1.12"
|
|
},
|
|
{
|
|
"toner_index": 13,
|
|
"toner_type": "staples",
|
|
"toner_oid": ".1.3.6.1.2.1.43.11.1.1.9.1.13",
|
|
"toner_descr": "Stapler 1 HP C80",
|
|
"toner_capacity": 100,
|
|
"toner_current": 50,
|
|
"toner_capacity_oid": ".1.3.6.1.2.1.43.11.1.1.8.1.13"
|
|
},
|
|
{
|
|
"toner_index": 14,
|
|
"toner_type": "staples",
|
|
"toner_oid": ".1.3.6.1.2.1.43.11.1.1.9.1.14",
|
|
"toner_descr": "Stapler 2 HP CC3",
|
|
"toner_capacity": 100,
|
|
"toner_current": 50,
|
|
"toner_capacity_oid": ".1.3.6.1.2.1.43.11.1.1.8.1.14"
|
|
},
|
|
{
|
|
"toner_index": 15,
|
|
"toner_type": "staples",
|
|
"toner_oid": ".1.3.6.1.2.1.43.11.1.1.9.1.15",
|
|
"toner_descr": "Stapler 3 HP CC3",
|
|
"toner_capacity": 100,
|
|
"toner_current": 50,
|
|
"toner_capacity_oid": ".1.3.6.1.2.1.43.11.1.1.8.1.15"
|
|
},
|
|
{
|
|
"toner_index": 2,
|
|
"toner_type": "tonerCartridge",
|
|
"toner_oid": ".1.3.6.1.2.1.43.11.1.1.9.1.2",
|
|
"toner_descr": "Cyan Cartridge 8",
|
|
"toner_capacity": 100,
|
|
"toner_current": 16,
|
|
"toner_capacity_oid": ".1.3.6.1.2.1.43.11.1.1.8.1.2"
|
|
},
|
|
{
|
|
"toner_index": 3,
|
|
"toner_type": "tonerCartridge",
|
|
"toner_oid": ".1.3.6.1.2.1.43.11.1.1.9.1.3",
|
|
"toner_descr": "Magenta Cartridg",
|
|
"toner_capacity": 100,
|
|
"toner_current": 100,
|
|
"toner_capacity_oid": ".1.3.6.1.2.1.43.11.1.1.8.1.3"
|
|
},
|
|
{
|
|
"toner_index": 4,
|
|
"toner_type": "tonerCartridge",
|
|
"toner_oid": ".1.3.6.1.2.1.43.11.1.1.9.1.4",
|
|
"toner_descr": "Yellow Cartridge",
|
|
"toner_capacity": 100,
|
|
"toner_current": 70,
|
|
"toner_capacity_oid": ".1.3.6.1.2.1.43.11.1.1.8.1.4"
|
|
},
|
|
{
|
|
"toner_index": 5,
|
|
"toner_type": "opc",
|
|
"toner_oid": ".1.3.6.1.2.1.43.11.1.1.9.1.5",
|
|
"toner_descr": "Black Drum 828A",
|
|
"toner_capacity": 100,
|
|
"toner_current": 53,
|
|
"toner_capacity_oid": ".1.3.6.1.2.1.43.11.1.1.8.1.5"
|
|
},
|
|
{
|
|
"toner_index": 6,
|
|
"toner_type": "opc",
|
|
"toner_oid": ".1.3.6.1.2.1.43.11.1.1.9.1.6",
|
|
"toner_descr": "Cyan Drum 828A H",
|
|
"toner_capacity": 100,
|
|
"toner_current": 58,
|
|
"toner_capacity_oid": ".1.3.6.1.2.1.43.11.1.1.8.1.6"
|
|
},
|
|
{
|
|
"toner_index": 7,
|
|
"toner_type": "opc",
|
|
"toner_oid": ".1.3.6.1.2.1.43.11.1.1.9.1.7",
|
|
"toner_descr": "Magenta Drum 828",
|
|
"toner_capacity": 100,
|
|
"toner_current": 58,
|
|
"toner_capacity_oid": ".1.3.6.1.2.1.43.11.1.1.8.1.7"
|
|
},
|
|
{
|
|
"toner_index": 8,
|
|
"toner_type": "opc",
|
|
"toner_oid": ".1.3.6.1.2.1.43.11.1.1.9.1.8",
|
|
"toner_descr": "Yellow Drum 828A",
|
|
"toner_capacity": 100,
|
|
"toner_current": 58,
|
|
"toner_capacity_oid": ".1.3.6.1.2.1.43.11.1.1.8.1.8"
|
|
},
|
|
{
|
|
"toner_index": 9,
|
|
"toner_type": "transferUnit",
|
|
"toner_oid": ".1.3.6.1.2.1.43.11.1.1.9.1.9",
|
|
"toner_descr": "Transfer Kit HP",
|
|
"toner_capacity": 100,
|
|
"toner_current": 89,
|
|
"toner_capacity_oid": ".1.3.6.1.2.1.43.11.1.1.8.1.9"
|
|
},
|
|
{
|
|
"toner_index": 1,
|
|
"toner_type": "input",
|
|
"toner_oid": ".1.3.6.1.2.1.43.8.2.1.10.1.1",
|
|
"toner_descr": "Tray 1",
|
|
"toner_capacity": 100,
|
|
"toner_current": 0,
|
|
"toner_capacity_oid": ".1.3.6.1.2.1.43.8.2.1.9.1.1"
|
|
},
|
|
{
|
|
"toner_index": 2,
|
|
"toner_type": "input",
|
|
"toner_oid": ".1.3.6.1.2.1.43.8.2.1.10.1.2",
|
|
"toner_descr": "Tray 2",
|
|
"toner_capacity": 500,
|
|
"toner_current": 40,
|
|
"toner_capacity_oid": ".1.3.6.1.2.1.43.8.2.1.9.1.2"
|
|
},
|
|
{
|
|
"toner_index": 3,
|
|
"toner_type": "input",
|
|
"toner_oid": ".1.3.6.1.2.1.43.8.2.1.10.1.3",
|
|
"toner_descr": "Tray 3",
|
|
"toner_capacity": 1500,
|
|
"toner_current": 20,
|
|
"toner_capacity_oid": ".1.3.6.1.2.1.43.8.2.1.9.1.3"
|
|
},
|
|
{
|
|
"toner_index": 5,
|
|
"toner_type": "input",
|
|
"toner_oid": ".1.3.6.1.2.1.43.8.2.1.10.1.5",
|
|
"toner_descr": "Tray 4",
|
|
"toner_capacity": 2000,
|
|
"toner_current": 20,
|
|
"toner_capacity_oid": ".1.3.6.1.2.1.43.8.2.1.9.1.5"
|
|
},
|
|
{
|
|
"toner_index": 0,
|
|
"toner_type": "markerSupply",
|
|
"toner_oid": ".1.3.6.1.4.1.367.3.2.1.2.24.1.1.5.",
|
|
"toner_descr": "0",
|
|
"toner_capacity": 100,
|
|
"toner_current": 0,
|
|
"toner_capacity_oid": ".1.3.6.1.2.1.43.11.1.1.8."
|
|
}
|
|
]
|
|
},
|
|
"poller": "matches discovery"
|
|
}
|
|
}
|