Fetch Data with Livestatus/ NDOUtils#
For a target/actual-comparison between the target documentation in i-doit and the actual status provided by a Network Monitoring software, a suitable interface can be very helpful. With this interface you can display data from the Network Monitoring in i-doit and evaluate them.
NDOUtils (or IDOUtils) and
for Nagios, Check_MK, Icinga and all compatible forks are supported.
MK Livestatus offers a highly performant connection to the Network Monitoring. Thus it is to be preferred over NDOUtils.
A running NDOUtils or MK Livestatus are required on the monitoring system. The access to one of the interfaces has to be configurated in i-doit at Administration → Interfaces → Monitoring → Livestatus/NDO.
A TCP/UNIX socket or a database configuration with corresponding access permissions has to be set depending on the type of interface.
Example for NDOUtils:
Example for MK Livestatus:
In order to read out data the category folder Monitoring has to be assigned to the object types with the Quick Configuration Wizard. The respective identification key for the monitoring has to be configured for the object in the Monitoring category. For this, either the object title, the hostname with or without domain name or a freely chosen name can be used. This entry determines the name which is queried in the monitoring.
If multiple monitoring instances are configured, the corresponding instance is chosen.
Is the category activated and the entry saved, then the current status can be queried in the Livestatus or the NDO category.
A column for the NDO or Livestatus can be additionally chosen in the object list configuration so that the current host status is also shown in the object list.
Log Entries from the Monitoring#
Status notifications from the monitoring can be transferred to the i-doit log via the controller. The corresponding handler, check_mk or nagios, has to be opened and all status changes which happened since the last run are transferred to the log automatically.