~clint-fewbar/charms/precise/mysql/add-monitors

« back to all changes in this revision

Viewing changes to monitors.yaml

  • Committer: Clint Byrum
  • Date: 2012-07-12 21:58:36 UTC
  • Revision ID: clint@ubuntu.com-20120712215836-olws5nf8l34uzjk0
Changing to new monitors.yaml and fixing bugs

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
version: '0.1'
 
1
version: '0.3'
2
2
monitors:
3
 
    nrpe:
4
 
        mysqld:
5
 
            name: MySQL Running
6
 
            args:
7
 
                command: check_procs
8
 
                args: '-c 1: /usr/sbin/mysqld'
9
 
    mysql:
10
 
        basic:
11
 
            args: ['monitors','']
 
3
    local:
 
4
        procrunning:
 
5
            mysqld:
 
6
                name: MySQL Running
 
7
                min: 1
 
8
                max: 1
 
9
                executable: /usr/sbin/mysqld
 
10
    remote:
 
11
        mysql:
 
12
            basic:
 
13
                user: monitors