HOME

com.ireasoning.protocol.snmp
Class AgentStats

java.lang.Object
  extended bycom.ireasoning.protocol.snmp.StatsChangeSupport
      extended bycom.ireasoning.protocol.snmp.AgentStats
All Implemented Interfaces:
Serializable

public class AgentStats
extends com.ireasoning.protocol.snmp.StatsChangeSupport

A collection of objects providing basic instrumentation and control of an SNMP entity.

See Also:
Serialized Form

Constructor Summary
AgentStats()
           
 
Method Summary
 void addPropertyChangeListener(com.ireasoning.protocol.snmp.PropertyChangeListener listener)
          Adds a PropertyChangeListener to the listener list.
 void addSnmpInASNParseErrs(long l)
           
 void addSnmpInBadCommunityNames(long l)
           
 void addSnmpInBadCommunityUses(long l)
           
 void addSnmpInBadValues(long l)
           
 void addSnmpInBadVersions(long l)
           
 void addSnmpInGenErrs(long l)
           
 void addSnmpInGetBulks(long l)
           
 void addSnmpInGetNexts(long l)
           
 void addSnmpInGetRequests(long l)
           
 void addSnmpInGetResponses(long l)
           
 void addSnmpInNoSuchNames(long l)
           
 void addSnmpInPkts(long l)
           
 void addSnmpInReadOnlys(long l)
           
 void addSnmpInSetRequests(long l)
           
 void addSnmpInTooBigs(long l)
           
 void addSnmpInTotalReqVars(long l)
           
 void addSnmpInTotalSetVars(long l)
           
 void addSnmpInTraps(long l)
           
 void addSnmpOutBadValues(long l)
           
 void addSnmpOutGenErrs(long l)
           
 void addSnmpOutGetBulks(long l)
           
 void addSnmpOutGetNexts(long l)
           
 void addSnmpOutGetRequests(long l)
           
 void addSnmpOutGetResponses(long l)
           
 void addSnmpOutNoSuchNames(long l)
           
 void addSnmpOutPkts(long l)
           
 void addSnmpOutSetRequests(long l)
           
 void addSnmpOutTooBigs(long l)
           
 void addSnmpOutTraps(long l)
           
 void addSnmpProxyDrops(long l)
           
 void addSnmpSilentDrops(long l)
           
 void firePropertyChange(String propertyName, Object oldValue, Object newValue)
          Supports reporting bound property changes.
 long getSnmpInASNParseErrs()
          Returns snmpInASNParseErrs (snmp.6) counter as defined in snmp group.
 long getSnmpInBadCommunityNames()
          Returns the snmpInBadCommunityNames (snmp.4) counter as defined in snmp group.
 long getSnmpInBadCommunityUses()
          Returns the snmpInBadCommunityUses (snmp.5) counter as defined in snmp group.
 long getSnmpInBadValues()
          Returns snmpInBadValues (snmp.10) counter as defined in snmp group.
 long getSnmpInBadVersions()
          Returns the snmpInBadVersions (snmp.3) counter as defined in snmp group.
 long getSnmpInGenErrs()
          Returns snmpInGenErrs (snmp.12) counter as defined in snmp group.
 long getSnmpInGetBulks()
          Returns the total number of SNMP Get-Bulk PDUs which have been accepted and processed by the SNMP protocol entity
 long getSnmpInGetNexts()
          Returns the snmpInGetNexts (snmp.16) counter as defined in snmp group.
 long getSnmpInGetRequests()
          Returns the snmpInGetRequests (snmp.15) counter as defined in snmp group.
 long getSnmpInGetResponses()
          Returns the snmpInGetResponses(snmp.18) counter as defined in snmp group.
 long getSnmpInNoSuchNames()
          Returns snmpInNoSuchNames (snmp.9) counter as defined in snmp group.
 long getSnmpInPkts()
          Returns the snmpInPkts (snmp.1) counter as defined in snmp group.
 long getSnmpInReadOnlys()
          Returns snmpInReadOnlys (snmp.11) counter as defined in snmp group.
 long getSnmpInSetRequests()
          Returns the snmpInSetRequests (snmp.17) counter as defined in snmp group.
 long getSnmpInTooBigs()
          Returns snmpInTooBigs (snmp.8) counter as defined in snmp group.
 long getSnmpInTotalReqVars()
          Returns the snmpInTotalReqVars (snmp.13) counter as defined in snmp group.
 long getSnmpInTotalSetVars()
          Returns the snmpInTotalSetVars (snmp.14) counter as defined in snmp group.
 long getSnmpInTraps()
          Returns the snmpInTraps(snmp.19) counter as defined in snmp group.
 long getSnmpOutBadValues()
          Returns the snmpOutBadValues (snmp.22) counter as defined in snmp group.
 long getSnmpOutGenErrs()
          Returns the snmpOutGenErrs (snmp.24) counter as defined in snmp group.
 long getSnmpOutGetBulks()
          Returns the total number of SNMP Get-Bulk PDUs which have been generated by the SNMP protocol entity.
 long getSnmpOutGetNexts()
          Returns the snmpOutGetNexts (snmp.26) counter as defined in snmp group.
 long getSnmpOutGetRequests()
          Returns the snmpOutGetRequests (snmp.25) counter as defined in snmp group.
 long getSnmpOutGetResponses()
          Returns the snmpOutGetResponses(snmp.28) counter as defined in snmp group.
 long getSnmpOutNoSuchNames()
          Returns the snmpOutNoSuchNames(snmp.21) counter as defined in snmp group.
 long getSnmpOutPkts()
          Returns the snmpOutPkts(snmp.2) counter as defined in snmp group.
 long getSnmpOutSetRequests()
          Returns the snmpOutSetRequests (snmp.27) counter as defined in snmp group.
 long getSnmpOutTooBigs()
          Returns the snmpOutTooBigs(snmp.20) counter as defined in snmp group.
 long getSnmpOutTraps()
          Returns the snmpOutTraps(snmp.29) counter as defined in snmp group.
 long getSnmpProxyDrops()
          Returns the snmpProxyDrops(snmp.32) counter as defined in snmp group.
 long getSnmpSilentDrops()
          Returns the snmpSilentDrops(snmp.31) counter as defined in snmp group.
 boolean isSnmpEnableAuthenTraps()
          Return the snmpEnableAuthenTraps (snmp.30) value.
 void removePropertyChangeListener(com.ireasoning.protocol.snmp.PropertyChangeListener listener)
          Removes a PropertyChangeListener from the listener list.
 void setSnmpEnableAuthenTraps(boolean b)
           
 void setSnmpInASNParseErrs(long l)
           
 void setSnmpInBadCommunityNames(long l)
           
 void setSnmpInBadCommunityUses(long l)
           
 void setSnmpInBadValues(long l)
           
 void setSnmpInBadVersions(long l)
           
 void setSnmpInGenErrs(long l)
           
 void setSnmpInGetBulks(long l)
           
 void setSnmpInGetNexts(long l)
           
 void setSnmpInGetRequests(long l)
           
 void setSnmpInGetResponses(long l)
           
 void setSnmpInNoSuchNames(long l)
           
 void setSnmpInPkts(long l)
           
 void setSnmpInReadOnlys(long l)
           
 void setSnmpInSetRequests(long l)
           
 void setSnmpInTooBigs(long l)
           
 void setSnmpInTotalReqVars(long l)
           
 void setSnmpInTotalSetVars(long l)
           
 void setSnmpInTraps(long l)
           
 void setSnmpOutBadValues(long l)
           
 void setSnmpOutGenErrs(long l)
           
 void setSnmpOutGetBulks(long l)
           
 void setSnmpOutGetNexts(long l)
           
 void setSnmpOutGetRequests(long l)
           
 void setSnmpOutGetResponses(long l)
           
 void setSnmpOutNoSuchNames(long l)
           
 void setSnmpOutPkts(long l)
           
 void setSnmpOutSetRequests(long l)
           
 void setSnmpOutTooBigs(long l)
           
 void setSnmpOutTraps(long l)
           
 void setSnmpProxyDrops(long l)
           
 void setSnmpSilentDrops(long l)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AgentStats

