IPP Mail Archive: IPP> NOT - Lightweight SNMP job traps

IPP> NOT - Lightweight SNMP job traps

From: McDonald, Ira (imcdonald@sharplabs.com)
Date: Tue Apr 18 2000 - 17:46:38 EDT

  • Next message: McDonald, Ira: "RE: IPP> ADM - IPP Phone Conference - 000419 [SNMP traps]"

    Hi folks, Tuesday (18 April 2000)

    In response to Ron Bergman's comments on the Job Monitoring MIB traps,
    below is a proposed set of four lightweight traps for discussion at
    tomorrow's IPP Telecon and feedback on the IPP WG mailing list.

    Each of these traps has only two string bindings 'jmEventTriggerEvent'
    and 'jmEventDeviceName'. By sacrificing extensibility (for vendor
    private extensions), we could collapse the 'jmEventTriggerEvent' object
    to an enumeration.

    I also replaced the (extensible) string encoded 'jmEventJobStateReasons'
    with the (far more compact) integer encoded 'jmJobStateReasons1'. I
    propose that the string encoded form be permitted as an OPTIONAL binding
    by the trap DESCRIPTION clauses.

    Following the proposed revised traps is the same proposal with the
    deleted original bindings shown as ASN.1 comments.

    Following this is the original text of the traps, as specified in
    'draft-ietf-ipp-not-over-snmp-02.txt'.

    Comments?

    Cheers,
    - Ira McDonald, consulting architect at Xerox and Sharp
      High North Inc

    ------------------------------------------------------------------------
    [proposed lightweight SNMP traps for IPP events]

    jmDeviceBasicV2Event NOTIFICATION-TYPE
        OBJECTS {
            jmEventTriggerEvent,
            jmEventDeviceName,
            jmEventDeviceState,
            jmEventDeviceStateReasons,
            jmEventDeviceIsAcceptingJobs
        }

    jmJobBasicV2Event NOTIFICATION-TYPE
        OBJECTS {
            jmEventTriggerEvent,
            jmEventDeviceName,
            jmJobState, -- alternate binding
            jmJobStateReasons1 -- alternate binding
        }

    jmJobCompletedV2Event NOTIFICATION-TYPE
        OBJECTS {
            jmEventTriggerEvent,
            jmEventDeviceName,
            jmJobState, -- alternate binding
            jmJobStateReasons1, -- alternate binding
            jmJobKOctetsProcessed, -- alternate binding
            jmJobImpressionsCompleted, -- alternate binding
            jmEventJobMediaSheetsCompleted
        }

    jmJobProgressV2Event NOTIFICATION-TYPE
        OBJECTS {
            jmEventTriggerEvent,
            jmEventDeviceName,
            jmJobState, -- alternate binding
            jmJobStateReasons1, -- alternate binding
            jmJobKOctetsProcessed, -- alternate binding
            jmJobImpressionsCompleted, -- alternate binding
            jmEventJobMediaSheetsCompleted,
            jmEventJobImpressionsCompletedCC,
            jmEventJobCollationType,
            jmEventJobSheetCompletedCopyNum,
            jmEventJobSheetCompletedDocNum
        }

    ------------------------------------------------------------------------
    [proposed lightweight SNMP traps for IPP events w/ deleted bindings]

    jmDeviceBasicV2Event NOTIFICATION-TYPE
        OBJECTS {
            jmEventTriggerEvent,
    -- jmEventSubscriptionID,
    -- jmEventSubscriberUserName,
    -- jmEventSubscriberUserData,
    -- jmEventDeviceURI,
            jmEventDeviceName,
    -- jmEventJobSetIndex,
    -- jmEventJobIndex,
    -- jmEventJobName,
            jmEventDeviceState,
            jmEventDeviceStateReasons,
            jmEventDeviceIsAcceptingJobs
        }

    jmJobBasicV2Event NOTIFICATION-TYPE
        OBJECTS {
            jmEventTriggerEvent,
    -- jmEventSubscriptionID,
    -- jmEventSubscriberUserName,
    -- jmEventSubscriberUserData,
    -- jmEventDeviceURI,
            jmEventDeviceName,
    -- jmEventJobSetIndex,
    -- jmEventJobIndex,
    -- jmEventJobName,
    -- jmEventJobState,
            jmJobState, -- alternate binding
    -- jmEventJobStateReasons
            jmJobStateReasons1 -- alternate binding
        }

    jmJobCompletedV2Event NOTIFICATION-TYPE
        OBJECTS {
            jmEventTriggerEvent,
    -- jmEventSubscriptionID,
    -- jmEventSubscriberUserName,
    -- jmEventSubscriberUserData,
    -- jmEventDeviceURI,
            jmEventDeviceName,
    -- jmEventJobSetIndex,
    -- jmEventJobIndex,
    -- jmEventJobName,
    -- jmEventJobState,
            jmJobState, -- alternate binding
    -- jmEventJobStateReasons,
            jmJobStateReasons1, -- alternate binding
    -- jmEventJobKOctetsProcessed,
            jmJobKOctetsProcessed, -- alternate binding
    -- jmEventJobImpressionsCompleted,
            jmJobImpressionsCompleted, -- alternate binding
            jmEventJobMediaSheetsCompleted
        }

    jmJobProgressV2Event NOTIFICATION-TYPE
        OBJECTS {
            jmEventTriggerEvent,
    -- jmEventSubscriptionID,
    -- jmEventSubscriberUserName,
    -- jmEventSubscriberUserData,
    -- jmEventDeviceURI,
            jmEventDeviceName,
    -- jmEventJobSetIndex,
    -- jmEventJobIndex,
    -- jmEventJobName,
    -- jmEventJobState,
            jmJobState, -- alternate binding
    -- jmEventJobStateReasons,
            jmJobStateReasons1, -- alternate binding
    -- jmEventJobKOctetsProcessed,
            jmJobKOctetsProcessed, -- alternate binding
    -- jmEventJobImpressionsCompleted,
            jmJobImpressionsCompleted, -- alternate binding
            jmEventJobMediaSheetsCompleted,
            jmEventJobImpressionsCompletedCC,
            jmEventJobCollationType,
            jmEventJobSheetCompletedCopyNum,
            jmEventJobSheetCompletedDocNum
        }

    ------------------------------------------------------------------------
    [excerpt from 'draft-ietf-ipp-not-over-snmp-02.txt']

    jmDeviceBasicV2Event NOTIFICATION-TYPE
        OBJECTS {
            jmEventTriggerEvent,
            jmEventSubscriptionID,
            jmEventSubscriberUserName,
            jmEventSubscriberUserData,
            jmEventDeviceURI,
            jmEventDeviceName,
            jmEventJobSetIndex,
            jmEventJobIndex,
            jmEventJobName,
            jmEventDeviceState,
            jmEventDeviceStateReasons,
            jmEventDeviceIsAcceptingJobs
        }

    jmJobBasicV2Event NOTIFICATION-TYPE
        OBJECTS {
            jmEventTriggerEvent,
            jmEventSubscriptionID,
            jmEventSubscriberUserName,
            jmEventSubscriberUserData,
            jmEventDeviceURI,
            jmEventDeviceName,
            jmEventJobSetIndex,
            jmEventJobIndex,
            jmEventJobName,
            jmEventJobState,
            jmEventJobStateReasons
        }

    jmJobCompletedV2Event NOTIFICATION-TYPE
        OBJECTS {
            jmEventTriggerEvent,
            jmEventSubscriptionID,
            jmEventSubscriberUserName,
            jmEventSubscriberUserData,
            jmEventDeviceURI,
            jmEventDeviceName,
            jmEventJobSetIndex,
            jmEventJobIndex,
            jmEventJobName,
            jmEventJobState,
            jmEventJobStateReasons,
            jmEventJobKOctetsProcessed,
            jmEventJobImpressionsCompleted,
            jmEventJobMediaSheetsCompleted
        }

    jmJobProgressV2Event NOTIFICATION-TYPE
        OBJECTS {
            jmEventTriggerEvent,
            jmEventSubscriptionID,
            jmEventSubscriberUserName,
            jmEventSubscriberUserData,
            jmEventDeviceURI,
            jmEventDeviceName,
            jmEventJobSetIndex,
            jmEventJobIndex,
            jmEventJobName,
            jmEventJobState,
            jmEventJobStateReasons,
            jmEventJobKOctetsProcessed,
            jmEventJobImpressionsCompleted,
            jmEventJobMediaSheetsCompleted,
            jmEventJobImpressionsCompletedCC,
            jmEventJobCollationType,
            jmEventJobSheetCompletedCopyNum,
            jmEventJobSheetCompletedDocNum
        }

    ------------------------------------------------------------------------



    This archive was generated by hypermail 2b29 : Tue Apr 18 2000 - 17:53:37 EDT