One of the first step during building of a panel is creating sessions
according to parameters saved in the configuration file. Each session owns
some properties. Some of them can be unspecified or can get default
values during the panel configuration
by xdnnve. It concerns the following cases:
if SNMP version is given as Unspecified, SNMP version of
the session is set according to an argument of
-V option of xdnnv;
if no hostname is given, an argument of
-H option of xdnnv
becomes the hostname;
if no SNMP community is given, an argument of
-R option of xdnnv
becomes the community for Read type sessions and an argument of
-W option of xdnnv
becomes the community for Write type sessions;
if no sticking string is given, an argument of
-s option of xdnnv
becomes the sticking string.
After specification of the panel properties the following procedures come:
creating controls, assigning to particular sessions such controls that want to
be used in Read or Write actions and building expected connections between
controls (i.e. Scroll bar, Slider). Next, lists of SNMP packets are built
for particular timers of the panel. That SNMP packets are going to be
sent to particular devices during the panel work.
After that initialization the panel starts its work according to
timers settings saved in the
configuration file and interacts with its user.
The application allows to control in same way work of a generated
panel. Mostly, it can be a control of application timers and SNMP
packets traveling between devices and the application and you can
also trace timeouts for sending requests and other statistics.
Buttons on the toolbar help you to keep control of the panel work. The first button
agrees with File menu:
View menu includes two options - Show tool bar
and Show status bar - they allow you to display or hide the toolbar
and the status bar.
Through Help menu you may find out about the application version
and its creation time.
13.4.1. Sessions statistics
The application counts ingoing and outgoing packets, occurred
errors and timeouts. You can watch current statistics by Sessions
statistics dialog. The panel creation time is displayed at the
top of that dialog.
13.4.2. A basic timer list tab
Configuring by xdnnve
the timers for the panel and connected with them Read and Write
actions, you specify a timer interval on which particular
actions will be run. If the interval is lower then 2 seconds,
it means that a given action will be run only one time on the
beginning the panel work. Turn on the Timer option is set if
the interval of a given timer is lower then 2 seconds. The
timers intervals can be changed during xdnnv work but the
effect will take place only after rebuilding of all SNMP
packet lists. You may do this selecting the item of the
timer list and setting its interval. Pressing Apply button
lets you apply changes.
This tab allows to clear specified counters by
selecting a specified kind of counters and pressing
Clear selected button.
13.4.4. Sessions and PDU-s tab
This tab lets you see current state of all built SNMP packets and find out to which session
a given packet belongs and for request of which control it was built. Each packet has its
identifier that appears in the first column of a presented list (A sessions information
and ID with each Pdu was sent last time and its content). Valid column shows whether
a given packet is valid or not (sent or not). Type column shows a type of packet
(two possibilities: Normal and Control; the second type allows to control
and build tables). Full column tells whether a given packet includes a
maximum number of MIB identifiers (this value is predefined and it can't
be changed). Timer interval column shows a number of seconds which elapses
between sending this packet each time while Timer ID column shows this
timer identifier (an internal value of the application). The last column
OIDs origin presents controls separated by commas for which requests a
given SNMP packet was built.
Using Timer interval in sec. group, Turn on the Timer
option and Valid option you can control a given SNMP packet
according to meaning of a specified column of the list.
Pressing Apply button confirms these changes. Pressing
Rebuild all Pdus causes rebuilding of all SNMP packets for the panel.
Timeouts tab shows timeouts for particular controls. Pressing Clear
timeouts in all controls clears timeout counters for all controls. At the
top of the tab the last clearing time is displayed.