public AgentStats()
Method Detail

getSnmpInPkts

public long getSnmpInPkts()
Returns the snmpInPkts (snmp.1) counter as defined in snmp group. It's the total number of messages delivered to the SNMP entity from the transport service.


setSnmpInPkts

public void setSnmpInPkts(long l)

addSnmpInPkts

public void addSnmpInPkts(long l)

getSnmpOutPkts

public long getSnmpOutPkts()
Returns the snmpOutPkts(snmp.2) counter as defined in snmp group. It's the total number of SNMP Messages which were passed from the SNMP protocol entity to the transport service.


setSnmpOutPkts

public void setSnmpOutPkts(long l)

addSnmpOutPkts

public void addSnmpOutPkts(long l)

getSnmpInBadVersions

public long getSnmpInBadVersions()
Returns the snmpInBadVersions (snmp.3) counter as defined in snmp group. It's the total number of SNMP messages which were delivered to the SNMP entity and were for an unsupported SNMP version.


setSnmpInBadVersions

public void setSnmpInBadVersions(long l)

addSnmpInBadVersions

public void addSnmpInBadVersions(long l)

getSnmpInBadCommunityNames

public long getSnmpInBadCommunityNames()
Returns the snmpInBadCommunityNames (snmp.4) counter as defined in snmp group. It's the total number of SNMP messages delivered to the SNMP entity which used an SNMP community name not known to said entity.


setSnmpInBadCommunityNames

public void setSnmpInBadCommunityNames(long l)

addSnmpInBadCommunityNames

public void addSnmpInBadCommunityNames(long l)

getSnmpInBadCommunityUses

public long getSnmpInBadCommunityUses()
Returns the snmpInBadCommunityUses (snmp.5) counter as defined in snmp group. It's the total number of SNMP messages delivered to the SNMP entity which represented an SNMP operation which was not allowed by the SNMP community named in the message.


setSnmpInBadCommunityUses

public void setSnmpInBadCommunityUses(long l)

addSnmpInBadCommunityUses

public void addSnmpInBadCommunityUses(long l)

getSnmpInASNParseErrs

public long getSnmpInASNParseErrs()
Returns snmpInASNParseErrs (snmp.6) counter as defined in snmp group. It's the total number of ASN.1 or BER errors encountered by the SNMP entity when decoding received SNMP messages.


setSnmpInASNParseErrs

public void setSnmpInASNParseErrs(long l)

addSnmpInASNParseErrs

public void addSnmpInASNParseErrs(long l)

getSnmpInTooBigs

public long getSnmpInTooBigs()
Returns snmpInTooBigs (snmp.8) counter as defined in snmp group. It's the total number of SNMP PDUs which were delivered to the SNMP protocol entity and for which the value of the error-status field is `tooBig'.


setSnmpInTooBigs

public void setSnmpInTooBigs(long l)

addSnmpInTooBigs

public void addSnmpInTooBigs(long l)

getSnmpInNoSuchNames

public long getSnmpInNoSuchNames()
Returns snmpInNoSuchNames (snmp.9) counter as defined in snmp group. It's the total number of SNMP PDUs which were delivered to the SNMP protocol entity and for which the value of the error-status field is `noSuchName'.


setSnmpInNoSuchNames

public void setSnmpInNoSuchNames(long l)

addSnmpInNoSuchNames

public void addSnmpInNoSuchNames(long l)

getSnmpInBadValues

