source: trunk/packages/xvm-munin-config/remote/usr/share/xvm-munin-remote-config/loggrep_remctl.mako

Last change on this file was 1761, checked in by broder, 16 years ago

Initial checkin of xvm-munin-config package

File size: 678 bytes
Line 
1[loggrep_remctl]
2user munin
3command sudo -u munin -E %c
4
5env.title remctls
6env.logfile /var/log/syslog
7
8% for n, r in enumerate(('listvms', 'vnccert', 'lvcreate', 'lvremove', 'lvrename', 'lvresize')):
9env.regex_web_${n} \w{3} [ :0-9]{11} [._[:alnum:]-]+ remctld\[[0-9]+\]: COMMAND from .*.MIT.EDU: web ${r}
10env.label_web_${n} web ${r}
11% endfor
12
13% for n, r in enumerate(('help', 'create', 'install', 'list-host', 'listhost', 'list', 'vcpu-list', 'uptime', 'destroy', 'shutdown', 'reboot', 'list-long', 'vnctoken')):
14env.regex_control_${n} \w{3} [ :0-9]{11} [._[:alnum:]-]+ remctld\[[0-9]+\]: COMMAND from .*.MIT.EDU: control \S+ ${r}
15env.label_control_${n} control ${r}
16% endfor
Note: See TracBrowser for help on using the repository browser.