[-]
[+]
|
Deleted |
smokeping.spec
|
@@ -1,244 +0,0 @@
-%define _use_internal_dependency_generator 0
-
-%define __find_requires sh -c "/usr/lib/rpm/find-requires | %{__sed} -r -e '/Authen::(Radius|Tacas)*/d; /Smokeping/d; '"
-
-%define __find_provides sh -c "sed -e '\\#/usr/share/smokeping#d' | /usr/lib/rpm/find-provides"
-
-Summary: Latency Logging and Graphing System
-Name: smokeping
-Version: 2.4.2
-Release: 1
-License: GPLv2+
-Group: Applications/Internet
-URL: http://oss.oetiker.ch/smokeping/
-Source0: %{url}/pub/%{name}-%{version}.tar.gz
-Source1: smokeping.init
-Source2: smokeping-httpd.conf.d
-Source3: http://oss.oetiker.ch/smokeping-demo/img/smokeping.png
-Source4: http://oss.oetiker.ch/smokeping-demo/img/rrdtool.png
-Source5: README.fedora
-Patch0: smokeping-2.4.2-path.patch
-Patch1: smokeping-2.4.2-config.patch
-Patch2: smokeping-2.4.2-tr.patch
-Patch3: smokeping-2.3.5-silence.patch
-Patch4: smokeping-2.4.2-jsonrpc-strict.patch
-Patch5: smokeping-2.4.2-scriptname.patch
-BuildRequires: glibc-common
-Requires: perl >= 5.6.1 rrdtool >= 1.0.33 fping >= 2.4b2 traceroute
-# Not picked up for some reason
-Requires: perl(Config::Grammar)
-Requires: webserver net-tools
-Requires(post): chkconfig
-Requires(preun): chkconfig initscripts
-Requires(postun): initscripts
-BuildArch: noarch
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-
-%description
-SmokePing is a latency logging and graphing system. It consists of a
-daemon process which organizes the latency measurements and a CGI
-which presents the graphs.
-
-%prep
-%setup -q
-%patch0 -p1
-%patch1 -p1
-%patch2 -p1
-%patch3 -p1
-%patch4 -p1
-%patch5 -p1
-
-%{__install} -p -m 0644 %{SOURCE5} .
-iconv -f ISO-8859-1 -t utf-8 -o CHANGES.utf8 CHANGES
-touch -r CHANGES CHANGES.utf8
-%{__mv} CHANGES.utf8 CHANGES
-
-# ship only html docs
-find doc -name *.pod -delete
-find doc -name *.txt -delete
-find doc -name *.[1-9] -delete
-
-# remove some external modules
-%{__rm} -rf lib/{CGI,Config,Digest,JSON}
-%{__rm} -rf lib/{SNMP_Session,SNMP_util,BER,JSON}.pm
-%{__rm} -f lib/Qooxdoo/JSONRPC.pm
-
-%build
-# nothing to build
-
-%install
-%{__rm} -rf %{buildroot}
-
-%{__install} -d %{buildroot}%{_sysconfdir}/%{name} \
- %{buildroot}%{_datadir}/%{name}/{lib,cgi,htdocs} \
- %{buildroot}%{_localstatedir}/lib/%{name}/{rrd,images} \
- %{buildroot}%{_localstatedir}/run/%{name}
-
-%{__install} -Dp -m 0755 %{SOURCE1} %{buildroot}%{_initrddir}/%{name}
-%{__install} -Dp -m 0644 %{SOURCE2} %{buildroot}%{_sysconfdir}/httpd/conf.d/%{name}.conf
-
-%{__install} -p -m 0644 %{SOURCE3} %{SOURCE4} %{buildroot}%{_datadir}/%{name}/htdocs
-
-for f in config basepage.html smokemail tmail smokeping_secrets ; do
- %{__install} -p -m 0644 etc/$f.dist %{buildroot}%{_sysconfdir}/%{name}/$f
-done
-%{__chmod} 0640 %{buildroot}%{_sysconfdir}/%{name}/smokeping_secrets
-
-%{__install} -Dp -m 0755 bin/smokeping.dist %{buildroot}%{_sbindir}/smokeping
-%{__install} -Dp -m 0755 bin/tSmoke.dist %{buildroot}%{_bindir}/tSmoke
-
-%{__install} -Dp -m 0755 htdocs/%{name}.cgi.dist \
- %{buildroot}%{_datadir}/%{name}/cgi/%{name}.cgi
-
-%{__install} -Dp -m 0755 htdocs/tr.cgi.dist \
- %{buildroot}%{_datadir}/%{name}/cgi/tr.cgi
-
-%{__cp} -rp htdocs/{cropper,resource,script,tr.html} %{buildroot}%{_datadir}/%{name}/htdocs
-
-%{__cp} -rp lib/* %{buildroot}/%{_datadir}/%{name}/lib
-
-find %{buildroot}%{_datadir}/%{name} -name *.pm | xargs chmod 0644
-
-%clean
-%{__rm} -rf %{buildroot}
-
-%post
-if [ $1 = 1 ] ; then
- /sbin/chkconfig --add %{name}
-fi
-
-%preun
-if [ $1 = 0 ] ; then
- /sbin/service %{name} stop >/dev/null 2>&1 || :
- /sbin/chkconfig --del %{name}
-fi
-
-%postun
-if [ $1 -ge 1 ] ; then
- /sbin/service %{name} condrestart >/dev/null 2>&1 || :
-fi
-
-%files
-%defattr(-, root, root, -)
-%doc doc CHANGES CONTRIBUTORS COPYRIGHT COPYING README TODO README.fedora
-%{_sbindir}/smokeping
-%{_bindir}/tSmoke
-%{_initrddir}/%{name}
-%dir %{_sysconfdir}/%{name}
-%config(noreplace) %{_sysconfdir}/%{name}/*
-%config(noreplace) %{_sysconfdir}/httpd/conf.d/%{name}.conf
-%{_datadir}/%{name}
-%dir %{_localstatedir}/lib/%{name}
-%{_localstatedir}/lib/%{name}/rrd
-%{_localstatedir}/run/%{name}
-%attr(0755, apache, root) %{_localstatedir}/lib/%{name}/images
-
-%changelog
-* Sun Aug 16 2009 Terje Rosten <terje.rosten@ntnu.no> - 2.4.2-10
-- Add patch to fix #497746
-
-* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4.2-9
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
-
-* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4.2-8
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
-
-* Tue Oct 27 2008 Terje Rosten <terje.rosten@ntnu.no> - 2.4.2-7
-- Add some SELinux information, thanks to wolfy for help
- with this and other improvements.
-
-* Sat Oct 18 2008 Terje Rosten <terje.rosten@ntnu.no> - 2.4.2-6
-- Fix README.fedora
-
-* Sun Oct 5 2008 Terje Rosten <terje.rosten@ntnu.no> - 2.4.2-5
-- move Qooxdoo::JSONRPC to separate package
-
-* Tue Sep 16 2008 Terje Rosten <terje.rosten@ntnu.no> - 2.4.2-4
-- Use mv macro
-- Fix cut-n-paste error in rm lines
-- Remove perl as buildreq
-
-* Mon Sep 15 2008 Terje Rosten <terje.rosten@ntnu.no> - 2.4.2-3
-- Fix perms on writeable dir for apache
-- More sane handling of external perl modules
-- Add smoketrace instructions and patches
-
-* Sat Aug 23 2008 Terje Rosten <terje.rosten@ntnu.no> - 2.4.2-2
-- Fix README.fedora
-- New rpm is picky, fixed
-
-* Sat Aug 23 2008 Terje Rosten <terje.rosten@ntnu.no> - 2.4.2-1
-- 2.4.2
-
-* Thu Jul 3 2008 Terje Rosten <terje.rosten@ntnu.no> - 2.4.1-1
-- 2.4.1
-
-* Mon Apr 7 2008 Terje Rosten <terje.rosten@ntnu.no> - 2.3.5-1
-- 2.3.5
-- More or less a complete rewrite
-
-* Sun Jan 14 2007 Wil Cooley <wcooley@nakedape.cc> - 2.0.9-2
-- Disable internal dependency generator; I was doing this in my ~/.rpmmacros,
- which probably isn't a good idea.
-
-* Tue Dec 05 2006 Wil Cooley <wcooley@nakedape.cc> - 2.0.9-1
-- Updated to 2.0.9.
-- Use 'dist' variable like Fedora Extras instead of vendor_tag and dist_tag.
-- Do chkconfig/service in the correct places with appropriate checks.
-
-* Wed Nov 09 2005 Wil Cooley <wcooley@nakedape.cc> - 2.0.4-0.0
-- Updated to 2.0.4.
-- Filter requirements for some internally-provided or optional modules.
-
-* Tue Jun 21 2005 Wil Cooley <wcooley@nakedape.cc> - 2.0-0.2rc5
-- Added chkconfig in post and preun sections.
-- Changed some permissions to make rpmlint less unhappy.
-
-* Thu Jun 16 2005 Wil Cooley <wcooley@nakedape.cc> - 2.0-2.nac.0.5
-- Updated for 2.0rc5.
-
|
[-]
[+]
|
Deleted |
smokeping-2.3.5-silence.patch
^
|
@@ -1,21 +0,0 @@
-diff -uNr -x '*~' smokeping-2.3.5.orig/lib/Smokeping.pm smokeping-2.3.5/lib/Smokeping.pm
---- smokeping-2.3.5.orig/lib/Smokeping.pm 2008-03-29 08:47:19.000000000 +0100
-+++ smokeping-2.3.5/lib/Smokeping.pm 2008-04-07 21:03:14.000000000 +0200
-@@ -3551,7 +3551,7 @@
- }
- print "Warning: no logging method specified. Messages will be lost.\n"
- unless $logging;
-- print "Daemonizing $0 ...\n";
-+ #print "Daemonizing $0 ...\n";
- defined (my $pid = fork) or die "Can't fork: $!";
- if ($pid) {
- exit;
-@@ -3611,7 +3611,7 @@
- die "missing facility?" unless defined $fac;
- $syslog_facility = $fac if defined $fac;
- $syslog_priority = $pri if defined $pri;
-- print "Note: logging to syslog as $syslog_facility/$syslog_priority.\n";
-+ #print "Note: logging to syslog as $syslog_facility/$syslog_priority.\n";
- openlog(basename($0), 'pid', $syslog_facility);
- eval {
- syslog($syslog_priority, 'Starting syslog logging');
|
[-]
[+]
|
Deleted |
smokeping-2.4.2-config.patch
^
|
@@ -1,156 +0,0 @@
-diff -uNr -x '*~' smokeping-2.4.2.orig/etc/basepage.html.dist smokeping-2.4.2/etc/basepage.html.dist
---- smokeping-2.4.2.orig/etc/basepage.html.dist 2008-04-26 15:00:16.000000000 +0200
-+++ smokeping-2.4.2/etc/basepage.html.dist 2008-08-25 21:17:04.000000000 +0200
-@@ -53,10 +53,10 @@
- -->
- </STYLE>
-
--<script src="cropper/lib/prototype.js" type="text/javascript"></script>
--<script src="cropper/lib/scriptaculous.js?load=builder,dragdrop" type="text/javascript"></script>
--<script src="cropper/cropper.js" type="text/javascript"></script>
--<script src="cropper/smokeping-zoom.js" type="text/javascript"></script>
-+<script src="/smokeping/cropper/lib/prototype.js" type="text/javascript"></script>
-+<script src="/smokeping/cropper/lib/scriptaculous.js?load=builder,dragdrop" type="text/javascript"></script>
-+<script src="/smokeping/cropper/cropper.js" type="text/javascript"></script>
-+<script src="/smokeping/cropper/smokeping-zoom.js" type="text/javascript"></script>
-
-
-
-diff -uNr -x '*~' smokeping-2.4.2.orig/etc/config.dist smokeping-2.4.2/etc/config.dist
---- smokeping-2.4.2.orig/etc/config.dist 2008-07-24 19:36:57.000000000 +0200
-+++ smokeping-2.4.2/etc/config.dist 2008-08-25 21:17:21.000000000 +0200
-@@ -1,19 +1,19 @@
- *** General ***
-
--owner = Peter Random
--contact = some@address.nowhere
-+owner = Super User
-+contact = root@localhost
- mailhost = my.mail.host
--sendmail = /usr/lib/sendmail
-+sendmail = /usr/sbin/sendmail
- # NOTE: do not put the Image Cache below cgi-bin
- # since all files under cgi-bin will be executed ... this is not
- # good for images.
--imgcache = /home/oetiker/public_html/smokeping-ms/cache
--imgurl = cache
--datadir = /tmp/smokeping-ms/data
--piddir = /tmp/smokeping-ms/var
--cgiurl = http://some.url/smokeping.cgi
--smokemail = /home/oetiker/checkouts/smokeping/trunk/software/etc/smokemail.dist
--tmail = /home/oetiker/checkouts/smokeping/trunk/software/etc/tmail.dist
-+imgcache = /var/lib/smokeping/images
-+imgurl = /smokeping/images
-+datadir = /var/lib/smokeping/rrd
-+piddir = /var/run/smokeping
-+cgiurl = http://localhost/smokeping/smokeping.cgi
-+smokemail = /etc/smokeping/smokemail
-+tmail = /etc/smokeping/tmail
- # specify this to get syslog logging
- syslogfacility = local0
- # each probe is now run in its own process
-@@ -21,8 +21,8 @@
- # concurrentprobes = no
-
- *** Alerts ***
--to = alertee@address.somewhere
--from = smokealert@company.xy
-+to = root@localhost
-+from = root@localhost
-
- +someloss
- type = loss
-@@ -47,7 +47,7 @@
-
- *** Presentation ***
-
--template = /home/oetiker/checkouts/smokeping/trunk/software/etc/basepage.html.dist
-+template = /etc/smokeping/basepage.html
-
- + charts
-
-@@ -108,7 +108,7 @@
- binary = /usr/sbin/fping
-
- *** Slaves ***
--secrets=/home/oetiker/checkouts/smokeping/trunk/software/etc/smokeping_secrets.dist
-+secrets=/etc/smokeping/smokeping_secrets
- +boomer
- display_name=boomer
- color=0000ff
-@@ -119,28 +119,57 @@
-
- *** Targets ***
-
-+#menuextra = <a target='_blank' href='/smokeping/tr.html{HOST}' class='{CLASS}' \
-+# onclick="window.open(this.href,this.target, \
-+# 'width=800,height=500,toolbar=no,location=no,status=no,scrollbars=no'); \
-+# return false;">*</a>
-+#
- probe = FPing
-
- menu = Top
- title = Network Latency Grapher
--remark = Welcome to the SmokePing website of xxx Company. \
-+remark = Welcome to the SmokePing website of <b>Insert Company Name Here</b>. \
- Here you will learn all about the latency of our network.
-
--+ Test
--menu= Targets
--#parents = owner:/Test/James location:/
--
--++ James
--
--menu = James
--title =James
--alerts = someloss
--slaves = boomer slave2
--host = james.address
--
--++ MultiHost
--
--menu = Multihost
--title = James and James as seen from Boomer
--host = /Test/James /Test/James~boomer
-++ Ping
-+
-+menu = Fedora
-+title = Fedora Pings
-+
-+++ FedoraprojectOrg
-+
-+menu = fedoraproject.org
-+title = Fedora Webserver
-+host = fedoraproject.org
-+
-+++ DocsFedoraprojectOrg
-+
-+menu = docs.fedoraproject.org
-+title = Fedora Docs Webserver
-+host = docs.fedoraproject.org
-+
-+++ PlanetFedora
-+
-+menu = planet.fedoraproject.org
-+title = Planet Fedora
-+host = planet.fedoraproject.org
-+
-+#
-+# Lots of more options are available, please have a look in the included documentation.
-+#
-+
-+
-+#++ James
-+
-+#menu = James
-+#title =James
-+#alerts = someloss
-+#slaves = boomer slave2
-+#host = james.address
-+
-+#++ MultiHost
-+
-+#menu = Multihost
-+#title = James and James as seen from Boomer
-+#host = /Test/James /Test/James~boomer
-
|
[-]
[+]
|
Deleted |
smokeping-2.4.2-jsonrpc-strict.patch
^
|
@@ -1,12 +0,0 @@
-diff -uNr -x '*~' smokeping-2.4.2.orig/lib/Qooxdoo/JSONRPC.pm smokeping-2.4.2/lib/Qooxdoo/JSONRPC.pm
---- smokeping-2.4.2.orig/lib/Qooxdoo/JSONRPC.pm 2008-07-24 20:25:28.000000000 +0200
-+++ smokeping-2.4.2/lib/Qooxdoo/JSONRPC.pm 2008-09-15 20:23:25.000000000 +0200
-@@ -18,7 +18,7 @@
- # The JSON-RPC implementation.
- # Use perldoc on this file to view documentation
-
--use strict;
-+#use strict;
-
- use JSON;
-
|
[-]
[+]
|
Deleted |
smokeping-2.4.2-path.patch
^
|
@@ -1,69 +0,0 @@
-diff -uNr -x '*~' smokeping-2.4.2.orig/bin/smokeping.dist smokeping-2.4.2/bin/smokeping.dist
---- smokeping-2.4.2.orig/bin/smokeping.dist 2008-07-24 19:37:05.000000000 +0200
-+++ smokeping-2.4.2/bin/smokeping.dist 2008-08-24 14:55:31.000000000 +0200
-@@ -1,13 +1,12 @@
- #!/usr/bin/perl -w
- # -*-perl-*-
-
--use lib qw(/usr/pack/rrdtool-1.3.0-rp/lib/perl);
--use lib qw(lib);
-+use lib qw(/usr/share/smokeping/lib);
- use strict;
- use warnings;
- use Smokeping 2.004002;
-
--Smokeping::main("etc/config.dist");
-+Smokeping::main("/etc/smokeping/config");
-
- =head1 NAME
-
-diff -uNr -x '*~' smokeping-2.4.2.orig/bin/tSmoke.dist smokeping-2.4.2/bin/tSmoke.dist
---- smokeping-2.4.2.orig/bin/tSmoke.dist 2008-07-24 19:37:05.000000000 +0200
-+++ smokeping-2.4.2/bin/tSmoke.dist 2008-08-24 14:56:09.000000000 +0200
-@@ -51,8 +51,7 @@
- # -- Getopt::Long
- #
- # Point the lib variables to your implementation
--use lib qw(lib);
--use lib qw(/usr/local/rrdtool-1.0.39/lib/perl);
-+use lib qw(/usr/share/smokeping/lib);
-
- use Smokeping 2.004002;
- use Net::SMTP;
-diff -uNr -x '*~' smokeping-2.4.2.orig/htdocs/smokeping.cgi.dist smokeping-2.4.2/htdocs/smokeping.cgi.dist
---- smokeping-2.4.2.orig/htdocs/smokeping.cgi.dist 2008-07-24 19:37:05.000000000 +0200
-+++ smokeping-2.4.2/htdocs/smokeping.cgi.dist 2008-08-24 14:57:14.000000000 +0200
-@@ -1,17 +1,16 @@
--#!/usr/bin/speedy
-+#!/usr/bin/perl
- # -*-perl-*-
-
- use strict;
- use warnings;
-
--use lib qw(/usr/pack/rrdtool-1.3.0-rp/lib/perl);
--use lib qw(/home/oetiker/checkouts/smokeping/trunk/software/lib);
-+use lib qw(/usr/share/smokeping/lib);
-
- use CGI::Carp qw(fatalsToBrowser);
-
- use Smokeping 2.004002;
-
--Smokeping::cgi("/home/oetiker/checkouts/smokeping/trunk/software/etc/config.dist");
-+Smokeping::cgi("/etc/smokeping/config");
-
- =head1 NAME
-
-diff -uNr -x '*~' smokeping-2.4.2.orig/htdocs/tr.cgi.dist smokeping-2.4.2/htdocs/tr.cgi.dist
---- smokeping-2.4.2.orig/htdocs/tr.cgi.dist 2008-07-24 20:25:28.000000000 +0200
-+++ smokeping-2.4.2/htdocs/tr.cgi.dist 2008-08-24 14:58:03.000000000 +0200
-@@ -1,7 +1,6 @@
--#!/usr/sepp/bin/speedy-5.8.8 -w
-+#!/usr/bin/perl
- use strict;
--use lib qw(/home/oposs/smokeping/software/lib);
--use lib qw(perl);
-+use lib qw(/usr/share/smokeping/lib);
-
- use CGI;
- use CGI::Util qw(expires);
|
[-]
[+]
|
Deleted |
smokeping-2.4.2-scriptname.patch
^
|
@@ -1,12 +0,0 @@
-diff -uNr -x '*~' smokeping-2.4.2.orig/lib/Smokeping.pm smokeping-2.4.2/lib/Smokeping.pm
---- smokeping-2.4.2.orig/lib/Smokeping.pm 2008-07-24 19:37:05.000000000 +0200
-+++ smokeping-2.4.2/lib/Smokeping.pm 2009-08-16 23:00:27.000000000 +0200
-@@ -73,7 +73,7 @@
- }
-
- sub dummyCGI::script_name {
-- return wantarray ? () : "";
-+ return "sorry_no_script_name_when_running_offline";
- }
-
- sub load_probes ($){
|
[-]
[+]
|
Deleted |
smokeping-2.4.2-tr.patch
^
|
@@ -1,11 +0,0 @@
-diff -uNr -x '*~' smokeping-2.4.2.orig/htdocs/tr.html smokeping-2.4.2/htdocs/tr.html
---- smokeping-2.4.2.orig/htdocs/tr.html 2008-07-24 20:25:28.000000000 +0200
-+++ smokeping-2.4.2/htdocs/tr.html 2008-08-24 15:26:05.000000000 +0200
-@@ -2,6 +2,6 @@
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- <title>SmokeTrace</title>
-- <script type="text/javascript" src="script/Tr.js"></script>
-+ <script type="text/javascript" src="/smokeping/script/Tr.js"></script>
- </head>
- </html>
|
[-]
[+]
|
Deleted |
README.fedora
^
|
@@ -1,93 +0,0 @@
-Some useful information about smokeping as packaged by Fedora
--------------------------------------------------------------
-
-To use the package
-------------------
-
- o Define you targets in /etc/smokeping/config
-
- There are some examples defined all ready, for more options please consult
- the documentation available here:
-
- file:///usr/share/doc/smokeping-2.4.2/doc/smokeping_install.html
-
- o Start the smokeping daemon:
-
- $ service smokeping start
- $ chkconfig --level 35 smokeping on
-
- o Start Apache httpd webserver:
-
- $ service httpd start
- $ chkconfig --level 35 httpd on
-
- o smokeping in it's full glory is now serving you at the following address:
-
- http://localhost/smokeping/sm.cgi
-
- Please visit with your browser of choice. You might have to wait some
- time until the daemon has got some data to see something useful
-
- If you want to access smokeping from a remote host, please edit
- /etc/httpd/conf.d/smokeping.conf
-
-
-To enable SmokeTrace support
-----------------------------
- o Uncomment the SmokeTrace section in /etc/smokeping/config
-
- o Make the traceroute binary setuid:
-
- $ chmod u+s /bin/traceroute
-
- (Beware of the security implications this action might have)
-
- o Uncomment the tr.cgi ScriptAlias line in /etc/httpd/conf.d/smokeping.conf .
-
- o Restart the webserver
-
- $ service httpd restart
-
-
-Caveats
--------
-
- SELinux
- -------
-
- If your system are using SELinux, smokeping will not work, unless you
- execute the following commands:
-
- $ chcon -v -R --type=httpd_sys_script_exec_t /usr/share/smokeping/cgi/
- $ chcon -v -R --type=httpd_sys_content_t /var/lib/smokeping/
-
-
- These rules (and then some?) may be needed too:
-
- module smokeudpsocket 1.0;
-
- require {
- type httpd_sys_script_t;
- class udp_socket connect;
- }
-
- #============= httpd_sys_script_t ==============
- allow httpd_sys_script_t self:udp_socket connect;
-
-
-
- Need for additional perl modules
- --------------------------------
-
- The TacacsPlus and Radius probes needs the Authen::Tacas and/or
- Authen::Radius CPAN modules, in order to use these probes, please
- install these modules.
-
-
-Happy pinging!
-
-
-
-
-
-
|
|
Deleted |
rrdtool.png
^
|
|
Deleted |
smokeping-2.4.2.tar.gz
^
|
[-]
[+]
|
Deleted |
smokeping-httpd.conf.d
^
|
@@ -1,16 +0,0 @@
-<Directory "/usr/share/smokeping" >
- Order deny,allow
- Deny from all
- Allow from 127.0.0.1
-</Directory>
-
-<Directory "/var/lib/smokeping" >
- Order deny,allow
- Deny from all
- Allow from 127.0.0.1
-</Directory>
-
-ScriptAlias /smokeping/sm.cgi /usr/share/smokeping/cgi/smokeping.cgi
-#ScriptAlias /smokeping/tr.cgi /usr/share/smokeping/cgi/tr.cgi
-Alias /smokeping/images /var/lib/smokeping/images
-Alias /smokeping /usr/share/smokeping/htdocs
|
[-]
[+]
|
Deleted |
smokeping.init
^
|
@@ -1,75 +0,0 @@
-#! /bin/bash
-#
-# smokeping This starts and stops the smokeping daemon
-# chkconfig: - 98 11
-# description: Start and top the smokeping daemon
-# processname: smokeping
-#
-### BEGIN INIT INFO
-# Provides: smokeping
-# Required-Start: $local_fs $network
-# Required-Stop: $local_fs $network
-# Default-Start:
-# Default-Stop: 0 1 2 3 4 5 6
-# Short-Description: Start and stop the smokeping daemon
-# Description: Daemon for smokeping - Latency Logging and Graphing System
-### END INIT INFO
-#
-
-# Source function library.
-. /etc/rc.d/init.d/functions
-
-SMOKEPING=/usr/sbin/smokeping
-LOCKF=/var/lock/subsys/smokeping
-CONFIG=/etc/smokeping/config
-PID=/var/run/smokeping/smokeping.pid
-
-RETVAL=0
-
-case "$1" in
- start)
- [ -x $SMOKEPING ] || exit 5
- [ -f $CONFIG ] || exit 6
- echo -n $"Starting smokeping: "
- daemon $SMOKEPING
- RETVAL=$?
- echo
- [ $RETVAL -eq 0 ] && touch $LOCKF
- ;;
- stop)
- echo -n $"Stopping smokeping: "
- killproc $SMOKEPING
- RETVAL=$?
- echo
- [ $RETVAL -eq 0 ] && rm -f $LOCKF $PID
- ;;
- status)
- status smokeping
- RETVAL=$?
- ;;
- reload)
- echo -n $"Reloading smokeping: "
- killproc $SMOKEPING -HUP
- RETVAL=$?
- echo
- ;;
- restart|force-reload)
- $0 stop
- sleep 3
- $0 start
- RETVAL=$?
- ;;
- condrestart|try-restart)
- if [ -f $LOCKF ] ; then
- $0 stop
- sleep 3
- $0 start
- RETVAL=$?
- fi
- ;;
- *)
- echo $"Usage: $0 {start|stop|status|restart|force-reload|reload|condrestart|try-restart}"
- exit 1
-esac
-
-exit $RETVAL
|
|
Deleted |
smokeping.png
^
|