public long getSnmpInBadValues()
Returns snmpInBadValues (snmp.10) counter as defined in snmp group. It's the total number of SNMP PDUs which were delivered to the SNMP protocol entity and for which the value of the error-status field is `badValue'.


setSnmpInBadValues

public void setSnmpInBadValues(long l)

addSnmpInBadValues

public void addSnmpInBadValues(long l)

getSnmpInReadOnlys

public long getSnmpInReadOnlys()
Returns snmpInReadOnlys (snmp.11) counter as defined in snmp group. It's the total number valid SNMP PDUs which were delivered to the SNMP protocol entity and for which the value of the error-status field is `readOnly'. It should be noted that it is a protocol error to generate an SNMP PDU which contains the value `readOnly' in the error-status field, as such this object is provided as a means of detecting incorrect implementations of the SNMP.


setSnmpInReadOnlys

public void setSnmpInReadOnlys(long l)

addSnmpInReadOnlys

public void addSnmpInReadOnlys(long l)

getSnmpInGenErrs

public long getSnmpInGenErrs()
Returns snmpInGenErrs (snmp.12) counter as defined in snmp group. It's the total number of SNMP PDUs which were delivered to the SNMP protocol entity and for which the value of the error-status field is `genErr'.


setSnmpInGenErrs

public void setSnmpInGenErrs(long l)

addSnmpInGenErrs

public void addSnmpInGenErrs(long l)

getSnmpInTotalReqVars

public long getSnmpInTotalReqVars()
Returns the snmpInTotalReqVars (snmp.13) counter as defined in snmp group. It's the total number of MIB objects which have been retrieved successfully by the SNMP protocol entity as the result of receiving valid SNMP Get-Request , Get-Next and Get-Bulk PDUs.


setSnmpInTotalReqVars

public void setSnmpInTotalReqVars(long l)

addSnmpInTotalReqVars

public void addSnmpInTotalReqVars(long l)

getSnmpInTotalSetVars

public long getSnmpInTotalSetVars()
Returns the snmpInTotalSetVars (snmp.14) counter as defined in snmp group. It's the total number of MIB objects which have been altered successfully by the SNMP protocol entity as the result of receiving valid SNMP Set-Request PDUs.


setSnmpInTotalSetVars

public void setSnmpInTotalSetVars(long l)

addSnmpInTotalSetVars

public void addSnmpInTotalSetVars(long l)

getSnmpInGetRequests

public long getSnmpInGetRequests()
Returns the snmpInGetRequests (snmp.15) counter as defined in snmp group. It's The total number of SNMP Get-Request PDUs which have been accepted and processed by the SNMP protocol entity.


setSnmpInGetRequests

public void setSnmpInGetRequests(long l)

addSnmpInGetRequests

public void addSnmpInGetRequests(long l)

getSnmpInGetNexts

public long getSnmpInGetNexts()
Returns the snmpInGetNexts (snmp.16) counter as defined in snmp group. It's the total number of SNMP Get-Next PDUs which have been accepted and processed by the SNMP protocol entity


setSnmpInGetNexts

public void setSnmpInGetNexts(long l)

addSnmpInGetNexts

public void addSnmpInGetNexts(long l)

getSnmpInGetBulks

public long getSnmpInGetBulks()
Returns the total number of SNMP Get-Bulk PDUs which have been accepted and processed by the SNMP protocol entity


setSnmpInGetBulks

public void setSnmpInGetBulks(long l)

addSnmpInGetBulks

public void addSnmpInGetBulks(long l)

getSnmpInSetRequests

public long getSnmpInSetRequests()
Returns the snmpInSetRequests (snmp.17) counter as defined in snmp group. It's The total number of SNMP Set-Request PDUs which have been accepted and processed by the SNMP protocol entity.


setSnmpInSetRequests

public void setSnmpInSetRequests(long l)

addSnmpInSetRequests

