AboutDialog allows the user to display a standard dialog
with the following information
- product logo
- product name with revision
- copyright info and company logo
- user and user company
ActiondEventsReader holds the input stream of events - this stream is then
parsed to get the events store that is a list of 'EventBlock's - the
ActiondEventReceiver creates the ActiondEventsReader objects and adds
them to the listener queue.
ActionLaunchManager is responsible for launching any auto actions
associated with the incoming event - it maintains a pool of 'ActionLauncher'
threads to do this.
Constructs the ActionLaunchManager - creates the 'ActionLauncher'
thread pool and starts the INIT_NUM_LAUNCHERS number of the threads
The maximum number of threads in the pool can be configured via
the PROP_MAX_ACTION_LAUNCHER_THREADS property -
the maximum number defaults to 10
The command timeout is the number of milliseconds that the launcher
should wait for a launched command to complete.
This method takes a column name and adds it to the data structure
keeping the list of columns to include in the SELECT clause along
with the table name associated with this column (later the column name
will be appended to the table name in the actual SQL statement).
AdminMainUserProfileParser reads the user preferences for the ADMIN
config from the user profile file
It throws an IOException if the xml file is not found or if it does not
conform to its DTD
AdminMainUserProfWriter writes the user preferences for the AdminMain
config into the user profile file
It throws an IOException if the user profile file write fails for
any reason
Aligns the number by making sure the number
is divisable by four.
ALL_OFF -
Variable in class org.opennms.bb.eui.admin.distpoller.configure.cals.schedulePanel
ALL_ON -
Variable in class org.opennms.bb.eui.admin.distpoller.configure.cals.schedulePanel
Added status flags ALL_ON, ALL_OFF, MIXED
If the user is in the 'Day of the Week' he cannot edit the
'Status' field in the the 'Hours of Operation' table if the
current day has a status of 'ALL_ON' or 'All_OFF'
The user can only edit the 'hours of Op' table when in
'Day of the Week' tab and 'Status' is MIXED or
'Day of Month' tab - Sowmya
AND -
Static variable in class org.opennms.bb.common.filter.BBRulesSymbols
BBActionRenderer creates a button as the renderer component instead of the
default label
It extends the DefaultCellEditor and overrides the appropriate methods
BBArrowRenderer is the table cell renderer for the column that
indicates the current row with an arrow mark
It extends the DefaultTableCellRenderer and sets the label icon to an
arrow if the column to which it is attached is in the currently selected
row
BBBrowseRenderer creates a button as the renderer component instead of the
default label
It extends the DefaultCellEditor and overrides the appropriate methods
BBColumnEditor is a table cell editor that stops editing on a
'focusLost' instead of the default action of having to press 'enter'
(activating) each cell
BBDefaultTableHeaderRenderer is the default header renderer used by the
tables in BlueBird
Starting in JDK1.3, the TableColumn.getHeaderRenderer() returns null by
default.
The BBEntryTableUI extends the BasicTableUI to handle up/down/escape
key actions and the mouse actions so as to dictate move between cells and
also validate the cell values on move from a cell
The BBFileManipTableUI extends the BasicTableUI to handle up/down/escape
key actions and the mouse actions so as to dictate move between cells and
also validate the cell values on move from a cell
The BBManipTableUI extends the BasicTableUI to handle up/down/escape
key actions and the mouse actions so as to dictate move between cells and
also validate the cell values on move from a cell
BBParser provides basic XML parsing functionality to parse XML
from a file or an input stream
BBParser creates a DOMParser which creates a DOM tree of the XML being
parsed.
BBTabbedPane
- allows mnemonics to be set for the tabs
- Maintains a hashtable of dirty flags - each instance of this
has its own dirty flag and its own 'id'.
BBTabbedPaneMenuItem is tied to an instance of 'BBTabbedPane' whose
ID it maintains
This 'acts' only if the tabbedpane to which it is 'attached' is clean
BBTabbedPaneTBButton is tied to an instance of 'BBTabbedPane' whose
ID it maintains
This 'acts' only if the tabbedpane to which it is 'attached' is clean
BBTextField is the default editor component for all text fields in
tables
- This does not accept 'enter'
- provides a default implementation for checking validity of
its contents - these methods are overridden by its extensions to
provide format checks
The Capability daemon - it is notified by the discovery process when
a new node is discovered - it then polls for all the capabilities for
this node and is responsible for loading the data collected into the
database.
CapsdPluginParser parses the 'capsdPluginXML.xml' to get
plugin information for this poller
It throws an IOException if the xml file is not found or if it does not
conform to its DTD
CapsdWriteManager reads CapsReader objects from the in input queue
and uses a thread pool of 'DBRunnableConsumerThread's to write this
data to the database.
Constructs a new CapsdWriteManager object that maintains a
DBRunnableConsumerThread thread pool to handle the serilization
of data to persistant storage (the database).
This method is used by the discovery constructor to determine
what the maximum number of packets per second should be and the
number of icmp sending threads.
Creates the poller JSDT client and channel to be used by the
CapsWriter object to send confirmation to discovery once a
node has been added to the database.
This class is responsible for opening up the proper database
(information contained in the system property file) and for
executing various types of statements against the database such
as SELECT statements and CREATE statements.
The DiscPingManager is the thread responsible to send and receive
the PING requests to discover nodes
It maintains a pool of DiscPingerThreads to send out the PING requests.
DPControlPollersParser parses the 'pollersXML.xml' to get
information relevant to the Distributed Poller controller(DPControl)
The header data is stored in a hashtable while the poller info is stored
in a vector.
DPControlUserProfileParser reads the user preferences for the DPControl
from the user profile file
It throws an IOException if the xml file is not found or if it does not
conform to its DTD
DPControlUserProfWriter writes the user preferences for the DPControl
into the user profile file
It throws an IOException if the user profile file write fails for
any reason
DPPollerPerfParser parses the xml stream received from the
poller when it is queried for the performance data
The modules data and the creation date can be queried for using the
'get..' functions
It throws an IOException if the xml file is not found or if it does not
conform to its DTD
The enterprise ID prefix - incoming events and the events in
event.conf can have EIDs that have the partial EIDs as in
'18.1.1.6' instead of '.1.3.6.1.4.1.18.1.1.6'.
EUIDataParser parses the data returned for each level and stores
the data in a vector
It throws an IOException if the xml file is not found or if it does not
conform to its DTD
EUIEventsParser parses the events level data response and stores
data in a vector of vectors(for each event)
It throws an IOException if the xml file is not found or if it does not
conform to its DTD
EUIUserProfileParser reads the user preferences for the real time
console from the user profile file
It throws an IOException if the xml file is not found or if it does not
conform to its DTD
EUIUserProfWriter writes the user preferences for the realtime
console into the user profile file
It throws an IOException if the user profile file write fails for
any reason
Constructs an EventBlock
NOTE that an 'EventBlock' when created after a parse, gets
constructed with only those values for the event that are
different from the 'event.conf' - the flags are set to
indicate these elements of the eventblock
This is the interface used to send events into the event subsystem -
It is typically used by the poller framework plugins that perform
service monitoring to send out aprropriate events.
EventsParser extends the BBParser and parses an input stream
to read/interpret an event
It throws an IOException if the xml stream does not conform to the event DTD
EventsReader holds the input stream of events - this stream is then
parsed to get the events store that is a list of 'EventBlock's - the
EventListener sub-components(TCPHandler, UDPHandler and JSDTHandler) create
the EventsReader objects and add them to the listener queue from where the
EventListener 'RunnableConsumerThread's thread pool, pick them up
and parse the input stream in the object.
EventsSeverityCellRenderer color codes the background of the severity
column to red/yellow/white when the values are
Critical/Warning/Informational respectively
EventWriter loads the information in each 'EventBlock' into the database
Once the events are added to the database, they are sent out via JSDT
for other processes (such as actiond) to read
Default constructor, calls the Exception constructor.
FATAL -
Static variable in class org.opennms.bb.common.components.Log
Log levels:
A 'INFORMATIONAL'(default) indicates that all output log
statements are put out
A 'WARNING' indicates that only statements of the
loglevel 'WARNING' or lower are to be printed
A 'ERROR' indicates that only statements of the
loglevel 'ERROR' or lower are to be printed
A 'FATAL' indicates that only statements indicating fatal
errors are to be printed
This data class is responsible for holding information
needed by the Fitler module about the tables that are
defined by the PollerDatabaseSchema.xml file.
This method returns the complete from clause in
string format by looping through the fromClause
map and concatenating each table name with the
"FROM" keyword and separating all table names with
a comma.
The table sorter maintains the original table row indices in the
order they are currently sorted in - return the original row index
of the row currently selected.
This method returns the complete select clause in
string format by looping through the selectClause
map and concatenating each table name with the
"SELECT" keyword and separating all column names with
a comma.
If the column to be rendered is the one currently sorted on,
add an appropriate icon depending on the sort order
else have the header display only the heading
This method returns the complete where clause in
string format by concatenating the whereClause buffer
with the "WHERE" keyword and encloses the entire clause
in parenthesis.
handleExit() -
Method in class org.opennms.bb.eui.admin.distpoller.control.DPControl
Deletes the files in the TEMP_DIR and the TEMP_DIR when present
The TEMP_DIR is used by the 'refresh operational info' control
to store temporary files that come in as results to queries to the
pollers
handlemenuToolBarAction() is called by the model and behaviour panels
when a edit to their tables should be reflected in the other panel and
to update the central data
IPAddressTextField creates its own document that allows only digits
dots and some restricted letters to be entered
The validity methods allow only values
of the format [0-255].[0-255].[0-255].[0-255]
IpAddrTable uses a SnmpSession to collect the ipAddrTable entries
It implements the SnmpHandler to receive notifications when a reply is
received/error occurs in the SnmpSession used to send requests /recieve
replies.
IPGenerator queues the list of specific IPAddresses to be pinged
and then expands the m_ranges and queues those addresses one at a time
It adds the addresses to a 'm_generatedQ' to be read by the
DiscPingManager.
An IPPollAddress contains an IP Address, retry count, an
associated timeout, and the JSDT client name of the ICMP
service monitor instance that generated the request.
Sets the status column to be editable based on the return value
of the On/Off status from the schedule panel
If the user is in the 'Day of the Week', edit is only allowed if the
status selected is 'MIXED'
If the user is in 'Day of the Month', editing is allowed always
returns true only if the address is a DNS server and the capability
queried for is 'isDns' and if the interface answers a DNS query
on the port number specified.
Creates a connection to the JSDT registry and
also creates the session/channel through which the
MonitorPinger threads will send poll results to the
ICMP service monitor.
Receives a single command string as an argument, instantiates a
and starts an AutoExec thread object to execute it, blocks waiting
for the action to complete or timeout, and writes the results
to the log.
LoginParser parses the 'users.xml' to get
users information for BlueBird
It throws an IOException if the xml file is not found or if it does not
conform to its DTD
If m_cmdExecutionResult is set to CMD_RESULT_SUCCESS, then this
variable will contain the exit code of the process as returned
by Process.exitValue() call.
The thread that recieves the confirmation from capsd that a node
has been added to the database - once this confirmation is got,
the node is acknowledged as 'known'.
m_dupNodes -
Variable in class org.opennms.bb.dp.capsd.Capsd
Used to filter out duplicate addresses being sent to Capsd from
discovery due to the lag between the time an address is sent
to Capsd and when it is sent back to the discovery
process as a "known" node.
A hash table for the parser pool to be used by the
'RunnableConsumerThread' pool - a parser is added to the pool
for each thread in the pool so that when the threads can then look
up their parser by using the current thread ID
A hash table for the parser pool to be used by the
'RunnableConsumerThread' pool - a parser is added to the pool
for each thread in the pool so that when the threads can then look
up their parser by using the current thread ID
A flag set by the user that indicates if the sender wants to
receive the event being sent
A 'true' indicates that the sender wants to receive the sent event
A 'false' indicates that the sender only wants to send the event, not recieve it
Used to synchronize the class to ensure that the
session has finished collecting data before the
value of success or failure is set, and control
is returned to the caller.
Used to synchronize the class to ensure that the
session has finished collecting data before the
value of success or failure is set, and control
is returned to the caller.
Used to synchronize the class to ensure that the
session has finished collecting data before the
value of success or failure is set, and control
is returned to the caller.
m_signal -
Variable in class org.opennms.bb.dp.capsd.snmp.IfTable
Used to synchronize the class to ensure that the
session has finished collecting data before the
value of success or failure is set, and control
is returned to the caller.
Used to synchronize the class to ensure that the
session has finished collecting data before the
value of success or failure is set, and control
is returned to the caller.
m_sLbl -
Variable in class org.opennms.bb.eui.admin.UserGroupView.RuleBuilder.Node
m_sLbl -
Variable in class org.opennms.bb.eui.admin.distpoller.configure.fbuilder.Node
m_sMsStation -
Static variable in class org.opennms.bb.eui.admin.UserGroupView.Main.UserManager
m_sNewId -
Static variable in class org.opennms.bb.eui.admin.UserGroupView.Main.UserManager
m_sNewId -
Static variable in class org.opennms.bb.eui.admin.distpoller.configure.dpconf.UserManager
m_snmp -
Variable in class org.opennms.bb.dp.events.EventBase
The snmp information
m_snmphost -
Variable in class org.opennms.bb.dp.events.Event
The snmp host that generated the trap
m_snmpHost -
Variable in class org.opennms.bb.eui.operator.utils.datablocks.EventBlock
IP address or hostname of event generator from the IP packet
String which contains the Class name of
the expected SNMP data type for the object.m_type -
Variable in class org.opennms.bb.dp.discovery.utils.DiscIcebergParser.Parameter
The class object for the class name stored
in the m_type string.m_UCOLS -
Static variable in class org.opennms.bb.eui.admin.distpoller.configure.dpconf.UserManager
OperatorChartPanel is the chart that creates the labels
and the bars for each level
The chart creates the bars in the appropriate color based on the
normal and warning levels.
OperatorInterfacePanel is the realtime console panel
It contains the standard menu/tool bar options and also adds
- external menu options from the 'ExternalMenu' file specified
in the user profile file
- external tool options from the 'ExternalTools' file specified
in the user profile file
The operator standard options allows the operator to
- sort on name or severity
- configure the folder tabs.
OperatorMenuPanel creates the standard operator menu and also
creates the external menu if available for the user from the
'ExternalMenu' filename specified in the user's user profile file
OperatorPanel is the component that the tabs in the operator
interface tabbedpane hold
It holds either the chartpanel and the ruler or the events table
based on the current level
OperatorToolPanel creates the standard operator menu and also
creates the external menu if available for the user from the
'ExternalTools' filename specified in the user's user profile file
Asks the parent chart panel for the appropriate size and paints
itself acordingly
Paints the size as well - reduces the font size so the label will fit
PitXmlParser parses the PitXML and stores the data read in a vectors
This can then be queried for the data using the 'get..' functions
It throws an IOException if the xml file is not found or if it does not
conform to its DTD
This class is responsible for reading the information from
the poller.xml and the packages.xml in order to schedule and
run the service monitors for all interfaces dictated by the
package information for the poller.
This is the method to be overridden by sub-classes to branch off and
go through the DOM tree to handle elements specific to the XML they
are parsing - does nothing here
The QueueClosedException class is thrown by various
queues, espically the producer/consumer queues, when
threads are waiting to add/read objects and the queue
is closed during the operations.
RetryTextField creates its own document that allows only digits
and some restricted letters to be entered
The validity methods allow only integer values
or the string <"default"> to be entered
The run() method does the actual work of reading
messages from the daemon and placing those messages
in the appropoiate queue for use by other threads.
Wait for a notify() - the thread is notified if there is a status
change or by the DiscReplyReciever thread if a reply has been
received for any ping request
Everytime it is interrupted from a wait, it checks for a status
change - if there is a status change, appropriate action is taken
if the status is normal, it means a reply has been
received, it reads from the recieve Q, informs the pinger thread
that sent the request out, informs capsd and goes back to waiting
run() -
Method in class org.opennms.bb.dp.actiond.Actiond
Loop through and wait for status changes - if a status change is
detected, all the threads are informed of the status change
for appropriate action to be taken
Loop through and wait for status changes - if status is normal,
read an ActiondEventsReader object off of the input actionQ and launch
any actions associated with the event in the reader.
run() -
Method in class org.opennms.bb.dp.actiond.components.ActionExec
Does the work of actually starting a separate process to
execute the command.
The EventListener holds a hashtable of 'EventsParser' objects for
each thread in its 'RunnableConsumerThread' thread pool - the
'ActiondEventsReader' queries the EventListener for the parser for this
thread and uses that to parse the input stream
Once the parse is complete, the input stream is closed
The EventListener holds a hadhtable of 'EventsParser' objects for
each thread in its 'RunnableConsumerThread' thread pool - the
'EventsReader' queries the EventListener for the parser for this
thread and uses that to parse the input stream
Once the parse is complete, the input stream is closed
ServiceModelsWriter creates a 'serviceModels' xml file using the data
passed in
It throws an IOException if the xml file is not accesible or if there
are any errors while writing into the file
Sets the currently selected tab to hold the new component - used by
the bars to set the next component
Also updates the stack of components for this tab
Sets the product
- Queries the system to find the OS and adds that to the
product info
Note: The input should contain both the product name and
its revision
The Signaler interface was designed to get around
the problem of not being able to extend the functionality
of the Object.notify and Object.notifyAll methods.
SMBManipTable extends BBManipTable
- Sets the table size each time the table data is changed
- Sets a text editr for the interval columns
- Checks values when 'setValue()' is called
- Provides a 'checkAutoFlow()' method to check if there are any holes in
in the intervals
SMUserProfileParser reads the user preferences for the service model
config from the user profile file
It throws an IOException if the xml file is not found or if it does not
conform to its DTD
SMUserProfWriter writes the user preferences for the service model
config into the user profile file
It throws an IOException if the user profile file write fails for
any reason
This method is part of the SnmpHandler interface and is invoked
when the SnmpSession does not receive a reply after exhausting
the retransmission attempts.
This method is part of the SnmpHandler interface and is invoked
when the SnmpSession does not receive a reply after exhausting
the retransmission attempts.
This method is part of the SnmpHandler interface and is invoked
when the SnmpSession does not receive a reply after exhausting
the retransmission attempts.
This method is part of the SnmpHandler interface and is invoked
when the SnmpSession does not receive a reply after exhausting
the retransmission attempts.
This method is part of the SnmpHandler interface and is invoked
when the SnmpSession does not receive a reply after exhausting
the retransmission attempts.
The SnmpTrapHandler interface is implemented by an object that
wishs to receive callbacks when a SNMP trap protocol data unit
is received from an agent.
SnmpUserProfileParser reads the user preferences for the SNMP
config from the user profile file
It throws an IOException if the xml file is not found or if it does not
conform to its DTD
SnmpUserProfWriter writes the user preferences for the SNMP
config into the user profile file
It throws an IOException if the user profile file write fails for
any reason
SnmpXmlParser parses a 'Snmp' xml and stores the data read in vectors
This can then be queried for the data using the 'get..' functions
It throws an IOException if the xml file is not found or if it does not
conform to its DTD
SnmpXmlWriter creates a 'Snmp' xml file using the data in the
vectors passed in
It throws an IOException if the xml file is not accesible or if there
are any errors while writing into the file
This constants defines the mask that can be bitwise
anded with the status return from the poll() method to
determine if a status event should be surpressed.
SystemGroup holds the system group properties
It implements the SnmpHandler to receive notifications when a reply is
received/error occurs in the SnmpSession used to send requests /recieve
replies.
TableEntryPanel
- creates/holds a BBEntryTable
- keeps track of changes to the table model
- provides wrapper methods around the BBEntryTable methods for ease
of use
TableManipulationPanel
- creates/holds a BBManipTable
- keeps track of changes to the table model
- provides wrapper methods around the BBManipTable methods for ease
of use
An input stream that is a a shadow of the socket's input stream
except that on a close(), the socket is closed so that the input
stream is still open for parse - the input stream is closed
after the parse is complete
After each read from the monitorRequestQ, the threads in the monitor
thread pool call this method to adjust the number of threads in the
pool if necessary
If the number of entries in the queue is more than double the
number of threads, the number of threads is increased by one
until the configurable maximum number of threads is reached
After each read from the actionQ, the threads in the thread
pool call this method to adjust the number of threads in the pool
if necessary
If the number of entries in the queue is more than double the
number of threads, the number of threads is increased by one
until the configurable maximum number of threads is reached
If the number of threads in thepool is more than double the
number of entries in the queue, the number of threads is
decreased by one until the predefined initial number of threads
is reached
After each read from the listenerQ, the threads in the thread
pool call this method to adjust the number of threads in the pool
if necessary
If the number of entries in the queue is more than double the
number of threads, the number of threads is increased by one
until the configurable maximum number of threads is reached
If the number of threads in thepool is more than double the
number of entries in the queue, the number of threads is
decreased by one until the predefined initial number of threads
is reached
After each read from the readerQ, the threads in the thread
pool call this method to adjust the number of threads in the pool
if necessary
If the number of entries in the queue is more than double the
number of threads, the number of threads is increased by one
until the configurable maximum number of threads is reached
If the number of threads in thepool is more than double the
number of entries in the queue, the number of threads is
decreased by one until the predefined initial number of threads
is reached
After each read from the listenerQ, the threads in the thread
pool call this method to adjust the number of threads in the pool
if necessary
If the number of entries in the queue is more than double the
number of threads, the number of threads is increased by one
until the configurable maximum number of threads is reached
If the number of threads in thepool is more than double the
number of entries in the queue, the number of threads is
decreased by one until the predefined initial number of threads
is reached
time -
Variable in class org.opennms.bb.eui.operator.utils.EUIDataRequest
TimeIntervalTextField creates its own document that allows only
digits, some restricted letters to be entered
The validity methods allow only values
of the format '\'
where number can be a decimal and
unit can be one of 's', 'm', 'h', 'd'
or the string '\' to be entered
TimeoutTextField creates its own document that allows only digits, dot
and some restricted letters to be entered
The validity methods allow only values
of the format '\s' where number can be a decimal
or the string '\' to be entered
Multiple values of any xml element are appended into one value
when inserted into the database - if the length of the appended
string exceeds the column length, the value is appended with this
pattern
This class is an extension of the default events parser from the
events package and is used to ensure that non-modifiable fields are
stripped from incomming events.