From ISP admin
Contents |
SNMP graphs settings
Newly launched SNMP module which solves universal communication through SNMP with any device which supports SNMP version 1 or 2. The system has ability to read the data out of these devices and from such received data draw graphs according to defined SNMP templates. The system now allows to create your own SNMP templates according to which the SNMP template then runs.
To launch SNMP graphs in the ISP amin, you need to follow these steps:
1. Creating an SNMP template
Setting the template for the device is done in the menu of Settings / Others / SNMP OID. Here you can create a template for every device that you use.
Following items must be filled in for the template edit:
Template name
The name of a used template
SNMP version
SNMP versions used ( SNMP v1 or SNMP v2c )
Graph size
The graph size in pixels. The default value is 520x140 px
Max and Min value
Maximum and Minimum value of a generated graph. If the 0 is listed for both the values, the Y-axis of the destination graph will thus automatically adjust according to the measured values. So, for example, if we measure the CPU load which ranges around 50%, then the minimum value will be for example 40 and the maximum value 60 per cent. By setting the values in the template, it is possible to set the minimum value on 0 and the maximum value on 100 per cent, which in the destination graph is better arranged.
OID - SNMP OID measured values
Individual measured values, detailed settings of every measured value of the graph. You can enter 32 measued values into one template.
( for example 1.3.6.1.2.1.2.2.1.10.1 for transmission on the interface on the switch ). The measured values must be received from the MIB tables of a particular device. SNMP OID must be set in numeric not-shortened form.
Description
The description of measured value ( eg. CPU load, Temperature, etc... ). This description of measured value will display within the graph.
Graph
If the checkbox is marked, thus the measured value graph is drawn. If it is not marked, the graph is not drawn, but the value is still being read out of the device and you can display it later.
Group
Separate values may be displayed in groups. Group means a set of values which are displayed in one graph. If we set for example three values into group 1 and other two values into group 2, two graphs will be displayed for the device, when you want to display a graph.
Operator
Unloaded values may be during displaying recounted onto correct values. For instance, if during displaying the information about the battery voltage the system returns the value of 1245 instead of the value of 12,45. This value must thus be recounted for correct access to the graph ( in our case be divide by value of 100). From the popup menu it is possible to select the operator "*", "/", "+" and "-".
Value
The value by which measured value from the device is recounted ( in connection to an operator )
Unit
The unit displayed next to the graph value ( kbps, A, V, % ..... )
Number of decimal places
The number of decimal places which are shown next to the values ( 0-3 )
Absolute value
In case the unloaded data, eg. information about temperature, voltage, etc., the absolute values are unloaded from the device ( eg. 12,45 V, 12,58 V .... ); it means that the values are incremental and they are thus absolute values. In this case, the checkbox must be marked. In case we display transmitted data graphs where the device returns "accessive" values ( counter ), then it is necessary to get the difference between the current and preious values for the correct display; and to put this difference into the destination graph. In this case, the checkbox remains unmarked.
Colour
You can select a current colour from the colour codebook and the final value will be drawn into the graph in this colour.
Type of graph
Here you can select a type of graph from the codebook. The type you select is wither LINE type ( width 1-3 ) and or AREA type. The LINE type is a simple line in the graph ( of an appropriate width ) and the AREA type fills the graph "area".
All changes in SNMP OID template will show immediately in the destination graph. It means that if for instance the recounting coefficient of the measured value changes, then the destination graph will change the display for even the earlier measured values ( retroactively )
- Debugging
- SNMP walker ...
- Connection test - a check of the OID values processed by the SNMP template
2. Assigning an SNMP template to the type of a device
If the template is created including all SNMP OID, the settings of type of the graph, value translation, colour translation... it is necessary to assign this template to a certain type of device ( for example CISCO switch, temperature number etc. ). The SNMP template may be assigned to all types of devices which are listed in the menu of "Settings / Codebooks / End devices". In this codebook you can add individual types of devices divided according to the groups. When adding or editing a device, you can select also an SNMP OID template which will be used for communication with this device.
3. Assigning a device to the router
In the menu for "Routers" you can add a device to every router by clicking on the bookmark for "Add a device". You can select the "Type of devie" in the device settings, which is a group from the menu of "Settings / Codebooks / End devices" and also "Exact type of device", which are separate devices in this group to which a certain template is assigned for the communication through SNMP.
After selecting the exact type of the device, the SNMP password can be entered for the communication with the device; if everything is correctly set, then after you click on the icon "Test the connection" ( the second icon from the right in the router heading ), the communication with MikroTik test will be carried out as well as the test of communication with all devices which are set for the communication through SNMP. For these tested devices, even the up-to-date values received from the device, including the destination "translated" values, are displayed and will also appear in the graph. Thanks to the unloaded values display and the translated online values display, flawless and simple debugging of SNMP template can be carried out to show the correct values in the graph.
SNMP device graph display in the bookmark for Routers
- file
- create
- assign
- set
General SNMP interface
- value unloading from any device supporting SNMP v1 or v2
- OID templates defining for every device
- measured values may be displayed in the graph
- measured values may be grouped into more graphs
- settings variability of final values ( setting of the type of graph, of size, colours, the possibility of final values translation )
SNMP OID templates setting for information unload from other devices than MikroTik
...co dal napsat, nejake nove věci co se dodelavaly?
Name
The name of the monitored device
SNMP
SNMP protocol version
OID
???
Description
Description for all SNMP OID
Graph
Check if you want to generate a graph
Separate graph
Check if you want to generate a separate graph ???