public void addSnmpInSetRequests(long l)

getSnmpInGetResponses

public long getSnmpInGetResponses()
Returns the snmpInGetResponses(snmp.18) counter as defined in snmp group. It's the total number of SNMP Get-Response PDUs which have been accepted and processed by the SNMP protocol entity.


setSnmpInGetResponses

public void setSnmpInGetResponses(long l)

addSnmpInGetResponses

public void addSnmpInGetResponses(long l)

getSnmpInTraps

public long getSnmpInTraps()
Returns the snmpInTraps(snmp.19) counter as defined in snmp group. It's the total number of SNMP Trap PDUs which have been accepted and processed by the SNMP protocol entity.


setSnmpInTraps

public void setSnmpInTraps(long l)

addSnmpInTraps

public void addSnmpInTraps(long l)

getSnmpOutTooBigs

public long getSnmpOutTooBigs()
Returns the snmpOutTooBigs(snmp.20) counter as defined in snmp group. It's the total number of SNMP PDUs which were generated by the SNMP protocol entity and for which the value of the error-status field is `tooBig.'


setSnmpOutTooBigs

public void setSnmpOutTooBigs(long l)

addSnmpOutTooBigs

public void addSnmpOutTooBigs(long l)

getSnmpOutNoSuchNames

public long getSnmpOutNoSuchNames()
Returns the snmpOutNoSuchNames(snmp.21) counter as defined in snmp group. It's the total number of SNMP PDUs which were generated by the SNMP protocol entity and for which the value of the error-status is `noSuchName'.


setSnmpOutNoSuchNames

public void setSnmpOutNoSuchNames(long l)

addSnmpOutNoSuchNames

public void addSnmpOutNoSuchNames(long l)

getSnmpOutBadValues

public long getSnmpOutBadValues()
Returns the snmpOutBadValues (snmp.22) counter as defined in snmp group. It's the total number of SNMP PDUs which were generated by the SNMP protocol entity and for which the value of the error-status field is `badValue'.


setSnmpOutBadValues

public void setSnmpOutBadValues(long l)

addSnmpOutBadValues

public void addSnmpOutBadValues(long l)

getSnmpOutGenErrs

public long getSnmpOutGenErrs()
Returns the snmpOutGenErrs (snmp.24) counter as defined in snmp group. It's the total number of SNMP PDUs which were generated by the SNMP protocol entity and for which the value of the error-status field is `genErr'.


setSnmpOutGenErrs

public void setSnmpOutGenErrs(long l)

addSnmpOutGenErrs

public void addSnmpOutGenErrs(long l)

getSnmpOutGetRequests

public long getSnmpOutGetRequests()
Returns the snmpOutGetRequests (snmp.25) counter as defined in snmp group. It's the total number of SNMP Get-Request PDUs which have been generated by the SNMP protocol entity.


setSnmpOutGetRequests

public void setSnmpOutGetRequests(long l)

addSnmpOutGetRequests

public void addSnmpOutGetRequests(long l)

getSnmpOutGetNexts

public long getSnmpOutGetNexts()
Returns the snmpOutGetNexts (snmp.26) counter as defined in snmp group. It's the total number of SNMP Get-Next PDUs which have been generated by the SNMP protocol entity.


setSnmpOutGetNexts

public void setSnmpOutGetNexts(long l)

addSnmpOutGetNexts

public void addSnmpOutGetNexts(long l)

getSnmpOutGetBulks

public long getSnmpOutGetBulks()
Returns the total number of SNMP Get-Bulk PDUs which have been generated by the SNMP protocol entity.


setSnmpOutGetBulks

public void setSnmpOutGetBulks(long l)

addSnmpOutGetBulks

public void addSnmpOutGetBulks(long l)

getSnmpOutSetRequests

public long getSnmpOutSetRequests()
Returns the snmpOutSetRequests (snmp.27) counter as defined in snmp group. It's the total number of SNMP Set-Request PDUs which have been generated by the SNMP protocol entity."


