Univention Bugzilla – Bug 50825
Make the ip address used by nagios for host check configurable
Last modified: 2020-02-13 16:25:45 CET
If forgot to privatize the config file so here again: If you have a second ipaddress defined for a server in the UMC The nagios configuration now shows the second ipaddress: cat /etc/nagios/conf.univention.d/hosts/master.schein.ig.cfg # Warning: This file is auto-generated and might be overwritten. # Please use univention-admin instead. # Warnung: Diese Datei wurde automatisch generiert und wird # automatisch ueberschrieben. Bitte benutzen Sie # stattdessen den Univention Admin. define host { host_name master.schein.ig alias master.schein.ig address 10.200.43.187 check_command check-host-alive max_check_attempts 10 contact_groups univention-admins.schein.ig notification_interval 180 notification_period Univention-Predefined-24x7 notification_options d,u,r } ------------------------------------------------------- univention-ldapsearch -LLLo ldif-wrap=no cn=master arecord dn: cn=master,cn=dc,cn=computers,dc=schein,dc=ig aRecord: 10.200.43.187 aRecord: 10.200.43.180 In this case the first hit is used in the nagios configuration. ------------------------------------------------------- The customer would like the interfaces/primary to be queried. At the moment it is used by random?