blib/lib/Monitoring/Sneck/Checks.pm

filter: Statementstmt 97.9% 94 / 96 Branchbran 90.6% 29 / 32 Conditioncond 80.6% 25 / 31 MC/DCmcdc 61.1% 11 / 18 Subroutinesub 100% 12 / 12 Podpod 100% 3 / 3 totaltotal 90.6% 174 / 192 CC 30 SCAR 19.4
CC
30
Cov
93%
run
10.1
list
8.0
load
8.0
CRAP 7.0
« blib/lib/Monitoring/Sneck/Checks/base.pm ↑ Summary blib/lib/Monitoring/Sneck/Checks/conntrack.pm »
1 package Monitoring::Sneck::Checks;
2  
3 153 ▶use 5.014;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 153 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 153 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
6 153 ▶use Time::HiRes ();
Subroutine BEGIN: called CC=1 SCAR=0.0
7  
8 =head1 NAME
9  
10 Monitoring::Sneck::Checks - nagios style checks run as Perl inside of sneck
11  
12 =head1 VERSION
13  
14 Version 0.1.1
15  
16 =cut
17  
18 153 our $VERSION = '0.1.1';
19  
20 # Seconds a check is given if run is not told otherwise.
21 153 our $TIMEOUT = 30;
22  
23 =head1 SYNOPSIS
24  
25 use Monitoring::Sneck::Checks;
26  
27 my $return = Monitoring::Sneck::Checks->run(
28 check => 'http',
29 args => [ '-H', 'www.example.org', '-S', '-w', '1', '-c', '2' ],
30 timeout => 30,
31 );
32 print $return->{combined};
33 exit( $return->{code} );
34  
35 Or from a sneck config.
36  
37 www|perl:http -H www.example.org -S -w 1 -c 2
38  
39 =head1 DESCRIPTION
40  
41 Runs checks written as Perl modules under Monitoring::Sneck::Checks::,
42 in process, so sneck does not have to start a new program for each.
43 They return the same exit codes as nagios plugins.
44  
45 A check is the module Monitoring::Sneck::Checks::$name, subclassing
46 L<Monitoring::Sneck::Checks::base>, where the shared helpers are. See
47 that for writing one.
48  
49 The checks that come with it are...
50  
51 - accounts :: L<Monitoring::Sneck::Checks::accounts>, local user accounts.
52  
53 - cciss :: L<Monitoring::Sneck::Checks::cciss>, HP Smart Array controllers, through cciss_vol_status.
54  
55 - cert_dir :: L<Monitoring::Sneck::Checks::cert_dir>, every certificate in directories.
56  
57 - cert_file :: L<Monitoring::Sneck::Checks::cert_file>, certificate files.
58  
59 - checksums :: L<Monitoring::Sneck::Checks::checksums>, files against stored checksums.
60  
61 - config_value :: L<Monitoring::Sneck::Checks::config_value>, values in config files.
62  
63 - conntrack :: L<Monitoring::Sneck::Checks::conntrack>, how full the connection tracking table is.
64  
65 - containers :: L<Monitoring::Sneck::Checks::containers>, Docker or Podman containers.
66  
67 - debsecan :: L<Monitoring::Sneck::Checks::debsecan>, Debian security fixes, through debsecan.
68  
69 - disk :: L<Monitoring::Sneck::Checks::disk>, how full file systems are.
70  
71 - dns :: L<Monitoring::Sneck::Checks::dns>, DNS lookups.
72  
73 - dns_sync :: L<Monitoring::Sneck::Checks::dns_sync>, a zone's nameservers having the same serial.
74  
75 - file_age :: L<Monitoring::Sneck::Checks::file_age>, file age and size.
76  
77 - file_content :: L<Monitoring::Sneck::Checks::file_content>, a file being there and what is in it.
78  
79 - file_handles :: L<Monitoring::Sneck::Checks::file_handles>, open files against the system limit.
80  
81 - file_mode :: L<Monitoring::Sneck::Checks::file_mode>, the mode, owner, and group of files.
82  
83 - hosts :: L<Monitoring::Sneck::Checks::hosts>, /etc/hosts.
84  
85 - http :: L<Monitoring::Sneck::Checks::http>, HTTP and HTTPS.
86  
87 - http_json :: L<Monitoring::Sneck::Checks::http_json>, values in a JSON response.
88  
89 - https_cert :: L<Monitoring::Sneck::Checks::https_cert>, the certificate a TLS server hands out, STARTTLS included.
90  
91 - interface :: L<Monitoring::Sneck::Checks::interface>, network interfaces being up, at speed, and not erroring.
92  
93 - jails :: L<Monitoring::Sneck::Checks::jails>, FreeBSD jails and bhyve VMs running.
94  
95 - kernel_modules :: L<Monitoring::Sneck::Checks::kernel_modules>, kernel modules being loaded or not.
96  
97 - linux_ras :: L<Monitoring::Sneck::Checks::linux_ras>, hardware errors rasdaemon has logged.
98  
99 - listening :: L<Monitoring::Sneck::Checks::listening>, what ports are listened on.
100  
101 - load :: L<Monitoring::Sneck::Checks::load>, the load averages.
102  
103 - log :: L<Monitoring::Sneck::Checks::log>, new lines in a log for a regex.
104  
105 - memory :: L<Monitoring::Sneck::Checks::memory>, how much memory is used.
106  
107 - mount :: L<Monitoring::Sneck::Checks::mount>, file systems being mounted and writable.
108  
109 - mtime :: L<Monitoring::Sneck::Checks::mtime>, file mtimes against a time.
110  
111 - neighbors :: L<Monitoring::Sneck::Checks::neighbors>, how full the ARP and NDP neighbor tables are.
112  
113 - ntp :: L<Monitoring::Sneck::Checks::ntp>, the local clock against a NTP server.
114  
115 - oom :: L<Monitoring::Sneck::Checks::oom>, processes killed for running out of memory.
116  
117 - packages :: L<Monitoring::Sneck::Checks::packages>, packages being installed or not.
118  
119 - pid_file :: L<Monitoring::Sneck::Checks::pid_file>, the process in a PID file running.
120  
121 - ping :: L<Monitoring::Sneck::Checks::ping>, ICMP, TCP, or UDP ping.
122  
123 - pkg_audit :: L<Monitoring::Sneck::Checks::pkg_audit>, FreeBSD packages with known vulnerabilities.
124  
125 - pressure :: L<Monitoring::Sneck::Checks::pressure>, Linux pressure stall information.
126  
127 - procs :: L<Monitoring::Sneck::Checks::procs>, how many processes are running.
128  
129 - rbl :: L<Monitoring::Sneck::Checks::rbl>, DNS block lists.
130  
131 - reboot_needed :: L<Monitoring::Sneck::Checks::reboot_needed>, a reboot or restarts being needed after updates.
132  
133 - resolv :: L<Monitoring::Sneck::Checks::resolv>, /etc/resolv.conf.
134  
135 - sensors :: L<Monitoring::Sneck::Checks::sensors>, temperatures, fans, and voltages.
136  
137 - service :: L<Monitoring::Sneck::Checks::service>, services running.
138  
139 - smtp :: L<Monitoring::Sneck::Checks::smtp>, a SMTP server.
140  
141 - sshd_config :: L<Monitoring::Sneck::Checks::sshd_config>, settings in sshd_config.
142  
143 - swap :: L<Monitoring::Sneck::Checks::swap>, how much swap is used.
144  
145 - swraid :: L<Monitoring::Sneck::Checks::swraid>, software RAID, md, gmirror, and graid.
146  
147 - sysctl :: L<Monitoring::Sneck::Checks::sysctl>, sysctl values.
148  
149 - systemd_failed :: L<Monitoring::Sneck::Checks::systemd_failed>, failed systemd units.
150  
151 - tcp :: L<Monitoring::Sneck::Checks::tcp>, TCP services.
152  
153 - tls_protocols :: L<Monitoring::Sneck::Checks::tls_protocols>, what TLS versions a server takes.
154  
155 - uptime :: L<Monitoring::Sneck::Checks::uptime>, how long the host has been up.
156  
157 =head1 TIMEOUTS
158  
159 Checks are not forked, so they are timed out two ways. Each check hands
160 its timeout, a second under the one it is run with, to whatever it
161 talks to the network through, such as L<LWP::UserAgent> or
162 L<Net::DNS::Resolver>. As a backstop, an alarm fires at the timeout it
163 is run with, which makes it UNKNOWN. A command the check is running
164 through L<Monitoring::Sneck::Checks::base/run_command> is killed when
165 it fires. The alarm can not break into everything, such as some name
166 lookups in the C library, so the first is what is relied on.
167  
168 =head1 METHODS
169  
170 =head2 list
171  
172 Lists the checks that can be found, every Monitoring::Sneck::Checks::*
173 module in @INC other than base, by file name, without loading them.
174 Where two directories have one, the first is used, as require would.
175  
176 Returns a hash ref of check names to what each is for, the text after
177 the dash on the NAME line of its POD, or a empty string for one that
178 has no such line.
179  
180 my $checks = Monitoring::Sneck::Checks->list;
181 foreach my $name ( sort( keys( %{$checks} ) ) ) {
182 print $name . ' :: ' . $checks->{$name} . "\n";
183 }
184 # accounts :: checks local user accounts
185 # ...
186  
187 =cut
188  
189 5 ▶sub list {
Subroutine list: called CC=8 SCAR=20.8
Pod documented
190 5 my ($class) = @_;
191  
192 5 my %checks;
193 5 foreach my $dir (@INC) {
194 44 ▶ next if ref($dir) || !-d $dir . '/Monitoring/Sneck/Checks';
Branch: 1 branch
BranchTrueFalseTotal
if ref $dir or not -d $dir . '/Monitoring/Sneck/Checks' 25 19 44
Condition66%2/3
ref $dir or not -d $dir . '/Monitoring/Sneck/Checks'
l!l&&r!l&&!r
02519
MC/DC50%1/2
ref $dir or not -d $dir . '/Monitoring/Sneck/Checks'
ref $dir not -d $dir . '/Monitoring/Sneck/Checks'
Truth table66%2/3
A or not(B)
A= ref $dirB= not -d $dir . '/Monitoring/Sneck/Checks'
ABresult
1X1
011
000
195 153 ▶ foreach my $file ( glob( $dir . '/Monitoring/Sneck/Checks/*.pm' ) ) {
Subroutine BEGIN: called CC=1 SCAR=0.0
196 771 my ($name) = $file =~ m{/([a-z][a-z0-9_]*)\.pm\z};
197 771 ▶ next if !defined($name) || $name eq 'base' || exists( $checks{$name} );
Branch: 1 branch
BranchTrueFalseTotal
if not defined $name or $name eq "base" or exists $checks{$name} 491 280 771
Condition83%5/6
not defined $name or $name eq "base" or exists $checks{$name}
l!l&&r!l&&!r
14477280
not defined $name or $name eq "base"
l!l&&r!l&&!r
014757
MC/DC66%2/3
not defined $name or $name eq "base" or exists $checks{$name}
not defined $name $name eq "base" exists $checks{$name}
Truth table75%3/4
not(A) or B or C
A= not defined $nameB= $name eq "base"C= exists $checks{$name}
ABCresult
1XX1
01X1
0011
0000
198 280 $checks{$name} = _pod_name_text($file);
199 }
200 }
201  
202 5 return \%checks;
203 } ## end sub list
204  
205 # Reads what a module says it is for, from the NAME section of its POD,
206 # for list. The file is read, not loaded, so nothing in it runs.
207 #
208 # Args...
209 #
210 # - file :: Path to the module file.
211 #
212 # Returns the text after the " - " on the NAME line, or a empty string
213 # if the file can not be read or has no such line.
214 #
215 # Example...
216 #
217 # _pod_name_text('/usr/local/lib/perl5/Monitoring/Sneck/Checks/http.pm');
218 # # 'checks HTTP and HTTPS'
219 280 ▶sub _pod_name_text {
Subroutine _pod_name_text: called CC=7 SCAR=19.6
220 280 my ($file) = @_;
221  
222 280 ▶ open( my $fh, '<', $file ) or return '';
Branch: 1 branch
BranchTrueFalseTotal
open my $fh, "<", $file or return "" 280 0 280
223 280 my $in_name;
224 280 ▶ while ( my $line = <$fh> ) {
Branch: 1 branch
BranchTrueFalseTotal
if (defined(my $line = readline $fh)) 3145 15 3160
225 3145 ▶ if ( $line =~ /\A=head1 NAME\s*\z/ ) {
Branch: 3 branches
BranchTrueFalseTotal
if ($line =~ /\A=head1 NAME\s*\z/u) { } 265 2880 3145
elsif ($line =~ /\A=/u) { } 0 2880 2880
elsif ($in_name and $line =~ /\A\S+ - (.+?)\s*\z/u) { } 265 4965 5230
226 265 $in_name = 1;
227 } elsif ( $line =~ /\A=/ ) {
228 0 $in_name = 0;
229 ▶ } elsif ( $in_name && $line =~ /\A\S+ - (.+?)\s*\z/ ) {
Condition100%3/3
$in_name and $line =~ /\A\S+ - (.+?)\s*\z/u
!ll&&!rl&&r
2350265265
MC/DC100%2/2
$in_name and $line =~ /\A\S+ - (.+?)\s*\z/u
$in_name $line =~ /\A\S+ - (.+?)\s*\z/u
Truth table100%3/3
A and B
A= $in_nameB= $line =~ /\A\S+ - (.+?)\s*\z/u
ABresult
0X0
100
111
230 265 close($fh);
231 265 return $1;
232 }
233 } ## end while ( my $line = <$fh> )
234 15 close($fh);
235  
236 15 return '';
237 } ## end sub _pod_name_text
238  
239 =head2 load
240  
241 Loads a check, which run does for itself. For when the module is
242 wanted without running it, such as for its POD. Dies if it can not be
243 loaded, saying why.
244  
245 - check :: The name of the check, as for L</run>.
246  
247 Returns the name of the module, such as Monitoring::Sneck::Checks::http.
248  
249 my $module = Monitoring::Sneck::Checks->load('http');
250 my $pod = $INC{'Monitoring/Sneck/Checks/http.pm'};
251  
252 =cut
253  
254 2331 ▶sub load {
Subroutine load: called CC=8 SCAR=20.8
Pod documented
255 2331 my ( $class, $name ) = @_;
256  
257 2331 ▶ if ( !defined($name) || ref($name) || $name !~ /\A[a-z][a-z0-9_]*\z/ ) {
Branch: 1 branch
BranchTrueFalseTotal
if (not defined $name or ref $name or not $name =~ /\A[a-z][a-z0-9_]*\z/u) 13 2318 2331
Condition83%5/6
not defined $name or ref $name or not $name =~ /\A[a-z][a-z0-9_]*\z/u
l!l&&r!l&&!r
3102318
not defined $name or ref $name
l!l&&r!l&&!r
302328
MC/DC66%2/3
not defined $name or ref $name or not $name =~ /\A[a-z][a-z0-9_]*\z/u
not defined $name ref $name not $name =~ /\A[a-z][a-z0-9_]*\z/u
Truth table75%3/4
not(A) or B or not(C)
A= not defined $nameB= ref $nameC= not $name =~ /\A[a-z][a-z0-9_]*\z/u
ABCresult
1XX1
01X1
0011
0000
258 13 ▶ die( 'check name "'
Condition100%2/2
$name // ""
l!l
103
MC/DC100%1/1
$name // ""
$name
Truth table100%2/2
A
A= $name
Aresult
11
00
259 . ( $name // '' )
260 . '" is not valid, it must be a-z, 0-9, and _, starting with a letter'
261 . "\n" );
262 }
263 2318 ▶ if ( $name eq 'base' ) {
Branch: 1 branch
BranchTrueFalseTotal
if ($name eq "base") 8 2310 2318
264 8 die("base is what checks are built on, not a check\n");
265 }
266  
267 2310 my $module = 'Monitoring::Sneck::Checks::' . $name;
268 2310 ▶ if ( !eval { require( 'Monitoring/Sneck/Checks/' . $name . '.pm' ); 1 } ) {
Branch: 1 branch
BranchTrueFalseTotal
unless (eval { do { require 'Monitoring/Sneck/Checks/' . $name . '.pm'; 1 } }) 7 2303 2310
269 7 die( 'failed to load ' . $module . ', ' . $@ );
270 }
271 2303 ▶ if ( !$module->isa('Monitoring::Sneck::Checks::base') ) {
Branch: 1 branch
BranchTrueFalseTotal
unless ($module->isa("Monitoring::Sneck::Checks::base")) 3 2300 2303
272 3 die( $module . " is not a check, as it is not a Monitoring::Sneck::Checks::base\n" );
273 }
274  
275 2300 return $module;
276 } ## end sub load
277  
278 =head2 run
279  
280 Runs a check.
281  
282 - check :: The name of the check, such as http. Made up of a-z, 0-9,
283 and _, starting with a letter.
284  
285 - args :: The args for it, as a array ref, or a string, which
286 L<Getopt::Long> splits like a shell would.
287 Default :: []
288  
289 - timeout :: Seconds it is given.
290 Default :: 30
291  
292 Returns a hash ref as below.
293  
294 - code :: The nagios style return code, 0 for OK, 1 for WARNING, 2 for
295 CRITICAL, and 3 for UNKNOWN, or -1 if the check could not be loaded.
296 That includes a bad name, base, and a module that is not a check. Bad
297 args, unbalanced quotes included, timing out, dying, and returning
298 something other than 0 to 3 are UNKNOWN.
299  
300 - stdout :: What it printed as output.
301  
302 - stderr :: Its errors and warnings.
303  
304 - combined :: Both, in the order they were printed.
305  
306 my $return = Monitoring::Sneck::Checks->run( check => 'dns', args => '-H www.example.org' );
307 if ( $return->{code} == -1 ) {
308 warn( 'could not load it, ' . $return->{stderr} );
309 }
310  
311 =cut
312  
313 2316 ▶sub run {
Subroutine run: called CC=10 SCAR=23.1
Pod documented
314 2316 my ( $class, %opts ) = @_;
315  
316 2316 my %return = ( code => -1, stdout => '', stderr => '', combined => '' );
317 2316 my $module = eval { $class->load( $opts{check} ) };
318 2316 ▶ if ( !defined($module) ) {
Branch: 1 branch
BranchTrueFalseTotal
unless (defined $module) 25 2291 2316
319 25 return _not_loaded( \%return, $@ );
320 }
321  
322 2291 ▶ my $timeout = $opts{timeout} // $TIMEOUT;
Condition66%2/3
$opts{"timeout"} // $Monitoring::Sneck::Checks::TIMEOUT
l!l&&r!l&&!r
35019410
MC/DC0%0/2
$opts{"timeout"} // $Monitoring::Sneck::Checks::TIMEOUT
$opts{"timeout"} $Monitoring::Sneck::Checks::TIMEOUT
Truth table66%2/3
A // B
A= $opts{"timeout"}B= $Monitoring::Sneck::Checks::TIMEOUT
ABresult
1X1
011
000
323 2291 ▶ if ( $timeout !~ /\A[0-9]*\.?[0-9]+\z/ || $timeout <= 0 ) {
Branch: 1 branch
BranchTrueFalseTotal
if (not $timeout =~ /\A[0-9]*\.?[0-9]+\z/u or $timeout <= 0) 0 2291 2291
Condition33%1/3
not $timeout =~ /\A[0-9]*\.?[0-9]+\z/u or $timeout <= 0
l!l&&r!l&&!r
002291
MC/DC0%0/2
not $timeout =~ /\A[0-9]*\.?[0-9]+\z/u or $timeout <= 0
not $timeout =~ /\A[0-9]*\.?[0-9]+\z/u $timeout <= 0
Truth table33%1/3
not(A) or B
A= not $timeout =~ /\A[0-9]*\.?[0-9]+\z/uB= $timeout <= 0
ABresult
1X1
011
000
324 0 $timeout = $TIMEOUT;
325 }
326  
327 # stray prints and warnings from it or the modules it uses must not reach sneck's own output
328 2291 my ( $stray_stdout, $stray_stderr ) = ( '', '' );
329 2291 my $check;
330 my $code;
331 2291 my $died;
332 {
333 # the handler that dies is only there inside the eval, where the die is caught. A alarm going off
334 # as the eval ends, as when the check died on its own just before it would have, must still have a
335 # handler, or it would end the process, but one that does nothing, so nothing gets out of here
336 2291 ▶ local $SIG{ALRM} = sub { };
Subroutine __ANON__: called CC=1 SCAR=0.0
337 2291 $code = eval {
338 2291 ▶ local $SIG{ALRM} = sub { die( 'timed out after ' . $timeout . " seconds\n" ) };
Subroutine __ANON__: called CC=1 SCAR=0.0
339 2291 local *STDOUT;
340 2291 local *STDERR;
341 2291 open( STDOUT, '>', \$stray_stdout );
342 2291 open( STDERR, '>', \$stray_stderr );
343 2291 Time::HiRes::alarm($timeout);
344 2291 $check = $module->new( args => $opts{args}, timeout => $timeout );
345 2107 my $returned = $check->check;
346 1899 Time::HiRes::alarm(0);
347 1899 $returned;
348 };
349 2186 $died = $@;
350 2186 Time::HiRes::alarm(0);
351 }
352  
353 2186 ▶ if ( !defined($check) ) {
Branch: 1 branch
BranchTrueFalseTotal
unless (defined $check) 184 2002 2186
354 184 $check = bless( { stdout => '', stderr => '', combined => '' }, $module );
355 }
356 2186 ▶ if ( $died ne '' ) {
Branch: 2 branches
BranchTrueFalseTotal
if ($died ne '') { } 287 1899 2186
elsif (not defined $code && $code =~ /\A[0-3]\z/u) { } 12 1887 1899
357 287 $died =~ s/\s+\z//;
358 287 $check->err( $check->label . ' UNKNOWN - ' . $died . "\n" );
359 287 $code = 3;
360 ▶ } elsif ( !defined($code) || $code !~ /\A[0-3]\z/ ) {
Condition100%3/3
defined $code && $code =~ /\A[0-3]\z/u
!ll&&!rl&&r
391887
MC/DC100%2/2
defined $code && $code =~ /\A[0-3]\z/u
defined $code $code =~ /\A[0-3]\z/u
Truth table100%3/3
A && B
A= defined $codeB= $code =~ /\A[0-3]\z/u
ABresult
0X0
100
111
361 12 ▶ $check->err( $check->label . ' UNKNOWN - returned "' . ( $code // 'undef' ) . '", not 0, 1, 2, or 3' . "\n" );
Condition100%2/2
$code // "undef"
l!l
93
MC/DC100%1/1
$code // "undef"
$code
Truth table100%2/2
A
A= $code
Aresult
11
00
362 12 $code = 3;
363 }
364  
365 2186 $return{code} = $code + 0;
366 2186 $return{stdout} = $check->{stdout} . $stray_stdout;
367 2186 $return{stderr} = $check->{stderr} . $stray_stderr;
368 2186 $return{combined} = $check->{combined} . $stray_stdout . $stray_stderr;
369  
370 2186 return \%return;
371 } ## end sub run
372  
373 # Fills in the return hash of run for a check that could not be loaded.
374 #
375 # Args...
376 #
377 # - return :: The hash ref run returns, with code -1.
378 #
379 # - why :: Why it could not be loaded. A newline is added if missing.
380 #
381 # Returns the same hash ref, with why as stderr and combined.
382 #
383 # Example...
384 #
385 # return _not_loaded( \%return, 'base is what checks are built on, not a check' );
386 # # { code => -1, stdout => '', stderr => "base is ...\n", combined => "base is ...\n" }
387 25 ▶sub _not_loaded {
Subroutine _not_loaded: called CC=1 SCAR=0.0
388 25 my ( $return, $why ) = @_;
389  
390 25 $why =~ s/\s+\z//;
391 25 $return->{stderr} = $why . "\n";
392 25 $return->{combined} = $why . "\n";
393  
394 25 return $return;
395 }
396  
397 =head1 AUTHOR
398  
399 Zane C. Bowers-Hadley, C<< <vvelox at vvelox.net> >>
400  
401 =head1 BUGS
402  
403 Please report any bugs or feature requests to
404 L<https://github.com/VVelox/Monitoring-Sneck-Checks/issues>.
405  
406 =head1 LICENSE AND COPYRIGHT
407  
408 This software is Copyright (c) 2026 by Zane C. Bowers-Hadley.
409  
410 This is free software, licensed under:
411  
412 The GNU Lesser General Public License, Version 2.1, February 1999
413  
414 =cut
415  
416 153 1;
« blib/lib/Monitoring/Sneck/Checks/base.pm ↑ Summary blib/lib/Monitoring/Sneck/Checks/conntrack.pm »