

NTP synchronization would be a must.Īdditionally, growing out the amount of 'stuff' that m_daemon can monitor, including log-parsing, more in-depth service control, and network monitoring. The m_daemon agent would run on-demand from the server and report back.

Musings (Shoulda, coulda, woulda)Īt the end of the day, this implementation is definitely a bandaid for something more robust.Ī server/agent architecture with a centrally-managed JSON configuration scheme would definitely be the 'future' of m_daemon. All the configuration and modssl was installed when I installed Apache, but it just wasnt linked in the right spots yet. Currently m_daemon runs as 'root' which is a no-good, bad thing. Ubuntu 12.04 Desktop with Apache installed. The ideal deployment for m_daemon would utilize a configuration manager or rsync to manage config.rb across multiple nodes - and cronjobs with a specific 'm_daemon' priv'd user. It then compares these load averages against the number of cores - if it is greater, it alerts, as processes are waiting for CPU. M_daemon finds the number of cores from /proc/cpuinfo, then skedaddles over to /proc/loadavg and grabs the 1,5, and 15 minute load averages into an array. If the usage is higher, an alert is generated. It then compares this to a threshold set in lib/config.rb. M_daemon populates a list of physical devices and checks utilized disk space using the df command. If the -r (restart) flag is passed to m_daemon, it attempts to restart the process using M_daemon reads from an array of services configured in lib/config.rb. It's the easiest way to 'show-off' the alerting capabilities clamscan will, of course, also need about the same amount of memory, but not constantly, only when an email arrives. This is, by default, configured as a backup scanner in case the ClamAV daemon fails. Imapsync is a command-line tool that allows incremental and recursive IMAP transfers from one mailbox to another, both anywhere on the internet or in your local network. ClamAV can run as a daemon, which constantly needs about 500MB of RAM, but it can also run on-demand, via a command called clamscan. M_daemon utilizes Twitter for alerting: ( )Ģ. The latest imapsync published release 2.200 was written on Monday, 0 16:06:36 UTC. Logic would need to be written for Windows. m_daemon has been tested on Ubuntu 12.04 LTS. : Sawmill is a universal log analysis/reporting tool for almost any log including web, media, email, security, network and application logs. M_daemon (The Informant!) is a monitoring and alerting tool developed to bridge the gap until an enterprise-level solution can be approved, configured and deployed.
