source:
trunk/third/moira/gen/nagios-colo.sh
@
24319
Revision 24319, 278 bytes checked in by broder, 15 years ago (diff) |
---|
Rev | Line | |
---|---|---|
[23095] | 1 | #!/bin/sh |
[24319] | 2 | # $Id: nagios-colo.sh 3956 2010-01-05 20:56:56Z zacheiss $ |
[23095] | 3 | |
4 | file=/var/nagios/etc/moira-colo-hosts.cfg | |
5 | ||
6 | if [ -d /var/athena ] && [ -w /var/athena ]; then | |
7 | exec >/var/athena/moira_update.log 2>&1 | |
8 | else | |
9 | exec >/tmp/moira_update.log 2>&1 | |
10 | fi | |
11 | ||
12 | chmod 644 $file | |
13 | ||
14 | exit 0 |
Note: See TracBrowser
for help on using the repository browser.