![]() ![]() MONITOR_DIR/fping.monitor -t 4000 -r 2 smtp nntp ns Then the exectuable "fping.monitor" will be executed with these parameters: "servers", which contain the hostnames "smtp", "nntp", and "ns", and the monitor line Monitor processes are invoked with the arguments specified in the configuration file,Īppended by the hosts from the applicable host group. See the moncmd man page for more information. It also allows making atomic changes across severalĬlient connections. Resetting the server, because you can do this: save the hosts and services which areĭisabled, reset the server with the scheduler stopped, re-disabled those hosts and While it is stopped, client access stillįunctions, but it just doesn't schedule things. The scheduler may be temporarily stopped. Interval variable, which tells the scheduler how frequently to invoke a monitor process. Each service has a timer, specified in the configuration file as the The scheduler enters a loop which handles client connections, monitor invocations, andįailure alerts. If the -M option is specified, then the configuration file is pre. The configuration file defaults to /etc/mon.cf, and can be specified When the mon scheduler starts, it reads a configuration file to determine the services it Watch A collection of services which apply to a particular group. Hostgroups which matter to them, without having to see all hostgroups defined in 'network-services' view might be defined so your network staff can see just the View A collection of hostgroups, used to filter mon output for client display. Server, ICMP echo capability, server disk space availability, or SNMP events. Services are usually modeled after things such as an SMTP Set of command-line arguments from the scheduler, in addition to data via standardĪ single host or list of hosts, specified as names or IP addresses.Ī collection of parameters used to deal with monitoring a particular resource which Upon an alert when it detects a failure from a monitor. Period A period in time as interpreted by the Time::Period module.Īlert A program which sends a message when invoked by the scheduler. Common monitorsĭetect host reachability via ICMP echo messages, or connection to TCP services. ![]() Optionally produces output to be passed back to the scheduler. Taken to be relative to the base directory ( /usr/lib/mon by default).Ī program which tests for a certain condition, returns either true or false, and Paths may be specified by separating them with a colon. Default is /usr/local/lib/mon/mon.d:mon.d. Refer to the global randstart variable in the configuration file. Sets the number of seconds used to randomize the startup delay before each service var/run/mon/mon.pid, /var/run/mon.pid, and /etc/mon.pid whose directory exists.Īn empty value tells mon not to use a pid file. Store the server's pid in pidfile, the default is the first of m num Set the throttle for the maximum number of processes to num. M Pre-process the configuration file with the macro expansion package m4. var/log/mon if that directory exists, otherwise log.d in the base directory. See also logdir in the configuration file. Status of all services, and all for both. The supported saved state types areĭisabled for disabled watches, services, and hosts, opstatus for failure/alert/ack ![]() Load state from the last saved state file. k num Set log history to a maximum of num entries. Default is the first of /var/state/mon, /var/lib/mon, and etc/mon directory exists, otherwise to /etc/mon.cf. This defaults to IR /etc/mon/mon.cf " if the " etc/mon directory exists, or /usr/lib/mon/auth.cf otherwise. By default this is /etc/mon/auth.cf if the ![]() All config files are located here, includingĪuthentication configuration file. B dir Configuration file base directory. scriptdir, alertdir, and statedir are all relative to thisĭirectory unless specified from /. Non-absolute pathsĪre taken to be relative to the base directory ( /usr/lib/mon by default). MultipleĪlert paths may be specified by separating them with a colon. Default is /usr/local/lib/mon/alert.d:alert.d. Implemented through programs (in C, Perl, shell, etc.), SNMP traps, and special Mon (UDP mon was designed to be open in the sense that it supportsĪrbitrary monitoring facilities and alert methods via a common interface, which are easily SYNOPSIS mon ] ĭESCRIPTION mon is a general-purpose scheduler for monitoring service availability and triggeringĪlerts upon detecting failures. Mon - monitor services for availability, sending alarms upon failures. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |