Skip to content

Dropin script for Prometheus Node Exporter Textfile Collector

License

Notifications You must be signed in to change notification settings

Haringstad/ispconfig-cron-status

Repository files navigation

ispconfig-cron-status

Dropin script for Prometheus Node Exporter Textfile Collector

This dropin will create the ispconfig-cron-status.prom file in /var/lib/prometheus/node-exporter/ directory so it will be picked up by the prometheus-node-exporter This way, you can let prometheus alert you when something is not right with your cron-jobs for ISPConfig.

Quickstart

Copy the ispconfig-cron-status.sh file to /usr/local/bin

cp ispconfig-cron-status.sh /usr/local/bin/

Chmod the file:

chmod +x /usr/local/bin/ispconfig-cron-status.sh

Copy the ispconfig-cron-status.service file to /etc/systemd/system/ispconfig-cron-status.service

cp ispconfig-cron-status.service /etc/systemd/system/ispconfig-cron-status.service

Reload systemd daemon:

  systemctl daemon-reload
  systemctl start ispconfig-cron-status
  systemctl enable ispconfig-cron-status

Prometheus Rules

I've added an example rule set, so you will be alerted when the ISPConfig cronjob is failing.

About

Dropin script for Prometheus Node Exporter Textfile Collector

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages