• chevron_right

      Scheduling Tasks in PHP

      pubsub.slavino.sk / icinga · Wednesday, 19 October, 2022 - 13:38 edit

    In the scenario where you want to execute tasks repeatedly at a specific time and have full control over when they are executed and how the results are handled, it makes sense to build this into your application instead of setting up a cron job, for example. I’d like to give you a quick example […]

    The post Scheduling Tasks in PHP appeared first on Icinga .


    Značky: #PHP, #How-tos, #Development, #Network

    • chevron_right

      How to use path wildcards in Graphite Module

      pubsub.slavino.sk / icinga · Wednesday, 30 March, 2022 - 09:24 edit

    The Graphite module of Icingaweb2 is a great tool for rendering graphs from performance data. The latest version 1.2.0 introduces some bug fixes and new features like dark and light mode support, a lot of new templates, support for path wildcard, etc. The support for wildcard * was already available in the previous version. We […]

    The post How to use path wildcards in Graphite Module appeared first on Icinga .


    Značky: #Graphite, #How-tos, #icingaweb2, #Network, #Modules, #graphs, #howto, #Development

    • chevron_right

      Parameterizing GitLab CI/CD?

      pubsub.slavino.sk / icinga · Thursday, 24 March, 2022 - 13:00 edit

    While doing packaging for Icinga, I noticed we have a lot of YAML files describing GitLab pipelines doing very similar jobs. The same build job across different operating systems. That’s wasteful behaviour, which leads to a bigger workload when it comes to modifying these jobs. Tasks like adding new versions and especially adding new operating […]

    The post Parameterizing GitLab CI/CD? appeared first on Icinga .


    Značky: #gitlab, #json, #Network, #Development, #packaging, #How-tos, #jsonnet

    • chevron_right

      Contributing to Open Source

      pubsub.slavino.sk / icinga · Wednesday, 23 June, 2021 - 10:17 edit

    If you’re here you probably know the essence of open source already. To us, open source means more than just open source code – it’s also the ethics and the community feeling that goes along with that. For us it means that the people working on Icinga are more than just who we see in […]

    The post Contributing to Open Source appeared first on Icinga .


    Značky: #How-tos, #Community, #howto, #Development, #Network, #contributing

    • chevron_right

      PCB Layout Designing: Top 8 Tips on How to Design a PCB Layout for Beginners!

      pubsub.slavino.sk / onetransistor · Sunday, 9 May, 2021 - 11:44 edit

    PCB Designing is a crucial step in a PCB Assembly Process. The printed circuit board is the project's final step, and we use it to validate a PCB prototype.

    Any electronic enthusiast should have the ability to design PCB layouts if he is a pupil, an expert in the business, or a hobbyist. The construction of a proper PCB layout is an integral part of every PCB manufacturer. In this article, we'll show you the top 8 PCB Layout Design Tips for Total Beginners.

    PCB Layout Designing

    Read more

    Značky: #Electronics, #Elektro, #PCB, #CAD, #Development

    • chevron_right

      Using the Icinga Web API

      pubsub.slavino.sk / icinga · Friday, 12 March, 2021 - 10:54 edit

    Unfortunately, there is little to no documentation for using the Icinga Web API to perform monitoring actions such as scheduling downtimes. But it’s a simple thing and I’ll give you a quick example of how to do it. Using the Icinga Web API instead of the Icinga API gives you the advantages of the permission […]

    The post Using the Icinga Web API appeared first on Icinga .


    Značky: #API, #monitoring, #Network, #How-tos, #Development

    • chevron_right

      Upgrading Movim on Yunohost

      Matt · Friday, 5 February, 2021 - 00:45 edit · 1 minute

    Using Yunohost is great for hosting your own content at home, with a pre-setup XMPP server, and the ability to install Movim on top... but, if you'd like to run the bleeding edge version of Movim, there is a way to do it, but leverage Yunohost for the initial setup..

    First Install

    First thing, install Movim from the Yunohost app installer. At the time of writing, it was at version 18.

    Once installed, try to fire it up.. there might be a potential issue with a file called Model.php

    Head to /var/www (either via ssh or directly on the server).

    Check the file Model.php, :

    cd movim/src/Movim

    nano Model.php

    Find the function protected function setKeysForSaveQuery(Builder $query), and remove the word Builder if it's there. Save the file.

    Set your admin

    From the movim directory

    sudo -u movim php daemon.php config --username=setadminname --password=yoursecret


    You should now be able to start the server

    yunohost service start movim

    Test your install by going to your movim domain, and trying to login with your XMPP account..

    If it's all working -> to your commandline

    yunohost service stop movim


    Do The Upgrade

    mv movim movim.old


    From that point, you can read the Movim development instructions with some slight modifications for Yunohost

    As root

    git clone https://github.com/movim/movim.git

    chown -R movim movim

    chgrp -R www-data movim

    cp movim.old/config/db.inc.php movim/config

    cd movim

    curl -sS https://getcomposer.org/installer | php

    sudo -u movim php composer.phar install

    sudo -u movim php composer.phar movim:migrate

    yunohost service start movim


    If everything went well, you should now be running the latest version of Movim.. note - You won't be able to upgrade using the Yunohost application management...

    • chevron_right

      XMPP-Messenger Projekte

      Stefan · pubsub.movim.eu / xmpp-messenger · Wednesday, 29 January, 2020 - 06:10 edit

    Ich habe einige XMPP Projekte angefangen. Diese werde ich nach und nach ausbauen und erweitern. Die Programme sind in C/C++ geschrieben. Informieren werde ich über Movim, hier habe ich ein paar Gruppen erstellt.

    XMPP Invite CGI

    Ein in C++ geschriebenes CGI Programm. Das Programm kann in einen Web-Server integriert werden und bietet dann eine Seite zum Einladen von Personen in XMPP.

    Hier suche ich noch jemanden der mir bei CSS/HTML/Design helfen kann.

    hawkbit Programme

    Die hawkbit Programme sind C++ Programme welche als XMPP lib gloox verwenden.

    • MUC: hawkbit@chat.openim.de

    hawkbit-bot

    Hawkbit-Bot - ein XMPP Bot in C++ mit gloox.

    hawkbit-info

    hawkbit-info ist in C++ geschriebenes Programm, welches unter anderem gloox und boost verwendet. gloox ist eine C++ Bibliothek für XMPP.

    Das Programm gibt einen Informationen zu einem XMPP Server, sowie Informationen zum aktuellen Account.

    • XEP-0030: Service Discovery
    • XEP-0048: Bookmark Storage

    Nach der Angabe von JID und das Passwort, verbindet sich das Programm zum Server und meldet den Benutzer an. Danach kann der Anwender durch Befehle Information vom Server und Account abfragen.

    hawkbit-task

    XMPP basierte Aufgabenliste

    Red Snapper

    RedSnapper soll ein XMPP Client werden. Der Fokus soll mehr auf PubSub liegen.

    #XMPP #gloox #Development