vefprep.blogg.se

Monit alert script
Monit alert script











Monit utilizes a configuration syntax that makes it very easy to read essentially check WHAT followed by if THING condition THEN action format. Failure to comply will result in Monit failing to start.

monit alert script

Note: Monit requires the /etc/monitrc file (and potentially files stored in /etc/monit.d) to have 0700 permissions. You can choose to edit this file but if you wish to run scripts (such as to get hard drive temperatures or health status) you should uncomment the last directive of include /etc/monit.d/*, save /etc/monitrc and create /etc/monit.d/. Monit keeps a main configuration file as /etc/monitrc. Once you have completed the configuration, be sure to enable and start rvice.

#Monit alert script install

Install the monit package and any software for optional testing such as lm_sensors or smartmontools. This allows quick and streamlined snapshot of a given systems status.

monit alert script monit alert script

It can be accessed directly through the command line or ran as a web app using its integrated HTTP(S) server. Service alerts can be sent based on a wide criteria including a single occurrence or occurrences over a period of time. Monit can automatically restart crashed services, display temperatures from standard hardware (through lm_sensors and hard drives from smartmontools for example). Monit, not to be confused to M/Monit, is an AGP元.0 licensed system and process monitoring tool.











Monit alert script