Posts by MarcusCaepio

    you could always just set the messurement on the axis to the right one. Grafana will then do the conversion

    Nope you can't because the graphs are generated depending on the host. When Server 1 has disk as first check = first graph and you set the unit to Bytes, change the server and server 2 has e.g. Cluster as first check = first graph, also the unit is Byte instead of linear or sth. else. It seems not assigned to the service name, but to graph's position.

    Hi all,

    Icingaweb 2.4.1

    it seems, that since my update to 2.4.1, there are files missing in the dompdf vendor folder. When I try to export to pdf, I get:

    1. Warning: Uncaught exception 'ErrorException' with message 'require_once(/usr/share/icingaweb2/library/vendor/dompdf/include/ failed to open stream: No such file or directory' in /usr/share/icingaweb2/library/vendor/dompdf/ Stack trace: #0 /usr/share/icingaweb2/library/vendor/dompdf/ Icinga\Application\ApplicationBootstrap->Icinga\Application\{closure}(2, 'require_once(/u...', '/usr/share/icin...', 52, Array) #1 /usr/share/icingaweb2/library/vendor/dompdf/ require_once() #2 /usr/share/php/Icinga/File/Pdf.php(15): require_once('/usr/share/icin...') #3 /usr/share/php/Icinga/Application/ClassLoader.php(306): require('/usr/share/php/...') #4 [internal function]: Icinga\Application\ClassLoader->loadClass('Icinga\File\Pdf') #5 /usr/share/php/Icinga/Web/Controller/ActionController.php(536): spl_autoload_call('Icinga\File\Pdf') #6 /usr/share/php/Icinga/Web/Controller/ActionController.php(481): Icinga\Web\Controller\ActionController-> in /usr/share/icingaweb2/library/vendor/dompdf/ on line 52
    2. Fatal error: main(): Failed opening required '/usr/share/icingaweb2/library/vendor/dompdf/include/' (include_path='/usr/share/icingaweb2/library/vendor:.:/usr/share/php:/usr/share/pear') in /usr/share/icingaweb2/library/vendor/dompdf/ on line 52

    In fact, the file /usr/share/icingaweb2/library/vendor/dompdf/ is missing.

    1. /usr/share/icingaweb2/library/vendor/dompdf: ls -l
    2. total 28
    3. -rw-r--r-- 1 root root 767 Jan 18 15:27
    4. drwxr-xr-x 7 root root 4096 Mar 9 09:37 lib
    5. drwxr-xr-x 11 root root 4096 Mar 9 09:37 src

    But why? I did not delete anything :D

    I know, PDF export worked fine in former versions. Any ideas?



    Könntest auch mit 3 weiter machen, aber dann eben mit 2 zonen.

    Ich habe in der master zone meinen configmaster+db+icingaweb+grafana

    und eine Zone "darunter" 2 Satelliten. Die Satelliten bekommen ihre Config vom Master, führen die eigentlichen Checks loadbalanced aus und alles wandert nach oben in den Master. Dann kannst du alternativ sogar noch einen 2. Configmaster daneben setzen. Nur wird es dann Tricky mit dem Syncen im Icingaweb....

    Instead of creating an action url in Icinga2, you can create a Navigation URL in Icingaweb2 and share this to all users.

    In your admin account go to:

    Your Name -> My Account -> Navigation -> Create new Navigation Item:

    Name: Grafana

    Shared: yes

    Type: Host Action

    Target: New Window

    Url; your grafana Url

    Icon: chart-area

    Same for Service Action



    Ich frage mich gerade wie? Also wie hast Du was gemacht, damit ein Eintrag hier für alle User automatisch vorhanden ist?

    Danke Dir im Voraus.


    Steht doch da ^^

    In /etc/icingaweb2/enabledModules/monitoring/config.php ganz am ende sind die default dashboards definiert. Die habe ich mir einfach nach meinen Bedürfnissen angepasst. Nur vorher bedenken, dass sie bei nem update wieder überschrieben werden, also vorher sichern ;)

    hast du in /etc/icinga2/features-enabled/ido-mysql.conf

    enable_ha = false gesetzt damit jeder master seine eigene DB nimmt?

    Config sah bei mir so aus:

    Und bedenke, dass du bei Icingweb2 keinen Config Sync hast. Musst dir also entweder selbst was basteln oder immer beide Master anpacken.


    based on your example, I can say, that I also do it like watermelon and check every Port separately.

    For this, I use the plugin ( )

    If you are worried about the sum of checks, what about using an "apply.....for" rule and templates?

    For example, if you have 300x24-port switches, you can just create a template where all the ports are already defined. Because the ports are standing in dependency with the hostname, there will no problems (internal it is running like switch1!FastEthernet1/1 and so on).

    So as you have to define all switches anyway, you can reduce the effort to three lines: Object Name, Template, IP.

    That's it :)



    Hi all,

    so I finally updated Icinga2 + Web2 to latest release via apt-get (Ubuntu 14.04).

    After update I mention, that in /etc/icingaweb/enabledmodulues/monitoring/config.php

    the Alert Summary Part in reporting section is missing.

    Also testing the alertsummary index page ends in an error

    Is this correct?