Send Rundeck Notification Using DaDaPush
Rundeck is an open-source software Job scheduler and Run Book Automation system for automating routine processes across development and production environments. It combines task scheduling, multi-node command execution, workflow orchestration and logs everything that happens.
DaDaPush is a real-time notifications app. Anyone can send real-time notifications through our API without coding and maintaining your own app for iOS or Android devices.
There are several install options: a self-contained war file, or RPM, or Debian. we choose docker with doing this.
docker run -d -p 4440:4440 rundeck/rundeck:3.1.0
After install and run success, you can open url “http://127.0.0.1:4440“, with username/password: admin/admin
Step 2: Install Rundeck DaDaPush Notification Plugin
go to our repo: https://github.com/dadapush/rundeck-dadapush-notification-plugin
download the latest release jar, look like this: rundeck-dadapush-notification-plugin-[VERSION].jar
Step 3: Upload Plugin to Rundeck
please go menu: plugins -> upload plugin, then select rundeck-dadapush-notification-plugin-[VERSION].jar and submit. You can go to menu plugins -> installed plugins, review installed plugins.
Step 4: Send Test Notification
create new project, name as “localhost“
go to project “localhost“, and edit Configuration.
project.plugin.Notification.DaDaPushNotification.base_path=https://www.dadapush.com project.plugin.Notification.DaDaPushNotification.channel_token=ctXXXXXXXX
create new job, name as “disk size“,description as “compute localhost disk size“, and workflow define command “du -csh“, enable notification with “DaDaPush Notification“
go to job “disk size”, and click “Run Job Now”, you will receive some notifications.
from WordPress https://blog.dadapush.com/2019/08/06/send-rundeck-notification-using-dadapush/