Linux server1.signalhg.team 4.18.0-553.134.1.el8_10.x86_64 #1 SMP Tue Jun 16 16:05:57 EDT 2026 x86_64
Apache
: 209.74.80.147 | : 216.73.217.19
150 Domain
8.1.34
signgwph
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
README
+ Create Folder
+ Create File
/
etc /
munin /
plugins /
[ HOME SHELL ]
Name
Size
Permission
Action
apache_accesses
5.17
KB
-rwxr-xr-x
apache_processes
6.52
KB
-rwxr-xr-x
apache_volume
5.12
KB
-rwxr-xr-x
cpu
7.3
KB
-rwxr-xr-x
df
4.26
KB
-rwxr-xr-x
df_inode
4.31
KB
-rwxr-xr-x
diskstats
34.62
KB
-rwxr-xr-x
entropy
988
B
-rwxr-xr-x
exim_mailqueue
3.12
KB
-rwxr-xr-x
exim_mailstats
5.51
KB
-rwxr-xr-x
forks
1.01
KB
-rwxr-xr-x
fw_packets
1.75
KB
-rwxr-xr-x
http_loadtime
3.22
KB
-rwxr-xr-x
if_err_eth0
3.07
KB
-rwxr-xr-x
if_err_eth1
3.07
KB
-rwxr-xr-x
if_eth0
5.78
KB
-rwxr-xr-x
if_eth1
5.78
KB
-rwxr-xr-x
interrupts
1.99
KB
-rwxr-xr-x
irqstats
4.2
KB
-rwxr-xr-x
load
2.69
KB
-rwxr-xr-x
memory
11.16
KB
-rwxr-xr-x
munin_stats
3.78
KB
-rwxr-xr-x
mysql_bytes
1.77
KB
-rwxr-xr-x
mysql_innodb
5.52
KB
-rwxr-xr-x
mysql_queries
2.59
KB
-rwxr-xr-x
mysql_slowqueries
1.5
KB
-rwxr-xr-x
mysql_threads
1.58
KB
-rwxr-xr-x
netstat
3.3
KB
-rwxr-xr-x
nfs4_client
1.24
KB
-rwxr-xr-x
open_files
1.2
KB
-rwxr-xr-x
open_inodes
1.06
KB
-rwxr-xr-x
proc_pri
1.56
KB
-rwxr-xr-x
processes
15.26
KB
-rwxr-xr-x
swap
1.24
KB
-rwxr-xr-x
threads
1.4
KB
-rwxr-xr-x
uptime
859
B
-rwxr-xr-x
users
2.46
KB
-rwxr-xr-x
vmstat
1.13
KB
-rwxr-xr-x
Delete
Unzip
Zip
${this.title}
Close
Code Editor : apache_volume
#!/usr/local/cpanel/3rdparty/perl/542/bin/perl # -*- cperl -*- =head1 NAME apache_volume - Munin plugin to monitor the volume of data sent from Apache servers. =head1 APPLICABLE SYSTEMS Apache HTTP servers with C</server-status> enabled. =head1 CONFIGURATION The plugin needs access to http://localhost/server-status?auto (or modify the URL for another host). See your Apache documentation on how to set up this URL in your httpd.conf. Apache needs ExtendedStatus enabled for this plugin to work. Tip: To see if it's already set up correctly, just run this plugin with the parameter "autoconf". If you get a "yes", everything should work like a charm already. This configuration section shows the defaults of the plugin: [apache_*] env.url http://127.0.0.1:%d/server-status?auto env.ports 80 The %d in the url will be replaced with the port. The default port is 80 as shown. The port list is a space separated list of ports. NOTE that one single Apache can have several open ports, and the plugin needs only to contact one to get the servers global status. The list of ports is only needed if you have several B<different> Apaches configured on your host. If you need authenticated access to the URL you can specify the username and password in the URL. For example: [apache_volume] env.url http://munin:spamalot@localhost/server-status?auto This will provide for HTTP basic authentication. It is possible to use HTTPS for accessing the server. You just need to make sure, that the server certificate is valid (i.e. it is signed by a locally known CA and it matches the hostname in the URL). If you really need to connect to an HTTPS URL without a valid certificate (as described above), then you should try to set one of the following environment settings in the munin-node plugin configuration: env.PERL_LWP_SSL_VERIFY_HOSTNAME 0 env.HTTPS_CA_FILE /etc/ssl/acme-ca.pem env.HTTPS_CA_DIR /etc/acme-ca-certs/ See https://metacpan.org/pod/LWP::UserAgent for more details. =head1 INTERPRETATION The plugin shows the Apache HTTP servers global data volume in bytes. I.e. how many bytes the server has served. If there is a flat ceiling effect on the graph you may have reached some kind of bandwidth limit on your outgoing connection. =head1 MAGIC MARKERS #%# family=auto #%# capabilities=autoconf =head1 BUGS Does not support digest authentication. =head1 AUTHOR Unknown =head1 LICENSE GPLv2 =cut use strict; use warnings; use Munin::Plugin; my $ret = undef; if (! eval "require LWP::UserAgent;") { $ret = "LWP::UserAgent not found"; if ( ! defined $ARGV[0] ) { die $ret; } } my $whm_server_status_key = Munin::Plugin::_get_whm_server_status_key(); my $URL = exists $ENV{'url'} ? $ENV{'url'} : "http://127.0.0.1:%d/$whm_server_status_key?auto"; my @PORTS = exists $ENV{'ports'} ? split(' ', $ENV{'ports'}) : (80); # Convert an URL with the %d placeholder into a string. Allow URL without placeholder. sub get_url_with_port { my ($url, $port) = @_; return ($url =~ /%d/) ? sprintf($url, $port) : $url; } if ( defined $ARGV[0] and $ARGV[0] eq "autoconf" ) { if ($ret) { print "no ($ret)\n"; exit 0; } my $ua = LWP::UserAgent->new(timeout => 30, agent => sprintf("munin/%s (libwww-perl/%s)", $Munin::Common::Defaults::MUNIN_VERSION, $LWP::VERSION)); foreach my $port (@PORTS) { my $url = get_url_with_port($URL, $port); my $response = $ua->request(HTTP::Request->new('GET',$url)); if ($response->is_success) { if ($response->content =~ /^Total Accesses:/im ){ next; } else { print "no (ExtendedStatus option for apache" . " mod_status is missing on port $port)\n"; exit 0; } } elsif ($response->code == 404) { print "no (apache server-status not found. check if mod_status is enabled)\n"; exit 0; } else { print "no (Port $port: ". $response->message .")\n"; exit 0; } } print "yes\n"; exit 0; } if ( defined $ARGV[0] and $ARGV[0] eq "config" ) { print "graph_title Apache volume\n"; print "graph_args --base 1000\n"; print "graph_vlabel bytes per \${graph_period}\n"; print "graph_category apache\n"; foreach my $port (@PORTS) { print "volume$port.label port $port\n"; print "volume$port.type DERIVE\n"; print "volume$port.max 1000000000\n"; print "volume$port.min 0\n"; print_thresholds("volume$port"); } exit 0; } my $ua = LWP::UserAgent->new(timeout => 30, agent => sprintf("munin/%s (libwww-perl/%s)", $Munin::Common::Defaults::MUNIN_VERSION, $LWP::VERSION)); foreach my $port (@PORTS) { my $url = get_url_with_port($URL, $port); my $response = $ua->request(HTTP::Request->new('GET',$url)); if ($response->content =~ /^Total kBytes:\s+(.+)$/im) { print "volume$port.value ", int($1*1024), "\n"; } else { print "volume$port.value U\n"; } } # vim:syntax=perl
Close