setSnmpOutSetRequests

public void setSnmpOutSetRequests(long l)

addSnmpOutSetRequests

public void addSnmpOutSetRequests(long l)

getSnmpOutGetResponses

public long getSnmpOutGetResponses()
Returns the snmpOutGetResponses(snmp.28) counter as defined in snmp group. It's the total number of SNMP Get-Response PDUs which have been generated by the SNMP protocol entity."


setSnmpOutGetResponses

public void setSnmpOutGetResponses(long l)

addSnmpOutGetResponses

public void addSnmpOutGetResponses(long l)

getSnmpOutTraps

public long getSnmpOutTraps()
Returns the snmpOutTraps(snmp.29) counter as defined in snmp group. It's the total number of SNMP Trap PDUs which have been generated by the SNMP protocol entity.


setSnmpOutTraps

public void setSnmpOutTraps(long l)

addSnmpOutTraps

public void addSnmpOutTraps(long l)

isSnmpEnableAuthenTraps

public boolean isSnmpEnableAuthenTraps()
Return the snmpEnableAuthenTraps (snmp.30) value. It indicates whether the SNMP agent process is permitted to generate authentication-failure traps. The value of this object overrides any configuration information; as such, it provides a means whereby all authentication-failure traps may be disabled.


setSnmpEnableAuthenTraps

public void setSnmpEnableAuthenTraps(boolean b)

getSnmpSilentDrops

public long getSnmpSilentDrops()
Returns the snmpSilentDrops(snmp.31) counter as defined in snmp group. It's the total number of GetRequest-PDUs, GetNextRequest-PDUs, GetBulkRequest-PDUs, SetRequest-PDUs, and InformRequest-PDUs delivered to the SNMP entity which were silently dropped because the size of a reply containing an alternate Response-PDU with an empty variable-bindings field was greater than either a local constraint or the maximum message size associated with the originator of the request.


setSnmpSilentDrops

public void setSnmpSilentDrops(long l)

addSnmpSilentDrops

public void addSnmpSilentDrops(long l)

getSnmpProxyDrops

public long getSnmpProxyDrops()
Returns the snmpProxyDrops(snmp.32) counter as defined in snmp group. It's the total number of GetRequest-PDUs, GetNextRequest-PDUs, GetBulkRequest-PDUs, SetRequest-PDUs, and InformRequest-PDUs delivered to the SNMP entity which were silently dropped because the transmission of the (possibly translated) message to a proxy target failed in a manner (other than a time-out) such that no Response-PDU could be returned.


setSnmpProxyDrops

public void setSnmpProxyDrops(long l)

addSnmpProxyDrops

public void addSnmpProxyDrops(long l)

firePropertyChange

public void firePropertyChange(String propertyName,
                               Object oldValue,
                               Object newValue)
Supports reporting bound property changes. This method can be called when a bound property has changed and it will send the appropriate PropertyChangeEvent to any registered PropertyChangeListeners.


addPropertyChangeListener

public void addPropertyChangeListener(com.ireasoning.protocol.snmp.PropertyChangeListener listener)
Adds a PropertyChangeListener to the listener list. The listener is registered for all properties.

A PropertyChangeEvent will get fired in response to setting a bound property, e.g. setFont, setBackground, or setForeground. Note that if the current component is inheriting its foreground, background, or font from its container, then no event will be fired in response to a change in the inherited property.

Parameters:
listener - The PropertyChangeListener to be added

removePropertyChangeListener

public void removePropertyChangeListener(com.ireasoning.protocol.snmp.PropertyChangeListener listener)
Removes a PropertyChangeListener from the listener list. This removes a PropertyChangeListener that was registered for all properties.

Parameters:
listener - the PropertyChangeListener to be removed

HOME

Copyright © 2002 iReasoning Inc. All Rights Reserved.