Linux server2.hpierson.com 3.10.0-1160.105.1.el7.x86_64 #1 SMP Thu Dec 7 15:39:45 UTC 2023 x86_64
Apache
: 162.0.216.123 | : 216.73.216.152
28 Domain
?7.4.33
yvffpqmy
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
4.32
KB
-rwxr-xr-x
apache_processes
5.67
KB
-rwxr-xr-x
apache_volume
4.27
KB
-rwxr-xr-x
cpu
6.59
KB
-rwxr-xr-x
df
4.27
KB
-rwxr-xr-x
df_inode
4.34
KB
-rwxr-xr-x
diskstats
34.19
KB
-rwxr-xr-x
entropy
983
B
-rwxr-xr-x
exim_mailqueue
3.19
KB
-rwxr-xr-x
exim_mailstats
5.51
KB
-rwxr-xr-x
forks
1000
B
-rwxr-xr-x
fw_packets
1.68
KB
-rwxr-xr-x
http_loadtime
2.52
KB
-rwxr-xr-x
if_err_eth0
3.03
KB
-rwxr-xr-x
if_eth0
5.71
KB
-rwxr-xr-x
interrupts
2.08
KB
-rwxr-xr-x
irqstats
4.17
KB
-rwxr-xr-x
load
2.68
KB
-rwxr-xr-x
memory
8.85
KB
-rwxr-xr-x
munin_stats
3.42
KB
-rwxr-xr-x
mysql_bytes
1.71
KB
-rwxr-xr-x
mysql_innodb
5.35
KB
-rwxr-xr-x
mysql_queries
2.5
KB
-rwxr-xr-x
mysql_slowqueries
1.49
KB
-rwxr-xr-x
mysql_threads
1.6
KB
-rwxr-xr-x
netstat
2.83
KB
-rwxr-xr-x
open_files
1.38
KB
-rwxr-xr-x
open_inodes
1.05
KB
-rwxr-xr-x
proc_pri
1.44
KB
-rwxr-xr-x
processes
11.62
KB
-rwxr-xr-x
swap
1.21
KB
-rwxr-xr-x
threads
1.05
KB
-rwxr-xr-x
uptime
853
B
-rwxr-xr-x
users
2.44
KB
-rwxr-xr-x
vmstat
1.08
KB
-rwxr-xr-x
Delete
Unzip
Zip
${this.title}
Close
Code Editor : munin_stats
#!/usr/local/cpanel/3rdparty/perl/536/bin/perl # -*- perl -*- # # Copyright (C) 2006-2009 Rodolphe Quiedeville <rodolphe@quiedeville.org> # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; version 2 dated June, # 1991. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. # # $Id$ # # Magic markers (used by munin-node-configure and some installation scripts): #%# family=auto #%# capabilities=autoconf use strict; use warnings; use Munin::Plugin; my @logs = qw/update graph html limits/; my $logdir = ($ENV{'logdir'} || $ENV{'MUNIN_LOGDIR'} || '/var/log/munin'); if ($ARGV[0] and $ARGV[0] eq 'autoconf') { my $munin_update_location = "$Munin::Common::Defaults::MUNIN_LIBDIR/munin-update"; if (! -e $munin_update_location) { print "no (munin-update was not found at $munin_update_location)\n"; exit 0; } if (! -x $munin_update_location) { print "no ($munin_update_location was found, but is not executable)\n"; exit 0; } else { print "yes\n"; exit 0; } } if ($ARGV[0] and $ARGV[0] eq "config") { print "graph_title Munin processing time\n", "graph_info This graph shows the run time of the four different processes making up a munin-master run. Munin-master is run from cron every 5 minutes and we want each of the programmes in munin-master to complete before the next instance starts. Especially munin-update and munin-graph are time consuming and their run time bears watching. If munin-update uses too long time to run please see the munin-update graph to determine which host is slowing it down. If munin-graph is running too slow you need to get clever (email the munin-users mailing list) unless you can buy a faster computer with better disks to run munin on.\n", "graph_args --base 1000 -l 0\n", "graph_scale yes\n", "graph_vlabel seconds\n", "graph_category munin\n"; foreach my $log (@logs) { print "$log.label munin $log\n"; print "$log.draw AREASTACK\n"; } print "update.warning 240\n"; print "update.critical 285\n"; print "graph.warning 240\n"; print "graph.critical 285\n"; exit 0; } my %positions = restore_state(); my %times; foreach my $log (@logs) { my $logfile = "$logdir/munin-$log.log"; my $time = 'U'; if (! -r $logfile) { print "$log.extinfo Can't open $logfile for reading\n"; print "$log.value $time\n"; next; } if (exists $positions{$log}) { my ($LOGFILE, undef) = tail_open($logfile, $positions{$log}); while (<$LOGFILE>) { $time = $1 if (/finished \((\d+\.\d+)\ssec\)$/); } $positions{$log} = tail_close($LOGFILE); } else { # Do nothing on first run except find the current file end. $positions{$log} = (stat $logfile)[7]; } print "$log.value $time\n"; } save_state(%positions); # vim: ft=perl : ts=4 : expandtab
Close