|
|
@@ -33,7 +33,7 @@ Distribution: OpenPKG [EVAL]
|
|
|
Group: Database
|
|
|
License: GPL
|
|
|
Version: 0.8.4
|
|
|
-Release: 20031117
|
|
|
+Release: 20031205
|
|
|
|
|
|
# list of sources
|
|
|
Source0: http://www.raxnet.net/downloads/cacti-%{version}.tar.gz
|
|
|
@@ -55,13 +55,12 @@ AutoReq: no
|
|
|
AutoReqProv: no
|
|
|
|
|
|
%description
|
|
|
- Cacti is a complete frontend to RRDTool, it stores all of the
|
|
|
- necessary information to create graphs and populate them with data
|
|
|
- in a MySQL database. The frontend is completely PHP driven. Along
|
|
|
- with being able to maintain Graphs, Data Sources, and Round Robin
|
|
|
- Archives in a database, Cacti handles the data gathering. There is
|
|
|
- also SNMP support for those used to creating traffic graphs with
|
|
|
- MRTG.
|
|
|
+ Cacti is a complete PHP-driven frontend to RRDTool. It stores all
|
|
|
+ of the necessary information to create graphs and populate them
|
|
|
+ with data in a MySQL database. Along with being able to maintain
|
|
|
+ Graphs, Data Sources, and Round Robin Archives in a database,
|
|
|
+ Cacti handles the data gathering as well. There is also SNMP
|
|
|
+ support for those used to creating traffic graphs with MRTG.
|
|
|
|
|
|
%prep
|
|
|
%setup -q
|
|
|
@@ -164,32 +163,31 @@ AutoReqProv: no
|
|
|
%post
|
|
|
if [ $1 -eq 1 ]; then
|
|
|
# display final hints on initial installation
|
|
|
- ( echo "1. To complete installation of the Cacti package please you have"
|
|
|
- echo " start MySQL and setup the initial Cacti database. For this run"
|
|
|
- echo " the following commands:"
|
|
|
+ ( echo "1. To complete this installation of Cacti please start MySQL and"
|
|
|
+ echo " initialize the Cacti database like this:"
|
|
|
echo " \$ $RPM_INSTALL_PREFIX/etc/rc mysql start"
|
|
|
echo " \$ $RPM_INSTALL_PREFIX/sbin/cacti-setup"
|
|
|
echo ""
|
|
|
- echo "2. Cacti by default is run by the OpenPKG cron jobs every 15"
|
|
|
- echo " minutes only. Usually Cacti wants to run every 5 minutes for"
|
|
|
- echo " more granular data gathering. For this set:"
|
|
|
+ echo "2. By default, Cacti is run by the OpenPKG cron jobs only every"
|
|
|
+ echo " 15 minutes. To run Cacti every 5 minutes for more granular"
|
|
|
+ echo " data gathering, set this variable:"
|
|
|
echo " # $RPM_INSTALL_PREFIX/etc/rc.conf:"
|
|
|
echo " cacti_cron=\"no\""
|
|
|
- echo " and setup a cronjob for user %{l_rusr}"
|
|
|
+ echo " and insert a new cronjob for user %{l_rusr}"
|
|
|
echo " # system crontab:"
|
|
|
echo " */5 * * * * %{l_rusr} $RPM_INSTALL_PREFIX/sbin/cacti-cron"
|
|
|
echo ""
|
|
|
- echo "3. Cacti by default is running with an own Apache server on"
|
|
|
- echo " IPv4 address 127.0.0.1, TCP port 8080. Please change this"
|
|
|
- echo " by editing the \"Port 8080\" and \"Listen 127.0.0.1:8080\""
|
|
|
- echo " directives in $RPM_INSTALL_PREFIX/etc/cacti/cacti-apache.conf"
|
|
|
+ echo "3. By default, Cacti runs its own Apache server on IPv4 address"
|
|
|
+ echo " 127.0.0.1, TCP port 8080. Please change this by editing the"
|
|
|
+ echo " \"Port 8080\" and \"Listen 127.0.0.1:8080\" directives in"
|
|
|
+ echo " $RPM_INSTALL_PREFIX/etc/cacti/cacti-apache.conf"
|
|
|
echo ""
|
|
|
- echo "4. After this post-installation steps, startup Cacti by running"
|
|
|
+ echo "4. After this postinstallation, start Cacti by running"
|
|
|
echo " \$ $RPM_INSTALL_PREFIX/etc/rc cacti start"
|
|
|
- echo " and connecting with your browser to:"
|
|
|
+ echo " and connect with a browser to:"
|
|
|
echo " http://127.0.0.1:8080/"
|
|
|
- echo " Then proceed Cacti's initial configuration dialog. Then login"
|
|
|
- echo " as 'admin' (with initial password 'admin') and change the"
|
|
|
+ echo " Follow Cacti's initial configuration dialogs, and then login"
|
|
|
+ echo " as 'admin' (with initial password 'admin') to change the"
|
|
|
echo " password to a custom one."
|
|
|
) | %{l_rpmtool} msg -b -t notice
|
|
|
fi
|