Monitor Log Files Remotely
Monitor Log Files Remotely
Looking for a Nagios alternative that doesn’t require installation everywhere. Someone mentioned Grafana and Kibana, but you want a solution that works without manual setup on each server. You’re currently using ssh_exporter to send simple curl requests and process output locally. The challenge is getting it to function reliably. Consider exploring Prometheus or another agent-based approach that can scrape logs periodically and feed data into Grafana for visualization.
Hi, I just wanted to note that Nagios is still under active development, as shown on GitHub. Switching monitoring tools can be difficult, particularly without software management solutions like Ansible or Puppet. A bit about my background: I’m a developer for an open-source monitoring solution built around Nagios and Naemon (a version of Nagios). For me, handling log files with Prometheus isn’t ideal. It’s a metrics-driven system that mainly stores numeric data in its time series database. If you need to count specific strings in logs, a Prometheus Exporter might work. More likely, you’d want to scan logs for various patterns using regular expressions. The Plugin check_logfiles option would suit this task. If you’re interested in integrating Grafana, you can explore my private Statusengine project—a modern backend for Naemon and Nagios.
I finally solved the issue after posting this. I discovered they weren't interested in monitoring log files, but rather metrics they could configure alerts for. My approach uses nrpe_exporter as the data collector for Prometheus, and Grafana to visualize the data while setting up alerts.