Monit ping example1/27/2024 Simple configuration file format: it’s a standard INI file for the overall configuration and another for the monitor definitions.Executing arbitary commands on monitor failure and recoveryĪgain, adding more logging/alerting methods is simply a case of writing some Python. Posting notifications to Slack, 46elks, Notify My Android, Pushbullet, and Pushover.Writing an entry to the syslog (non-Windows only).Sending a text message via BulkSMS (subscription required).Writing a log file of all successes and failures, or just failures.Sending an email alert when a monitor fails, and when it recovers, directly over SMTP or via Amazon SES.Maintaining a snapshot of the current state of the monitors in a SQLite database.Writing the state of each monitor at each iteration to a SQLite database (i.e.A monitor which is a compound of a number of the aboveĪdding more monitor types is quite simple if you are able to code in Python.Running an arbitrary command and checking the output.APC UPS monitoring (requires apcupsd to be installed and configured).Service monitoring: FreeBSD ‘rc’ (and potenially others), Windows services, daemontools service.HTTP monitoring (is a URL fetchable without error? Optionally, does the page content it match a regular expression?).TCP monitoring (is a host listening on a TCP port?).Remote monitor instances can send their results back to a central location. It is designed to be quick and easy to set up and lacks complex features that can make things like Nagios, OpenNMS and Zenoss overkill for a small business or home network. SimpleMonitor is a Python script which monitors hosts and network connectivity.
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |