From Wikitech
This page contains historical information. It may be outdated or unreliable.

GridMonitor is a replacement for the ageing servmon monitor. A GridMonitor installation consists of an arbitrary number of instances, one per node, linked via a mesh (i.e. every node is connected to every other). One instance is randomly elected as a master node (possibly +/- a weight for preferred masters). Each monitor monitors its local node; anything unexpected happening raises an audit event, which is logged to the master node, and optionally results in some action being taken to resolve the issue. The master node handles logging, for example to a logfile or to an IRC channel.

As the monitoring is distributed over each node, there is no single point of failure, and a crash of one node will not cause the entire system to fail. Failure of the master node results in a new master being elected.

Possible features

Trend learning

It would be possible to implement a system in gridmonitor which would observe, for example, typical DB load at certain times of day, and raise an audit event if it is outside the usual threshold. This would allow it to adapt automatically to its environment without having to be reconfigured.

Other options would include warnings of non-typical login times or IPs for users, ...

New querybane format:

       <name>long-running sleeping threads</name>
          <allservers />
       <query-types></query-types> <!-- empty string = any -->