Listing 2 Example of objects.conf
########################################################
#
# Configuration file for objects definition in PICA
#
# $Id: objects.conf,v 1.3 2001/02/08 14:58:50 cvs Exp $
#
# Miguel Armas <kuko@ulpgc.es>
# Esteban Manchado <zoso@ulpgc.es>
#
########################################################
## Default values
defaults {
uid = 0;
gid = 0;
perms = 644;
verbatim = 0;
vars {
globalvar1 = 'value1';
}
}
file motd {
path = '/etc/motd';
source = 'Services/Info/motd';
}
##################################
# Configuration for Service: NTP #
##################################
group NTP {
file ntp.conf {
path = '/etc/ntp.conf';
source = 'Services/NTP/ntp_conf.cfg';
}
file step-tickers {
path = '/etc/ntp/step-tickers';
source = 'Services/NTP/step-tickers.cfg';
}
##
## Documentation for this Service
##
#if (ingroup('doc'))
file README.ntp {
path = '<#$docdir#>/Services/NTP/README';
source = <#'$picasrc#>/Services/NTP/README';
}
#fi
}
##################################
# Configuration for Service: DNS #
##################################
#if (ingroup('dnsservers'))
group DNS {
file named.conf {
path = '/etc/named.conf';
source = 'Services/DNS/named_conf.cfg';
}
##
## Documentation for this Service
##
# if (ingroup('doc'))
file README.dns {
path = '<#$docdir#>/Services/DNS/README';
source = 'Services/DNS/README';
}
# fi
#fi
}
## DNS check
alarm DNSChkUrgent {
priority = 'Urgent';
source = 'alarms/DNSChk';
perms = '755';
}
|