From: | "Benedikt Boehm (hollow)" <hollow@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in net-analyzer/centreon/files: centreon.cron ods.initd 99_centreon.conf installoreon.conf.php |
Date: | Fri, 28 Mar 2008 18:39:00 |
Message-Id: | E1JfJSq-00034Z-6u@stork.gentoo.org |
1 | hollow 08/03/28 18:38:08 |
2 | |
3 | Added: centreon.cron ods.initd 99_centreon.conf |
4 | installoreon.conf.php |
5 | Log: |
6 | initial ebuild |
7 | (Portage version: 2.1.4.4) |
8 | |
9 | Revision Changes Path |
10 | 1.1 net-analyzer/centreon/files/centreon.cron |
11 | |
12 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/centreon/files/centreon.cron?rev=1.1&view=markup |
13 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/centreon/files/centreon.cron?rev=1.1&content-type=text/plain |
14 | |
15 | Index: centreon.cron |
16 | =================================================================== |
17 | OREON_DIR=/usr/share/centreon |
18 | LOG_DIR=/var/log/centreon |
19 | |
20 | 0 0 * * * nagios /usr/bin/php -q ${OREON_DIR}/cron/inventory_update.php 2>&1 >> ${LOG_DIR}/Inventory_log |
21 | 0 1 1-31 * * nagios /usr/bin/php -q ${OREON_DIR}/cron/reporting/ArchiveLogInDB.php 2>&1 >> ${LOG_DIR}/ArchiveLogInDB_log |
22 | * * * * * nagios ${OREON_DIR}/cron/parsing_status.pl 2>&1 >> ${LOG_DIR}/ods_parsing_status |
23 | * * * * * nagios ${OREON_DIR}/cron/parsing_log.pl 2>&1 >> ${LOG_DIR}/ods_parsing_log |
24 | |
25 | |
26 | |
27 | 1.1 net-analyzer/centreon/files/ods.initd |
28 | |
29 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/centreon/files/ods.initd?rev=1.1&view=markup |
30 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/centreon/files/ods.initd?rev=1.1&content-type=text/plain |
31 | |
32 | Index: ods.initd |
33 | =================================================================== |
34 | #!/sbin/runscript |
35 | # Copyright 1999-2006 Gentoo Foundation |
36 | # Distributed under the terms of the GNU General Public License v2 |
37 | # $Header: /var/cvsroot/gentoo-x86/net-analyzer/centreon/files/ods.initd,v 1.1 2008/03/28 18:38:07 hollow Exp $ |
38 | |
39 | depend() { |
40 | need mysql |
41 | } |
42 | |
43 | start() { |
44 | ebegin "Starting OreonDataStorage (ODS)" |
45 | start-stop-daemon --start --pidfile /var/run/ods.pid \ |
46 | --background \ |
47 | --exec /usr/sbin/ods \ |
48 | --user nagios \ |
49 | --group nagios |
50 | eend |
51 | } |
52 | |
53 | stop() { |
54 | ebegin "Stopping OreonDataStorage (ODS)" |
55 | start-stop-daemon --stop --pidfile /var/run/ods.pid |
56 | eend |
57 | } |
58 | |
59 | |
60 | |
61 | 1.1 net-analyzer/centreon/files/99_centreon.conf |
62 | |
63 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/centreon/files/99_centreon.conf?rev=1.1&view=markup |
64 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/centreon/files/99_centreon.conf?rev=1.1&content-type=text/plain |
65 | |
66 | Index: 99_centreon.conf |
67 | =================================================================== |
68 | <IfDefine CENTREON> |
69 | AddType application/x-java-jnlp-file .jnlp |
70 | Alias /centreon/ /usr/share/centreon/www/ |
71 | <Directory /usr/share/centreon/www/> |
72 | Options None |
73 | AllowOverride AuthConfig Options |
74 | Order allow,deny |
75 | Allow from all |
76 | </Directory> |
77 | </IfDefine> |
78 | |
79 | |
80 | |
81 | 1.1 net-analyzer/centreon/files/installoreon.conf.php |
82 | |
83 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/centreon/files/installoreon.conf.php?rev=1.1&view=markup |
84 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/centreon/files/installoreon.conf.php?rev=1.1&content-type=text/plain |
85 | |
86 | Index: installoreon.conf.php |
87 | =================================================================== |
88 | <? |
89 | $conf_installoreon['oreon_dir'] = "/usr/share/centreon/"; |
90 | $conf_installoreon['oreon_dir_www'] = "/usr/share/centreon/www/"; |
91 | $conf_installoreon['oreon_dir_rrd'] = "/var/cache/centreon/rrd/"; |
92 | |
93 | $conf_installoreon['nagios'] = "/usr/nagios/"; |
94 | $conf_installoreon['nagios_bin'] = "/usr/nagios/bin/"; |
95 | $conf_installoreon['nagios_var'] = "/var/nagios/"; |
96 | $conf_installoreon['nagios_conf'] = "/etc/nagios/"; |
97 | $conf_installoreon['nagios_plugins'] = "/usr/nagios/libexec/"; |
98 | $conf_installoreon['nagios_bin'] = "/usr/nagios/bin/"; |
99 | $conf_installoreon['nagios_init_script'] = "/etc/init.d/nagios"; |
100 | $conf_installoreon['nagios_user'] = "nagios"; |
101 | $conf_installoreon['nagios_group'] = "nagios"; |
102 | |
103 | $conf_installoreon['apache_user'] = "apache"; |
104 | $conf_installoreon['apache_group'] = "apache"; |
105 | |
106 | $conf_installoreon['rrdtool_dir'] = "/usr/bin/rrdtool"; |
107 | $conf_installoreon['mail'] = "/bin/mail"; |
108 | $conf_installoreon['pear_dir'] = "/usr/share/php"; |
109 | |
110 | $conf_installoreon['log_file'] = "/var/nagios/nagios.log"; |
111 | $conf_installoreon['status_file'] = "/var/nagios/status.log"; |
112 | $conf_installoreon['command_file'] = "/var/nagios/rw/nagios.cmd"; |
113 | $conf_installoreon['comment_file'] = "/var/nagios/comment.log"; |
114 | $conf_installoreon['downtime_file'] = "/var/nagios/downtime.log"; |
115 | $conf_installoreon['lock_file'] = "/var/nagios/nagios.lock"; |
116 | $conf_installoreon['temp_file'] = "/var/nagios/nagios.tmp"; |
117 | $conf_installoreon['state_retention_file'] = "/var/nagios/status.sav"; |
118 | $conf_installoreon['log_archive_path'] = "/var/nagios/archives"; |
119 | $conf_installoreon['physical_html_path'] = "/usr/nagios/share"; |
120 | ?> |
121 | |
122 | |
123 | |
124 | -- |
125 | gentoo-commits@l.g.o mailing list |