This article describes the configuration of r_keeper_7 monitoring via Zabbix system.
The monitoring allows the user to keep track of relevant metrics and be notified of exceeding critical measure values.
The monitoring system consists of 2 parts:
Agents should be installed on each computer, where monitoring is required.
The minimum compatible r_keeper version is 7.06.04.
Currently, the following can be monitored:
This article describes the basic configuration of the interaction between r_keeper 7 and Zabbix. So, correct r_keeper 7 and Zabbix settings should open a metrics transmission channel.
In the future, it is planned to create new triggers and metrics. Triggers will react to critical measure values by means of sending notifications.
Trigger examples:
Metrics examples:
For monitoring purposes, you will need a Zabbix server. At the time of this writing, only versions for Linux were available. They can be downloaded from the official site. Installation instructions are available there, as well.
Hereinafter, it is implied that the server is already installed and functioning.
A Zabbix agent should be installed on each computer running the r_keeper 7 system. You can download it from the official site. We well describe installation on Windows.
As a result, the agent is installed and starts sending data to the server.
As part of the monitoring configuration, you should configure the r_keeper 7 INI files. It should be performed individually for each required module.
Open the INI file of the required server and add the following entries:
[ZABBIX] ; Zabbix server name / IP address (interface: Zabbix Trapper) ZabbixAt = "172.22.10.152" ; Yhe own name at the Zabbix server: i.e. the name of the selected host (a single PC can have multiple modules with different names) SelfName = "199995181-REP-01" |
Add these settings for each required server.
Use examples:
Reference server
[ZABBIX] ZabbixAt = "172.22.10.152" SelfName = "199995181-REF-00" |
Report server
[ZABBIX] ZabbixAt = "172.22.10.152" SelfName = "199995181-REP-01" |
Cash server
[ZABBIX] ZabbixAt = "172.22.10.152" SelfName = "199995181-MID-01" |
Cash station
[ZABBIX] ZabbixAt = "172.22.10.152" SelfName = "199995181-POS-01" |
If you need to run the service with a non-standard port, add the port with the "-p" key to the IP address in the INI files. For example:
|
Save INI files and restart the servers.
Download the template right here or find it in the attachment.
Open the Zabbix web interface. By default, it is available at: http:// server IP address/zabbix.
Log into the system.
Navigate to Configuration > Templates and click Import in the right corner. Template App R-Keeper 7 will appear on the list of templates.
Select the uploaded file and click Import again.
It is recommended to delete unnecessary templates. For this purpose, set relevant flags and click Delete at the bottom.
To create a host, first, you need to create a group. For this purpose, navigate to Configuration > Host Groups and click Create host group in the right corner .
Specify the name of the new group and click Add
Now, create the hosts.
Navigate to Configuration > Host and click Create host.
Fill in the following fields:
Go to the Templates tab, click Add and select the newly installed Template App R-Keeper 7 from the list of templates. This action can be performed later in batch mode.
Click Select. The template will be added to the host. Click Add in order to save the host settings.
The host will appear on the list. Repeat the same actions for all required hosts.
Make sure that a correct template has been selected for each host, otherwise, data will not be displayed.
Now, the configuration is complete, and you can proceed to monitoring.
Navigate to Monitoring > Latest data. Specify the group in the Host groups field and click Apply. In the list below, the monitoring data will appear. Currently, only the version transfer is available. In the future, there will be more metrics.
If there is no data in the columns Last check and Last value, it means that no data is received.
To check the transmission of data to the Zabbix server, use the manual launch of the zabbix_sender.exe console utility, which is installed together with the agent. This utility sends the specified data to the server, and you can see it in the monitoring section.
Open the command line and launch the zabbix_sender utility:
C:\Program Files\Zabbix Agent\zabbix_sender.exe\zabbix_sender.exe -server_IP_address -s host_name -k metric-name -o metric_value |
Key values:
In case of a successful transmission, the following message appears: processed: 1; failed: 0. In case of errors, it will be vice versa.
The transmitted metric value will appear on the monitoring page.